News for hackers. Stuff that matters.
Re:Reining in the thundering herd: Getting to 80% CPU utiliz... by Spivak on Sunday August 15, 2021 @02:29PM (#28191109)
This doesn’t work so easily with architectures with process pools for workers. So now your app server needs to speak docker (or whatever control plane) to spawn new workers and deal with more complicated IPC. Also the startup time is brutal.

One process per container and multiprocessing is a huge lift most of the time. I’ve done it but it can be a mess because you don’t really have as much a handle on containers than subprocesses because you can only poke them at a distance through the control plane.

Re:Reining in the thundering herd: Getting to 80% CPU utiliz... by zbentley on Tuesday August 17, 2021 @05:24AM (#28207823)
> One process per container and multiprocessing

Do you mean multiprocessing inside the containers? Or are you managing multiprocessing child procs by forking into a container somehow? If the latter, I'd be really interested to learn how to do that; I didn't think it was possible, and it would be super useful for some of what I work on.

Re:Reining in the thundering herd: Getting to 80% CPU utiliz... by PaywallBuster on Wednesday August 18, 2021 @02:01AM (#28218136)
That's what they're doing now.

One app pool with one worker x number of cores

Wrapping it around a container makes no difference