apache / apache/dubbo

[Discussion] There are so much threadpool, can we merge some threadpool into one threadpool ?

Open
#3,616 2 comments 0 reactions 0 assignees View on GitHub
type/discussion
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

There are so much threadpool that manage only one thread , and this thread is idle. The threadpool as follow:
* org.apache.dubbo.metadata.support.AbstractMetadataReport#reportCacheExecutor for asyn write metadata.
* The HashedWheelTimer is used in Registry retry task.
* Configcenter listen the config changed, and the callback will excuted by a dependency Executor.
* ....

There are so much situation that we will use threadpool. I think can we merge this threadpool to make the threadpool is used by much more situation.

Also we should move some timer task to HashedWheelTimer?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.