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

feat[consumer]: support custom thread pool, providing the possibility for different consumers to reuse thread pools #8994

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

AuroraTwinkle
Copy link

Which Issue(s) This PR Fixes

Fixes #issue_id

In our scenario, there is a centralized message proxy service,this service will create a lot of consumer groups to consume many topics and cache messages locally.Then the business will pull messages from the cache of the proxy service.
In some scenarios, tens of thousands of consumers may be started in one instance, and the traffic of most consumers is very low or even non-existent. These consumers each have their own independent thread pool, causing the JVM to create tens of thousands of threads, seriously affecting performance.
Therefore, I have an idea. Can we allow different consumers to reuse the thread pool for this scenario, reduce system resource consumption and improve performance?

Brief Description

How Did You Test This Change?

… for different consumers to reuse thread pools
@AuroraTwinkle AuroraTwinkle force-pushed the feat/supportCommonConsumeExecutor branch from 48a755a to 9b6f373 Compare November 28, 2024 06:09
@AuroraTwinkle AuroraTwinkle force-pushed the feat/supportCommonConsumeExecutor branch from b5a3d9b to 7b2128e Compare November 28, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant