4 releases (2 breaking)

0.3.0 Jul 12, 2024
0.2.0 May 10, 2024
0.1.1 Apr 18, 2024
0.1.0 Feb 27, 2024

#11 in #pingora

Download history 775/week @ 2024-04-04 512/week @ 2024-04-11 676/week @ 2024-04-18 764/week @ 2024-04-25 545/week @ 2024-05-02 711/week @ 2024-05-09 604/week @ 2024-05-16 539/week @ 2024-05-23 428/week @ 2024-05-30 660/week @ 2024-06-06 604/week @ 2024-06-13 875/week @ 2024-06-20 1100/week @ 2024-06-27 1134/week @ 2024-07-04 1033/week @ 2024-07-11 596/week @ 2024-07-18

4,019 downloads per month
Used in 17 crates (3 directly)

Apache-2.0

12KB
177 lines

Pingora 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–3.5MB
~53K SLoC