0

I've a microservice(let's call it 'A') which has a rest controller and it's accepting some REST requests & in turn it's calling another microservice(let's call it 'B'). For each request coming at A, I'm firing one request to B.

Now, for firing requests from A to B, I'm using restTemplate by spring & it is using a PoolingHttpClientConnectionManager beneath. Now, I've set a value for maxTotal already. But I feel I don't have enough requests being fired from A to B compared to the number of input requests at A.

Is there a way to figure out if the number I've set is sufficient or not ?

I tried using Cpool but doesn't seem to be working for me.

Any suggestions/ further clarifications are welcome.

Thanks!

  • It might be good enough if there's no noticeable performance penalty. [Here's an answer on how pool works](https://stackoverflow.com/a/50901789/2834978). – LMC Jul 01 '21 at 22:02

0 Answers0