Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by trwww (Priest)
on May 30, 2012 at 20:38 UTC ( [id://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).

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://973368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found