The simplest and actual example code of LMAX Disruptor

后端 未结 5 1212
情话喂你
情话喂你 2021-01-31 05:35

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 i

相关标签:
5条回答
  • 2021-01-31 06:01

    There is an official sample application on github now: Getting-Started

    0 讨论(0)
  • 2021-01-31 06:04

    I have shared example here, I hope it helps.

    This question might be duplicate of

    Disruptor helloworld example

    0 讨论(0)
  • 2021-01-31 06:09

    Sharing an example with multiple publishers and chained handlers, this uses their latest available dsl api format http://vijayrc.com/vectorclocks/post/thread3

    0 讨论(0)
  • 2021-01-31 06:24

    you can see the example here.

    http://code.google.com/p/disruptor/wiki/CodeExampleDisruptor2x

    I have done a simple example by using the above wiki. hope this helps you.

    0 讨论(0)
  • 2021-01-31 06:24

    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

    0 讨论(0)
提交回复
热议问题