apache / apache/apisix-java-plugin-runner

RpcCallHandler is dispatched on the IO thread

Open
#167 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
152
Forks
102
PR merge metrics
No merged PRs in 30d

Description

The `RpcCallHandler` is not assigned a thread pool, which means only a single request can be handled concurrently. This is a show stopper for high throughput systems.

To process the request asynchronously, use the `addAfter` overload that takes an `EventExecutorGroup`:

https://netty.io/4.0/api/io/netty/channel/ChannelPipeline.html#addAfter-io.netty.util.concurrent.EventExecutorGroup-java.lang.String-java.lang.String-io.netty.channel.ChannelHandler-

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.