News for hackers. Stuff that matters.
Re:Making an RPG in Clojure (2010) by PaulHoule on Monday May 30, 2016 @10:31AM (#11801500)
Actually lmax disruptor is great for all sorts of things, because 10 million messages per second allows fairly fine grained parallelism for data processing and also interactive apps like that app where you have back pressure support that keeps the app from being unresponsive. Real time work means not making commitments you can't keep so if it is clear the system cannot handle a request, drop the message early.

I mainly use the reactor framework, and I have a choice of lmax and a bunch of other queues and also the choice to schedule on the same thread with low overhead.

Re:Making an RPG in Clojure (2010) by nvarsj on Monday May 30, 2016 @02:01PM (#11802357)
> 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.