Hi guys,
After a lot (LOT) of using XFire I recently realized that there was a problem with multiple threads running at the same time. My application is heavily WebService oriented, and all of my request will involve at LEAST one web service call. Also, most of those request will use the SAME web service at a certain point, thus I need to be able to query a single web service with multiple threads at the same time.
Strangely enough I noticed that I was only receving --TOPS-- two requests at a time when using an XFire client( I'm using XFire-1.1.2, with Spring and aegis) but I could get more throughput with another client (say SoapUI).
Looking around I found out that the HttpClient library has by default a value of DEFAULT_MAX_HOST_CONNECTIONS set to two (2) by default, so I guess this is what is causing troubles.
I am currently looking for a solution because there is NO WAY I can move into production with a max of 2 concurrent threads running.
Still I wanted to see if any of you could help me solve this problem faster, since even I can find out how to change that property on HttpClient, I have no direct access to it.
Please any comments are more than welcome.
Best Regards,
Andrés Bernasconi
- [xfire-user] Urgent! How to change Maximum Number of con... Andres Bernasconi
- [xfire-user] Re: Urgent! How to change Maximum Num... Andres Bernasconi
- Re: [xfire-user] Re: Urgent! How to change Maxi... Tomek Sztelak
- Re: [xfire-user] Re: Urgent! How to change ... Dan Diephouse
