We have a third party application producing data at a very high speed and storing it in multiple ring buffers (hazelcast cluster).
The consumer application (another third party app) uses this java hazelcast library to read ring buffer data. It calls final byte[] item = ringbuffer.readOne(sequence) api for reads. This turns out to be very slow. The consumer takes more than a day to read all data during peak loads.
What are general strategies to concurrently read data from hazelcast cluster? Are there any java references that I can look into?
Thanks.