© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
N. TolaramSoftware Development with Gohttps://doi.org/10.1007/978-1-4842-8731-6_12

12. Epoll Library

Nanik Tolaram1  
(1)
Sydney, NSW, Australia
 

Building an application that processes a huge amount of network processing requires a special way of handling connections in a distributed or cloud environment. Applications running on Linux are able to do this thanks to the scalable I/O event notification mechanism that was introduced in version 2.5.44. In this chapter, you will look at epoll. According to the documentation at https://linux.die.net/man/7/epoll,

The epoll API performs a similar task to poll: monitoring multiple file descriptors to see if I/O is possible ...

Get Software Development with Go: Cloud-Native Programming using Golang with Linux and Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.