For a library for high performance socket polling, the strongest matches are boostorg/asio (Boost), reactphp/socket (ReactPHP's Socket component provides async, non-blocking TCP/IP and TLS) and cloudwego/netpoll (Netpoll is an event-driven network framework and non-blocking I/O). twisted/twisted and socketry/async round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Compare the best socket polling interfaces for high-performance networking. Explore ranked alternatives by activity and stars to find the best fit.
Boost.org asio module
Boost.Asio is a cross-platform C++ library that abstracts epoll, kqueue, IOCP, and other polling mechanisms to provide a callback-driven, non-blocking socket I/O interface, exactly matching the event-driven networking and high-concurrency needs of this search.
This library provides a framework for building event-driven, non-blocking network applications in PHP. It enables the development of asynchronous TCP and TLS servers and clients that manage multiple concurrent connections without stalling the main execution thread. By utilizing an event-loop architecture, the library handles network operations and data exchange through asynchronous streams, ensuring that the application remains responsive during high-throughput tasks. The project distinguishes itself through its integration with operating system primitives, such as raw file descriptors and Un
ReactPHP's Socket component provides async, non-blocking TCP/IP and TLS socket connections on top of its event loop, which abstracts epoll/kqueue/IOCP for cross-platform high-concurrency networking with a callback interface – exactly the socket polling library this search targets.
Netpoll is an event-driven network framework and non-blocking I/O library designed to manage concurrent TCP and Unix domain socket connections. It utilizes a non-blocking event loop to monitor file descriptors and trigger callbacks for read and write events, serving as a high-performance socket manager and TCP network poller. The framework optimizes throughput across CPU cores by distributing incoming network connections across multiple pollers. It implements zero-copy networking primitives, using linked buffers and specialized memory management to read and write data while minimizing memory
Netpoll is an event-driven network framework and non-blocking I/O library that provides a high-performance socket polling abstraction with callbacks, scalable multi-poller design, and support for TCP and Unix domain sockets, directly matching the need for an efficient async networking library.
Twisted is an event-driven networking engine for Python that provides a framework for building asynchronous network applications. At its core, it uses a reactor-based event loop to drive all input and output, dispatching callbacks in a single thread without blocking. The library implements a deferred promise chain for composing asynchronous logic, along with a protocol and factory pattern that separates connection state management from protocol handling, enabling reusable handlers for different network protocols. The framework supports multiple event loops across platforms, including select,
Twisted is the quintessential event-driven networking engine for Python, providing a reactor-based abstraction over platform-specific polling mechanisms (epoll/kqueue/IOCP) with callback dispatch, non-blocking socket I/O, and built-in timer/idle handling, making it an exact fit for building scalable, asynchronous network applications.
This project is a framework for building concurrent, event-driven applications in Ruby. It provides a core engine that orchestrates non-blocking input and output operations, allowing developers to handle high-volume network traffic and system tasks without the complexity of traditional callback-based programming. By leveraging lightweight fibers, the library enables cooperative multitasking that maintains responsiveness during heavy data processing workloads. The framework distinguishes itself through a structured concurrency model that organizes tasks into parent-child hierarchies. This appr
This Ruby library implements a reactor pattern for non-blocking socket I/O with event callbacks, making it a solid choice for event-driven networking—exactly the kind of tool this search targets.
This project is a C++ TCP server framework and educational socket programming guide. It provides a high-performance network library focused on event-driven architecture, implementing a reactor pattern to handle thousands of simultaneous client connections. The framework is distinguished by its multi-threaded event loop, which utilizes a main-sub reactor coordination model to distribute network events across a worker thread pool. It includes an abstraction layer for non-blocking socket I/O and event multiplexing via the epoll system call, decoupling network transport from application business
30daymakecppserver is a C++ event-driven TCP server framework built on the reactor pattern with epoll-based non-blocking I/O and a callback interface, which fits the search for an async networking library, though it is Linux-only and does not abstract across kqueue or IOCP as requested.
Muduo is a C++11 event-driven network library and framework designed for building high-concurrency Linux servers. It provides a toolkit for implementing scalable network services and socket communication using non-blocking I/O and asynchronous event processing. The framework implements a multi-threaded TCP server architecture that distributes connection handling across multiple CPU threads to maximize server throughput. This is achieved through a one-loop-per-thread model and a reactor pattern implementation, which dispatch network events from a central demultiplexer to registered handler fun
Muduo is a C++11 event-driven network library that uses a reactor pattern with non-blocking I/O and callback handlers, providing exactly the socket polling abstraction for high-concurrency servers, though it is Linux-only rather than fully cross-platform.
🔌 Non-blocking TCP socket layer, with event-driven server and client.
Vapor Sockets is a non-blocking TCP socket layer with an event-driven server and client, making it a direct fit for this search for an event-driven I/O socket polling library.