4 ms·
When people say I/O-bound, I think they mean disk-bound. Using less CPU really won't help you there. Whether Web servers really are disk-bound is a different i
by wmf 17y ago
When people say I/O-bound, I think they mean disk-bound. Using less CPU really won't help you there.
Whether Web servers really are disk-bound is a different issue.
If you have an asynchronous design for your server...
This is PHP we're talking about.
- barrkel 17y agoAsynchronous design just removes some of the memory pressure and a chunk of CPU loss from context switching. If your thread stacks are short and you have plentiful memory, you're still CPU-bound. But yes, if you have to hit a serialized disk somewhere for each and every request, then you really are screwed. But I don't think that's really often the case, is it? If it were, it would be a miracle that most web pages ever come up in under a second.