Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Monitoring the LMAX Disruptor

How to monitor the LMAX Disruptor? Say I have 3 ringbuffers and wish to provide a ui that will give me information of the ringbuffers.

like image 726
Vijay Veeraraghavan Avatar asked Oct 15 '25 04:10

Vijay Veeraraghavan


1 Answers

The most important property you probably want to monitor is the remaining capacity so that you can tell if the consumers are keeping up.

The simplest way to expose that would be to create a bean which can read the RingBuffer.remainingCapacity() and expose that via JMX. That way you can get remote monitor GUI's e.g. JConsole, JVisualvm, stats logging/monitoring via graphite, openNMS or nagios

like image 146
Sam Turtel Barker Avatar answered Oct 17 '25 20:10

Sam Turtel Barker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!