On Friday, 27 March 2015 at 15:28:31 UTC, Ola Fosheim Grøstad wrote:
No... E.g.:

On the same thread:
1. fiber A receives request and queries DB (async)
2. fiber B computes for 1 second
3. fiber A sends response.

Latency: 1 second even if all the other threads are free.

This is a problem of having blocking 1 second computation in same fiber pool as request handlers -> broken application design. Hiding that issue by moving fibers between threads is just making things worse.

Reply via email to