2 ms·
"Everyone knows that asynchronous code performs better when applied to network operations" Ummm that seems a bit far reaching.
by azinman2 11y ago
"Everyone knows that asynchronous code performs better when applied to network operations"
Ummm that seems a bit far reaching.
- 15155 11y agoIt depends on what "network operations" you are trying to do. For high-concurrency purposes, asynchronous programming is far more scalable (see: epoll/kqueue + state machines). For high-throughput, low-concurrency operations, it doesn't matter as much.
- azinman2 11y agoI happen to know of a very major tech company who scale is insane yet their core c++ code is based on highly tuned blocking threads. It's not a given that async is the only way to scale.