Replies: 7 comments 16 replies
-
/cc @alesj (grpc), @cescoffier (grpc) |
Beta Was this translation helpful? Give feedback.
-
@vietj it is. ... which might not be completely the right way? |
Beta Was this translation helpful? Give feedback.
-
@ctampak since gRPC is using HTTP/2, did you make sure that the client used for testing opens more than one HTTP/2 connection ? |
Beta Was this translation helpful? Give feedback.
-
@ctampak what about if you leave out this |
Beta Was this translation helpful? Give feedback.
-
So you're saying that the old one is performing 3x better? |
Beta Was this translation helpful? Give feedback.
-
I'll try / test now if new Vert.x gRPC behaves as expected -- as told by Julien wrt new connections usage, etc. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am developing a service using Quarkus 2.16.5.Final and while admitedly each request is extremely fast, I noticed the service does not scale in all cores.
I am using ghz.sh to benchmark the service and JProfiler to profile. What I noticed in the profiler thread history view is that for each bechmark run ALL requests (we are talking 100k requests with a concurency of 10 using 2 cores for the benchmark tool) are executed in the same vertx-eventloop-thread. Interestingly each run picks a different thread, but all requests are executed in that thread.
This is what my config looks like:
quarkus.grpc.server.use-separate-server=false quarkus.grpc.server.xds.enabled=false quarkus.vertx.event-loops-pool-size=20 quarkus.grpc.server.instances=20
I set the event loops pool size to ensure I am not accidentaly exceeding it from grpc config. I tested all different combinations of seperate server and xds and saw no difference.
Am I missing something or the grpc.server.instances is ignored?
Beta Was this translation helpful? Give feedback.
All reactions