4 ms·
Nope. Direct quote: > “..and when you need to utilize multiple CPU cores, you just spawn multiple processes that listen on the same socket. This is a much bett
by chrismsimpson 3y ago
Nope. Direct quote:
> “..and when you need to utilize multiple CPU cores, you just spawn multiple processes that listen on the same socket. This is a much better way of structuring servers..”
- IshKebab 3y agoThat's not a contradiction. He's saying that later when you need multithreading you can add it. You generally don't start with it. Of course for some projects you know up front you'll need multithreading but the point is that that isn't the default position.
- chrismsimpson 3y agoYes it is. Spinning up another process is not multithreading, like, literally. It’s multiprocess. I never cease to be amazed with the complete lack of basic CS literacy from JS script kiddies.
- IshKebab 3y agoI was using "multithreading" as a shorthand for "making use of multiple CPU hardware threads".