Hacker News new | ask | show | jobs
by bob1029 1258 days ago
Related: https://lmax-exchange.github.io/disruptor/

I've been using the .NET port of Disruptor to good success. Once you understand the underlying pattern, you can apply it everywhere without pulling in a dependency.

You would be astonished at what will actually fit on 1 x86 thread in 2023. Instruction-level parallelism can give you unbelievable throughput, assuming your batches are reasonably-sized and everything fits neatly into the various caches.

Other related links:

https://martinfowler.com/articles/lmax.html

https://www.youtube.com/watch?v=qDhTjE0XmkE [Evolution of Financial Exchange Architectures]