Build reliable network applications without compromising speed, with Tokio! Tokio is an event-driven, non-blocking I/O platform and asynchronous runtime for the Rust programming language that allows you to write reliable and slim network applications. At a high level, Tokio provides a number of components needed for building asynchronous applications. These include a multithreaded, work-stealing based task scheduler; a reactor that's supported by the operating system's event queue; and asynchronous TCP and UDP sockets.
Tokio is reliable in that its APIs are memory-safe, thread-safe, and misuse-resistant. Thanks to its task scheduler, it is also incredibly fast. It is capable of processing hundreds of thousands of requests per second with little to no overhead.
Features
- Multi-threaded, work-stealing scheduler
- Reactor backed by the OS's event queue
- Asynchronous TCP and UDP sockets
- Safe APIs