Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Communicate with preforked child from Net::Server::PreFork. Is it possible?

by unlinker (Monk)
on Jul 16, 2012 at 23:00 UTC ( [id://982098]=perlquestion: print w/replies, xml ) Need Help??

unlinker has asked for the wisdom of the Perl Monks concerning the following question:

I am building an application where different clients connect to a server, register themselves and wait for messages from other connected clients. I have seen and understood how to do this with Net::Server::Multiplex (in the example section). However I wanted to avoid a Multiplexed server to avoid blocking in a high traffic situation.

Is it possible for an instance of Net::Server::PreFork to communicate with the children it spawns. I know that communication can be initiated in the reverse direction (forked-child to server) by setting child_communication. I wanted to know if the server could send the child a message without it being initiated by the client.

Thank you.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found