Post

Skilled Coder
Skilled Coder@theskilledcoder·
When to Use a Queue 👇 If user request waits on slow IO → add queue If traffic comes in bursts → add queue If failure of one component shouldn’t fail request → add queue When NOT to Use a Queue 👇 If task must complete within request lifecycle → don’t queue If order matters strictly and latency is critical → don’t queue If throughput is low and predictable → queue adds overhead
English
0
0
0
5.8K
Ashuwat
Ashuwat@_devott·
@theskilledcoder This is a bit misleading. There are different types of queues that are incredibly fast. For ex: SCSP queues (lock free) have less than 250 ns (some even lower) but only work when you make sure there is no contention (thread affinity, min cache coherency time).
English
0
0
0
83
Paylaş