Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Implementing a forking SOAP::Lite server

by Tardis (Pilgrim)
on Nov 02, 2006 at 03:11 UTC ( [id://581819]=note: print w/replies, xml ) Need Help??


in reply to Implementing a forking SOAP::Lite server

I noticed (while making my cpan:// links work :-) that there is a 'ForkOnAccept' module in the examples directory of the module, but I gave it a quick try and couldn't get it to work.
OK I got it to work.

It's obviously pretty raw, quite a few warnings while it is in use.

I'd still prefer Net::Server or similar for more control (ie to make sure the number of children is kept under control, or even better, pre-forking.

Any ideas very welcome :-)

  • Comment on Re: Implementing a forking SOAP::Lite server

Replies are listed 'Best First'.
Re^2: Implementing a forking SOAP::Lite server
by mda2 (Hermit) on Nov 02, 2006 at 12:50 UTC
    I have many systems with SOAP::Lite and prefer to use a standalone server (SOAP::Transport::(HTTP|TCP) because Fork on accept is a very bad option when you have many calls. Iīm prefer to use an single process with Listen is 10 or more, when one process is more quickly of ForkOnAccept!

    I think PreFork is a good solution, but only now (after some years) my database are upgrading to transaction mode!

    Pay attemption on timeouts on client side and a correct rollback actions (traped with SIGPIPE), or make an good "protocol" on client/server (Identify requests) if you need it.

    I donīt check Net::Server at now, but I think itīs a great solution, because Iīm implementing Config, Log Facilities and requestor control by hand, and itīs very hard!

      I don't like the idea of installing a web server to solve a problem that might be solved with perl itself :-)
    I have an Config_Server and a Dist_Server with some Targets_Agents. At Config_Server I think are good point to use Apache&mod_perl, but never simultaneous without transaction database, for others perl solve all on *nix servers and MS plataform ;)

    --
    Marco Antonio
    Rio-PM

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found