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

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

by Laurent_R (Parson)
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 having an uproarious good time at the Monastery: (10)
As of 2014-09-18 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (120 votes), past polls