Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Proposal how to make modules using fork more portable

by sundialsvc4 (Monsignor)
on Mar 30, 2011 at 18:14 UTC ( #896493=note: print w/ replies, xml ) Need Help??


in reply to Proposal how to make modules using fork more portable

I am always of the opinion that threads and processes should terminate themselves, and that they should, where possible, “stick around, waiting for more work to do,” instead of coming into existence to service one request and then flaming-out.

The kill(9) protocol is definitely one that was “taken from Unix,” and it really does not have a good parallel in the Windows (i.e. DEC VAX 11/780...) world-view.   And yet, I have never recommended “management by the use of overwhelming deadly-force”   ;-)   anywhere.

Building process contexts, and tearing them down, are best thought of as expensive operations.   And, the maximum number of processes that may exist at one time is usually something that you want to govern.


Comment on Re: Proposal how to make modules using fork more portable

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-09-19 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (138 votes), past polls