News for hackers. Stuff that matters.
Re:Comparison of Rust async and Linux thread context switch ... by volta83 on Friday February 12, 2021 @03:19AM (#26111666)
If your request are huge. For example, imagine you need to read many huge files into memory.

Whether you read one file after the other sequentially, or try to read all of them concurrently, won't make a difference, because your Disk/RAM bandwidth is going to be bottlenecked anyways.

Trying to do this concurrently requires more work that won't pay off, so it might actually be slower.

There are no comments on this comment yet.