Mongrel cluster and threads

Hi guys, I'm running 6 instances of mongrel in a production environment and I have this preformance problem. I'm calling a web service that sometimes take up to 11 seconds to give me a response. In the meantime mongrel can't serve another request...create a new thread for each call to the web server could be a good solution in your opinion? The bottleneck seems to be the average queue time on mongrel....

Thanks! Roberto

Maybe you could call the webservice as a background process so you don't have to care about how long does it take to run: http://backgroundrb.rubyforge.org/

Regards

Roberto Druetto escribió:

Hi guys, I'm running 6 instances of mongrel in a production environment and I have this preformance problem. I'm calling a web service that sometimes take up to 11 seconds to give me a response. In the meantime mongrel can't serve another request...create a new thread for each call to the web server could be a good solution in your opinion? The bottleneck seems to be the average queue time on mongrel....

Thanks! Roberto >   

/** * dagi3d v4 - http://dagi3d.net */