You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "brianmolinaspring (via GitHub)" <gi...@apache.org> on 2024/01/19 20:53:05 UTC

[I] high times (20s) in 150 concurrent calls from RestRoute [camel-quarkus]

brianmolinaspring opened a new issue, #5658:
URL: https://github.com/apache/camel-quarkus/issues/5658

   ### Bug description
   
   I'm using apache camel to call from my main RestRoute class to .process(new GetBoltonUnitProcessorReq()) inside this to run a loop to make multiple calls to a rest service with producerTemplate (It can be 5 iterations which is equivalent to 5 calls to the rest service) when I put it under stress with 150 requests it takes more than 20 seconds, but I took out everything that the GetBoltonUnitProcessorReq class does and put it in the main RestRoute class within a .process(exchange -> {}) everything exactly the same, but when I stressed with 150 requests the times improved drastically, meaning that now it takes less than 1 second to Answer: Do you know why this scenario occurs? Is it because of the issue of the New instance that cannot handle the concurrency?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] high times (20s) in 150 concurrent calls from RestRoute [camel-quarkus]

Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #5658:
URL: https://github.com/apache/camel-quarkus/issues/5658#issuecomment-1903891913

   > Is it because of the issue of the New instance that cannot handle the concurrency?
   
   That would be very strange.
   
   Have you tried to profile your application to see where the real bottleneck is?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org