Rewrite scheduler to avoid polling
See original GitHub issueCurrently, the scheduler loops through all sockets and timers every 20 milliseconds to check if they’re ready. This is probably not scalable. Even if the performance impact is not as bad as it seems, it just feels bad to waste resources like that. Maybe we can use select
?
Issue Analytics
- State:
- Created 3 years ago
- Comments:24 (24 by maintainers)
Top Results From Across the Web
Creating an Event Scheduler with Polling for changes. - Medium
polling_threshold : time in seconds to stop polling before the event. Here we have initialized the Scheduler, let's see how polling is implemented....
Read more >java - Long polling in minute or single scheduler for a task
I have a requirement in which, I will plan multiple tasks for certain interval. And for each task a notification has to be...
Read more >Polling API - Metamug
Avoid polling when callbacks are available Polling in few cases can used when callbacks dont respond in time or server requests fail. A...
Read more >RxCookbook/Polling.md at master · LeeCampbell ... - GitHub
Only start re-polling once the previous request has completed. This is important if you don't want to have over lapping requests. Log errors,...
Read more >Niagara Drivers Poll Scheduling and Tuning Policy Settings
The Niagara drivers are cleverly engineered to keep processing and comms loads as low as possible by only writing data when absolutely necessary,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good job Kinnay :shipit:🎉
Ok I moved it to master. The old (synchronous) implementation is now in the branch ‘old’.