4 ms·
tl;dr If you want to parallelize[1] network I/O, use async. Otherwise, don't. [1] Technically: not parallelize, but overlap.
by blattimwind 9y ago
tl;dr
If you want to parallelize[1] network I/O, use async. Otherwise, don't.
[1] Technically: not parallelize, but overlap.
- deleted 9y ago[deleted]
- nullp0tr 9y agoConcurrent is the technical term:)
- blattimwind 9y agoOverlapping is a technical term, too, just not from the Unix world.
- icegreentea2 9y agoWell, it's use async if you need the ~40% decrease in ram usage for your concurrent I/O access.
- xapata 9y agoVery few of my networking projects risk running out of RAM. I'm usually fine with spawning a new thread per connection.