4 ms·
> Single threaded code is capable of utilising just 0.2% of that machine! You can still server 512 different clients at once and still utilize 100% of the CPU.
by ilyt 4y ago
> Single threaded code is capable of utilising just 0.2% of that machine!
You can still server 512 different clients at once and still utilize 100% of the CPU.
The parallelism is only a requirement if you want to compute one thing faster, not a bunch of things at once. Very much the desirable property for databases (although even that can be worked around with sharding if you're stubborn enough) but many developers code could be painfully serial yet still be perfectly fine to scale.