talira

Compare

glommioTokiosmol
What it isA thread-per-core async runtime for Rust and Linux, built on io_uringA runtime for writing reliable asynchronous applications with RustA small and fast async runtime for Rust
KindOpen sourceOpen sourceOpen source
Trust0.370.270.35
Stars———
Last commit———
LicenceApache-2.0 OR MITMITApache-2.0 OR MIT
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostableYesYesYes
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyDatadog
public company (NASDAQ:DDOG)
Tokiosmol-rs
Features
  • cooperative thread-per-core executors
  • no helper threads: I/O goes through io_uring
  • async file and network I/O
  • built on Rust async/await, like other Rust async runtimes
  • multithreaded work-stealing scheduler and a current-thread runtime
  • reactor on epoll, kqueue and IOCP
  • async TCP, UDP and Unix domain sockets
  • timers: sleep, timeout, interval
  • channels: oneshot, mpsc, watch, broadcast; async Mutex, RwLock, Semaphore, Barrier
  • async file system, process and signal APIs
  • spawn_blocking thread pool for blocking and CPU-bound work
  • #[tokio::main] and #[tokio::test] macros
  • All 13 features
  • re-exports async-channel, async-executor, async-fs, async-io, async-lock, async-net, async-process, async-task, blocking, futures-lite and polling
  • I/O on epoll, kqueue, event ports and wepoll
  • timers through async-io
  • blocking thread pool for blocking I/O
  • works with Tokio-based libraries through the async-compat adapter
  • smol-macros for an async main and a multi-threaded executor without proc macros
  • MSRV policy follows the Rust version in Debian stable (currently 1.85)
Limitations
  • Doesn't run on macOS or Windows: glommio is Linux only and needs kernel 5.8 or newer for io_uring
  • Limited WebAssembly support: only the sync, macros, io-util, rt and time features build for Wasm