apache / apache/apisix-java-plugin-runner

RpcCallHandler is dispatched on the IO thread

Aperta
#167 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
152
Fork
102
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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-

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.