|
|
|
|
|
by bysin
3333 days ago
|
|
I'm glad you said this. There's an async cargo cult going on, where every service must be written in "performant" async code, without knowing the actual resource and load requirements of an application. From the last benchmark I ran [1] async IO was insignificantly faster than thread-per-connection blocking IO in terms of latency, and marginally faster only after we hit a large number of clients. Async IO doesn't necessarily make your code faster, it just makes it difficult to read. [1] http://byteworm.com/evidence-based-research/2017/03/04/compa... |
|