Our kafka isn’t reliable enough. I need to write data on disk before flushing it to kafka. Can I use this lis to write data to disk and then consume inside same jvm. I need data to live through restarts
Ultra-low-latency, batching and concurrent queue for IPC in Java
11–20 of 76 posts
Re: Ultra-low-latency, batching and concurrent queue for IPC in Java
#12Our kafka isn’t reliable enough. I need to write data on disk before flushing it to kafka. Can I use this lis to write data to disk and then consume inside same jvm. I need data to live through restarts
Can you explain what your issue is with Kafka? What makes it not reliable enough?
Re: Ultra-low-latency, batching and concurrent queue for IPC in Java
#13Our kafka isn’t reliable enough. I need to write data on disk before flushing it to kafka. Can I use this lis to write data to disk and then consume inside same jvm. I need data to live through restarts
You could but its not purpose built for that. You'd probably be happier using some other memory mapped file format for that.
Re: Ultra-low-latency, batching and concurrent queue for IPC in Java
#14Earlier quoted context omitted.
You could but its not purpose built for that. You'd probably be happier using some other memory mapped file format for that.
Could you please suggest java library for this if you know one?
Re: Ultra-low-latency, batching and concurrent queue for IPC in Java
#15Weird to see this here! I've used CoralBlocks in the low-latency trading domain previously. Highly recommend. The API is kind, they're very responsive, and the latency is exceptional (and comes with all the basics like thread pinning built-in for convenience)
How does it compare to LMAX Disruptor if you have any experience with both?
Re: Ultra-low-latency, batching and concurrent queue for IPC in Java
#16Am I missing something here or does the BlockingRingConsumer not actually block? And worse doesn't it just return garbage if poll is called without first checking availableToPoll?
The example sure looks like it... https://github.com/coralblocks/CoralRing/blob/main/src/main/...
Which if so isn't this like 1/4th a library for doing IPC? It doesn't seem to do much itself
Re: Ultra-low-latency, batching and concurrent queue for IPC in Java
#17Earlier quoted context omitted.
How does it compare to LMAX Disruptor if you have any experience with both?
They're both similar in design, the main difference is Coral Queue can be used for IPC between JVMs, using a mmap'd file.
Re: Ultra-low-latency, batching and concurrent queue for IPC in Java
#18Re: Ultra-low-latency, batching and concurrent queue for IPC in Java
#19Earlier quoted context omitted.
Can you explain what your issue is with Kafka? What makes it not reliable enough?
Kafka is good. The problem is we don’t have a dedicated person to manage it so sometimes we have kafka outages
Re: Ultra-low-latency, batching and concurrent queue for IPC in Java
#20Our kafka isn’t reliable enough. I need to write data on disk before flushing it to kafka. Can I use this lis to write data to disk and then consume inside same jvm. I need data to live through restarts