Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: SOAP::LITE client timeout makes ALL my Catalyst app to wait

by trwww (Priest)
on May 30, 2012 at 20:38 UTC ( #973368=note: print w/ replies, xml ) Need Help??


in reply to SOAP::LITE client timeout makes ALL my Catalyst app to wait

Without more information, my guess is you're using the script/myapp_server.pl and you're running it in single threaded mode.

Use the -fork option to script/myapp_server.pl so that the server can serve more than one request at a time, or more preferentially use a forking web server like mod_perl or something similar.

and/or

Create a job queue for the functionality that happens in check_result and then somehow poll the server for job completion (perhaps using AJAX).


Comment on Re: SOAP::LITE client timeout makes ALL my Catalyst app to wait
Select or Download Code
Re^2: SOAP::LITE client timeout makes ALL my Catalyst app to wait
by miguelele (Beadle) on May 30, 2012 at 21:38 UTC

    Thank you. I am using Nginx / Perl-fcgi, listening trough a port. (Mostly configured with default option...).

    But the SOAP requests go trough another port, so I do not understand how it can hang all i/o and processes.

    Migue.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-08-23 20:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls