Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Design advice: Classic boss/worker program memory consumption (context switching is cheap)

by Laurent_R (Vicar)
on May 21, 2014 at 06:30 UTC ( #1086910=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Design advice: Classic boss/worker program memory consumption (context switching is cheap)
in thread Design advice: Classic boss/worker program memory consumption

Having to swap pages out and back in surely can make things run much, much longer. 56 processes talking to databases isn't really going to add enough overhead from context switching to cause the total run-time to be "much longer", IME.

Well I guess it depends on our definitions of what "much longer" mean. In our case, it can be up to twice longer, say four hours instead of 2. For us it is sometimes the difference between usable and not usable program.


Comment on Re^4: Design advice: Classic boss/worker program memory consumption (context switching is cheap)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-08-23 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls