released Version 1.13.0 platform Tokio designed to create high-performance applications based on event-oriented architecture (EVENT-Driven) supporting multithreading and processing network requests in asynchronous mode. The project is written in the language of RUST and distributed under the MIT license. In the new version, the documentation is noted, a number of fixes in the network subsystem and synchronization system.
Tokio includes the following components:
- multi-threaded Planner I / O, whose work comes down to providing resources only to those flows (In the context of parallel execution), which meet specific conditions, which avoids the status of a race, which are often found in programs written in languages without safe memory management and resources;
- backend for compatibility with multiplexing mechanisms provided in various operating systems, such as Epoll, KQueue and IOCP;
- Types and binding with the implementation of asynchronous TCP and UDP sockets.
- Tools for performing tasks in asynchronous mode, including Primitives of synchronization, channels and Taimauts .
- API to perform asynchronous I / O, covering TCP / UDP sockets , File operations , control means signals and processes .
developers notes Such features of their product, as high performance, comparable at the speed of work on the “bare gland”, Excellent scalability and reliability provided by the type of type and model of the parallelism of the language RUST.
Recository has more than 500 participants. The dependence of Tokio uses such products as:
- hyper : fast and secure implementation http / 1 and http / 2 for rust;
- warp : lightweight framework for a web server, oriented on high speed;
- tracing : framework for trace at the level of applications and diagnostics, taking into account asynchrony;
- RDBC : Library for connecting MySQL databases, Postgres and SQLite to products in programming language RUST;
- bytes : Utilities for working with bytes, including efficient byte buffers.