3 ms·
> lmax disruptor is great for all sorts of things No, abstractblockingqueue and other general purpose queue implementations are great for all sorts of things.
by nvarsj 10y ago
> lmax disruptor is great for all sorts of things
No, abstractblockingqueue and other general purpose queue implementations are great for all sorts of things. Disruptor has a pretty specific use case - high rate of constant data flow through a system, where it's okay to spin loop threads to consume data. It also requires pinning threads to CPUs to get the benefit gain of cache locality on the ring buffers. It's pretty darned specialised for general use.