Skip to content
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

Considering improving the Biz Scheduler which is implementated by ThreadPoolExecutor #11

Open
alalag1 opened this issue Dec 14, 2020 · 0 comments
Labels
feature New feature or request

Comments

@alalag1
Copy link
Member

alalag1 commented Dec 14, 2020

Now, we are using the java.util.concurrent.ThreadPoolExecutor as the Biz Scheduler, and this would block the IO EventLoop in the concurrency environment at BlockingQueue#putLock, usually it will take tens of milliseconds, and the biz threads are hungry for no request task to execute.

image
image

@alalag1 alalag1 changed the title Considering replacing the Biz Scheduler which is implementated by ThreadPoolExecutor Considering improving the Biz Scheduler which is implementated by ThreadPoolExecutor Dec 14, 2020
@alalag1 alalag1 added the feature New feature or request label Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant