Questions tagged [chronicle-queue]

Chronicle Queue is a persisted low-latency messaging framework for high performance and critical applications.

Resources

  1. SourceCode
  2. Stackoverflow Questions and Answers
  3. Getting started
  4. Java Docs
172 questions
0
votes
1 answer

How to map docker volume to EC2 host file system

We have a bunch of micro services running each in its own Docker container in a shared AWS EC2 instance. Giving the excellent results obtained when running locally now we are trying to use Chronicle queues as a way to communicate between our micro…
Julian
  • 3,678
  • 7
  • 40
  • 72
0
votes
1 answer

How to share chronicle queue between multiple micro services in AWS

We had a micro service approach for one of our systems using Kafka as an event bus. We had some latency problems and experimented with replacing Kafka topics with a bunch of Chronicle queues. When running locally on a developer machine the results…
Julian
  • 3,678
  • 7
  • 40
  • 72
0
votes
1 answer

Chronicle maps and queues is part of application JVM heap or not

In case anyone is using Chronicle Map, can you tell if Chronicle maps and queues sizes are part of application JVM heap or not. I have an application which listens on Chronicle Queue and then has multiple Chronicle maps. I have allocated 16GB as max…
The Roy
  • 2,178
  • 1
  • 17
  • 33
0
votes
1 answer

Chronicle queue POC returned unexpected latency

One of our system has a micro service architecture using Apache Kafka as a service bus. Low latency is a very important factor but reliability and consistency (exactly once) are even more important. When we perform some load tests we noticed…
Julian
  • 3,678
  • 7
  • 40
  • 72
0
votes
1 answer

Multithread tailers is decreasing the reading performance on Chronicle Queue

Hi guys I have developed a multithread application that use Chronicle Queue to persist the data exchanged. For each thread I create a new chronicle queue instance, all of than pointing to the same file. When the number of the threads increase (or…
0
votes
1 answer

First data file in Chronicle Queue is always touched

We're wondering why ChronicleQueue always seems to touch the first data file. Is there a reason for it? The other filer don't seem to be affected, even if data is read from them. Are we doing something wrong? Currently we're using version…
vasquez
  • 583
  • 5
  • 18
0
votes
1 answer

duplicate class definition for name: "net/openhft/chronicle/queue/JDBCResultBinarylightMethodWriter"

The Chronicle Queue JDBC test code: try (JDBCService service = new JDBCService(in, out, () -> DriverManager.getConnection("jdbc:hsqldb:file:" + file.getAbsolutePath(), "SA", ""))) { JDBCStatement writer = service.createWriter(); …
Jan Nielsen
  • 10,892
  • 14
  • 65
  • 119
0
votes
0 answers

Chronicle Queue VmRSS keep growing

A single appender writes messages into Chronicle Queue inside Docker without any tailer). The VmRSS keeps growing until daily rolling. Is it expected? **The machine has plenty of memory and without swap space
tt777
  • 1
0
votes
1 answer

Reading from 2 chronicle queue using single thread

I am trying to build a service where I will get a one type of message on one chronicle queue and another type of message on another chronicle queue within the same process. I don’t want to give 2 dedicated threads to each of these queues as…
0
votes
1 answer

What is Chronicle-Queue MT visibility guarantee in a single process?

I mean when I write to java.util.concurrent.LinkedBlockingQueue I have a visibility guarantee happens-before. Single object put to the queue happens-before pull of the same object from the queue. So I can assume in the reading thread, that any…
digital_infinity
  • 534
  • 6
  • 20
0
votes
1 answer

Apache Camel Chronicle Component [Deprecated]

Why has this particular component been deprecated? Is Java moving away from supporting mapped memory? We have a special use case where this would be nice to have, two applications that should never have been uncoupled and are currently…
0
votes
1 answer

How to use the same CQ in two different threads

lets say I have two threads which want to communicate using the same Chronicle queue, writer: SingleChronicleQueue queue_en = SingleChronicleQueueBuilder.binary(path).build(); ExcerptAppender appender =…
0
votes
1 answer

Consumer Group in Chronice Queue

Is it possible to use groups in chronicle consumer, so that multiple instances watching the queue whose message is consumed once for every message if these instances are grouped together?
0
votes
2 answers

Chronicle Queue - readDocument().isPresent() returning false when values are present

I have modified the basic code here [github]https://github.com/OpenHFT/Chronicle-Queue/blob/master/docs/How_it_works.adoc Basically I am shooting chronicle queue some of the same Marshallable-ized objects. I included some print statements to show…
0
votes
1 answer

What is the best way to skip a document in Chronicle Queue?

When reading a document from chronicle queue, what is the best way to skip the current document when I am not interested in it? I.e. given the following code, what do I put instead of the comment? try (DocumentContext context =…
Jochen
  • 7,270
  • 5
  • 24
  • 32