#bongonet #async #non-blocking

bongonet-runtime

Multithreaded Tokio runtime with the option of disabling work stealing

1 unstable release

0.4.0 Feb 9, 2025

#1460 in Asynchronous

Download history 49/week @ 2025-02-03 50/week @ 2025-02-10

99 downloads per month

Apache-2.0

12KB
177 lines

Bongonet tokio runtime.

Tokio runtime comes in two flavors: a single-threaded runtime and a multi-threaded one which provides work stealing. Benchmark shows that, compared to the single-threaded runtime, the multi-threaded one has some overhead due to its more sophisticated work steal scheduling.

This crate provides a third flavor: a multi-threaded runtime without work stealing. This flavor is as efficient as the single-threaded runtime while allows the async program to use multiple cores.

Dependencies

~2.3–8MB
~54K SLoC