http://www.perlmonks.org?node_id=1086910


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)