/NCoalescingRingBuffer

CoalescingRingBuffer

Primary LanguageC#Apache License 2.0Apache-2.0

NCoalescingRingBuffer

This is a port of LMAX's CoalescingRingBuffer which you can find here: https://github.com/LMAX-Exchange/LMAXCollections

Limitations

Due to the differences in .NET and java, the buffer can only use classes as items in the buffer (no ints, longs, etc). It also relies on a volatile package imported from the .NET Disruptor port which can be found here: https://github.com/odeheurles/Disruptor-net

The perf tests are a little wacky right now and I'm still working on the best way to incorporate them.

If you find any bugs please send a pull request my way.