The simplest and actual example code of LMAX Disruptor

Dejwi picture Dejwi · Feb 6, 2012 · Viewed 25.2k times · Source

I wish I can get the simplest possible example code, which will show how to use LMAX disruptor(http://code.google.com/p/disruptor/).

Unfortunately every piece of code is out of date. Does someone know, where can I found small and up to date howto (preferable without DSL)?

Answer

Trevor Bernard picture Trevor Bernard · Jan 24, 2013

Here is a simple, runnable, example of how to use the Disruptor library. Example is written in Java using version 2.10.4 of the Disruptor library.

https://github.com/trevorbernard/disruptor-examples