Skip to content

How does SOFABolt ensure machine performance issues? #322

Open
@dajitui

Description

@dajitui

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions