I was reading about thread schedulers over the weekend, and was wondering how you could prevent contention between event loop schedulers (e.g. Tokio) and the OS thread scheduler.
The answer is to spawn 1 thread per core, and ask the OS to keep it there.
Contention solved
.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.