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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 */ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---