Hello,

 

I have a servlet that acts as a http proxy. It manages 20 webservices, and
each webservice has its own Multithreaded pool. The total number of
concurrent connections is not higher than 2.000.

 

I’m thinking to use just one pool for all 20 webservices. 

 

I’ve not made any tests yet, but what would be the advantages and
disadvantages of using just one pool?

 

I suppose that I’ll earn resources (thread pools, etc) but this 2000
requests, that now are shared among 20 pools,  they’ll be served by just one
pool. Can I find any lock contentions or something that makes this change
not recommendable? Anyone using a pool with 2000 (or more) concurrent
requests? Or maybe I should try asyncHttpClient with this level of requests.

 

Thanks,

Joan.

Reply via email to