Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
perf: fairer ops scheduling #3128
With eager poll introduced in #3046 we got nice req/sec increase but at the same time latency suffered heavily.
As suggested by @piscisaureus should bail out of eager polling once every N polls to be more fair for other futures, so this PR is PoC for this mechanism.
Basically every 50 eager polls we don't eager pol and let