Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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
Replies are listed 'Best First'.
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 having an uproarious good time at the Monastery: (11)
As of 2015-07-29 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (261 votes), past polls