New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pluggable event loop task scheduler #8164
Comments
Do you have any proposal? I want to know how to realize it |
there is no proposal |
Basic idea is to allow a user choose between priority queue and hashed wheel timer for scheduled tasks. The latter would be desirable for very busy event loop with lots of timeout-like tasks. That being said, it doesn't really need to be an abstraction layer although that'd be nice to have. |
Can I handle this issue? I'll make PR based on above proposal~! 🙇 |
@injae-kim Cool, I will review it:) I need this too. |
Cause this is my first PR on netty, I made simple DRAFT PR to check my direction is correct! PTAL 🙇 |
Netty currently only provides a priority queue based task scheduler. We could add a small abstraction layer between EventExecutor and a task scheduler implementation so that a user can choose his or her favorite scheduler algorithm, most notably, hashed wheel timer, which is more scalable.
(Inspired by an e-mail question by Mac Atre.)
The text was updated successfully, but these errors were encountered: