News for hackers. Stuff that matters.
Re:Cloud Computing Without Containers by hamandcheese on Saturday November 10, 2018 @02:16AM (#18420322)
I think you are missing the point. Regardless of the number of processes you can run, the overhead of starting them and context switching between them is dramatically higher than the equivalent operations within a single V8 process.
Re:Cloud Computing Without Containers by cyphar on Saturday November 10, 2018 @05:18AM (#18420721)
The part of the comment I was responding to was talking about it being impractical to have that many containers running, which isn't true. Later I mentioned that there are probably other benefits (having everything in one process does remove the need for TLB flushes and so on), but that isn't the only thing they said. They didn't say it's drastically faster, they said it's "unrealistic" which simply isn't true.

Also things like page cache sharing would make a huge difference to the real memory cost of having many processes. When you run 10k programs you don't have 10k copies of glibc.