Skip to content

I/O reactor v0.1

Compare
Choose a tag to compare
@dr-orlovsky dr-orlovsky released this 23 Jan 21:57
· 69 commits to master since this release

Concurrent I/O without rust async problems

This is the first release of a library implementing reactor pattern, which allows concurrent I/O and new types of simple and yet powerful microservice-based applications in rust, without polluting all APIs with asyncs.

This initial release provides:

  • fully-documented reactor API;
  • support for both listener-type resources (able to spawn more resources, like TcpListeners) and transport-style resources;
  • timer management;
  • multi-threaded controller for the reactor;
  • works with any resource which can be represented as a file descriptor (files, POSIX sockets, pipes, TCP, UDP and other network connections, database handlers, devices and periphery);
  • easy integration with multi-layer network protocols (like SOCKS5 proxy combined with end-to-end encryption);
  • popol poll engine by @cloudhead.

The creation of the library was inspired by @cloudhead work on nakamoto reactor.

API reference documentation for the library can be accessed at https://docs.rs/io-reactor/.