|Think about Loose Coupling|
SOAP::LITE client timeout makes ALL my Catalyst app to waitby miguelele (Beadle)
|on May 30, 2012 at 19:43 UTC||Need Help??|
miguelele has asked for the
wisdom of the Perl Monks concerning the following question:
Hi!, in my Catalyst app, I have a very important connection to a remote server using SOAP with WSDL.
Everything works fine, but If the remote server goes down, ALL my app waits until the timeout expires. EVERYTHING, ALL the controllers and processes!!
If I set a 15 secs timeout, everything wait for 15 secs!! Any page from any user or connection can't be displayed during the timeout wait.
We have seen it just before going into production, when we have set the timeout to a higher value to prevent overloads in the remote server
I am very, very, very worried
Can you point me to somewhere to help with this?