Local Async Executors and Why They Should be the Default

https://maciej.codes/2022-06-09-local-async.html

4 points · 1 comments · view on lemmy.world

1 Comments

teolan@lemmy.world · 5 pts · 3y

One thing that this article misses is that multi-threaded executors can very well optimize for latency.

If for some reason a task is a bit slow to run (say parsing a large JSON blob coming from a request), this means that the other request handlers can still run and don't need to add the latency of this large request.