|
@tokio_rs | |||||
|
One foot gun when using Tokio is not yielding. This prevents other tasks from running and can result in large tail latencies. We think we can do better. @jonhoo is proposing a strategy to coordinate task yielding github.com/tokio-rs/tokio… #rustlang
|
||||||
|
||||||
|
William Saar
@saarw
|
23. sij |
|
Great! Have had to insert minimal timeout returns when polling, this would basically mean replacing the timeouts with preempt calls until the preemption gets integrated with Tokio's futures?
|
||
|
|
||
|
Carl DB
@carllerche
|
23. sij |
|
In theory! We are still in the early exploration stages, but would love to hear use cases. Please comment in the PR with the case you had.
|
||
|
|
||