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

How does SOFABolt ensure machine performance issues? #322

Open
dajitui opened this issue Apr 14, 2023 · 1 comment
Open

How does SOFABolt ensure machine performance issues? #322

dajitui opened this issue Apr 14, 2023 · 1 comment

Comments

@dajitui
Copy link

dajitui commented Apr 14, 2023

Your question

com.alipay.remoting.rpc.protocol.RpcRequestProcessor#process

As shown in the code on the left, "executor.execute(new ProcessTask(ctx, cmd))" inserts the result into the response future through the thread pool. In high concurrency scenarios, the thread pool may be overloaded, resulting in rejected requests. How to solve this problem? By adding more machine nodes or customizing thread pool monitoring?

Your scenes

Under high concurrency requests

Your advice

As a framework, custom thread pool has been implemented, which provides great convenience for developers, but also poses some hidden dangers. The thread pool also has corresponding bottlenecks. Are there any corresponding practical solutions to monitor the thread pool situation or properly configure the deployment of multiple nodes in certain ranges?

Environment

  • SOFABolt version:1.6.6
@chuailiwu
Copy link
Collaborator

As you described, this thread pool can be customized and its metrics can be reported to your monitoring system.
Additionally, thread pool parameter configuration is strongly related to the business scenario and needs to be adjusted through stress testing analysis. I do not think there is a silver bullet solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants