TGViewer
Блог* Блог* @dereference_pointer_there · 1.98K subscribers
Post #11590 454
#prog #rust #rustasync #article

Tokio Gives Progress, Not Ordering: Scheduling 1M Tasks

TL;DR:

Spawned early doesn't mean first-polled early. First-polled early doesn't mean completed early.

If there is an application-level unit of fairness you expect Tokio to honor, like the event in our case, the runtime doesn't know it exists. The bounds should be added by the application.
  • 👍 3
  • 🤔 2
More from @dereference_pointer_there
  1. Oct 14, 2026r/rust (потому что написано вроде на Tauri)
  2. Oct 14, 2026advanced <...> technology such as a shopping cart
  3. Oct 14, 2026Source
  4. Oct 14, 2026#game Slay the Spire 2
  5. Oct 13, 2026#prog #rust #suckassstory github.com/rust-lang/rust/issues/164250 use std::sync::Mutex; st…
  6. Oct 12, 2026Post #11586
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →