4 ms·
How does loom address backpressure?
by isbvhodnvemrwvn 4y ago
How does loom address backpressure?
- adgjlsfhk1 4y agoBy scheduling virtual threads in an intelligent order.
- pron 4y agoThe same way synchronous code always has: by blocking. Blocking queues with or without buffers offer sophisticated forms of backpressure (with different levels of "slack"). Backpressure in synchronous code is a problem that was solved long, long ago. It only required special handling in asynchronous code.