Hacker News new | ask | show | jobs
by circlespainter 4043 days ago
If you want regular code and not async, then yes, it matters: if you have a lot of OS thread-based actors performing blocking network "send"s as part of their regular control flow, each of them blocks an OS thread and you'll run out of resources soon. If those actors are backed by lightweight threads instead, which are very frugal, basically you are only limited by the network stack.
1 comments

My thought is that always the network is the bigger bottleneck. But I guess it depends on the data / OS etc.