4 ms·
So much hype for a lock-free MPMC ring buffer. If you're familiar with the concurrency literature you'll see that nothing here was novel even at the time.
by senderista 2y ago
So much hype for a lock-free MPMC ring buffer. If you're familiar with the concurrency literature you'll see that nothing here was novel even at the time.
- xxs 2y agojava had a proper memory model and the busy wait was a novelty. iirc, it was used mostly in a single thread processing (i.e. consumer) for the main business logic like matching forex order. Realistically aside the disruptor LMAX had an interesting way for fail over by replaying all the input to reach the state.
- usefulcat 2y agoI thought disruptor was SPMC? Apart from that I don’t really disagree, I think it’s just an area that a lot of people didn’t/don’t know much about.
- yxhuvud 2y agoIt comes in many variants with different properties.
- anonymousDan 2y agoCan you point to some relevant literature?
- gpderetta 2y agoI think that -MC is misleading. It would imply anycast (like what you would use for a work distribution queue), but the disruptor is multicast, I.e. all receivers potentially receive all the data. It is also lossy, like UDP.