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

Chronicle Queue - When is the StoreListener triggered

CQ: 4.5.27. I have created 2 chronicle for one for write (single thread) and other reader (N threads) reading same file using single chronicleReader. SingleChronicleQueue chronicleWriter = chronicleFactory.createChronicle("Writer", path,…
AmbGup
  • 731
  • 1
  • 9
  • 23
0
votes
1 answer

how does chronicle queue enable remote appender and tailer

I just start to read the latest V4 documentation. It suggests for remote append and tail, it is recommended to use chronicle-engine. Does it require the enterprise support for that set of functionality ? I looked around the test packages of…
Sheng
  • 1,697
  • 4
  • 19
  • 33
0
votes
1 answer

Regarding sub-topics in chronicle queue

I'm looking to write messages to a single queue. I'd like to use the sub-topics functionality, so that tailers can pick and choose either to read all of the sub-topics under one topic, or pick specific sub-topics to read from. The documentation…
0
votes
1 answer

Chronicle Queue - reader modifying msg

We are preparing to use Chronicle Queue (SingleChronicleQueue) to record our messages. The prototype is working now. However we have some problems. Can readers modify the messages? We use a chronicle map to record indices read to remove duplicate…
ntysdd
  • 1,206
  • 2
  • 9
  • 19
0
votes
1 answer

How can one assign StoreFileListener implementations via ServiceWrapper?

As of Chronicle-Queue v4.5.27, it seems like the ServiceWrapperBuilder needs to be enhanced to include StoreFileListener assignment? If there's a different construct, again, by way of ServiceWrapper queue creation, what is it?
A. Oswald
  • 21
  • 2
0
votes
1 answer

OpenHFT Chronicle Queue Version 4 - nextSynchronous?

In version 3 of OpenHFT's Chronicle Queue there is an API call on ExcerptAppender (nextSynchronous(boolean)) to request that the contents of the queue be forced to be written to disk (fsync'd)when the next excerpt is finished. I don't see a similar…
0
votes
2 answers

How to read last N records from Chronicle Queue?

I have the following code to read from Chronicle queue (it's written in Kotlin but that does not matter): val queue = ChronicleQueueBuilder.single(path).build() val tailer = queue.createTailer() tailer.toEnd() // // This code is wrong // val…
MartyIX
  • 27,828
  • 29
  • 136
  • 207
0
votes
1 answer

Chronicle Queue slows down and runs out of memory

I'm evaluating Chronicle Queue for usage in our software and I must be doing something wrong. I have an appender that will write about 650k entries very quick. After that it grinds to a halt, at which point the memory has spiked to max allowed and…
akagixxer
  • 1,767
  • 3
  • 21
  • 35
0
votes
1 answer

Chronicle Queue unexpected latency

I have been doing some performance testing on Chronicle queue and I am not getting the latency in the micro seconds that Chronicle claims I should. I have a single writer and reader setup. The writer writes the current time into the queue and the…
jerrypeng
  • 104
  • 1
  • 5
0
votes
0 answers

Chronicle queue reader (ExcerptTailer) doesn't read messages, returns false even there are lots of messages in the queue

Hi I'm using the following queue versions, chronicle-queue.version : 4.5.15 chronicle-wire.version : 1.7.14 My Chronicle reader got stuck at some point (index 74204158352345 ) and readDocument returns false after each call, but my chronicle writer…
Devas
  • 1,544
  • 4
  • 23
  • 28
0
votes
1 answer

Chronicle Queue: Usage with less or no lambdas

The documentation shows the usage of an appender or a tailer generally with a lambda, like this: appender.writeDocument(wireOut -> wireOut.write("log").marshallable(m -> m.write("mkey").text(mkey) .write("timestamp").dateTime(now) …
vasquez
  • 583
  • 5
  • 18
0
votes
2 answers

Vanilla Queue Creation

This used to work with the chronicle queue v3. It does not create a queue in v4. What am I doing wrong? Thanks. Chronicle chronicleSignal = ChronicleQueueBuilder.vanilla("somePath").build(); ExcerptAppender appender =…
aezn
  • 1
  • 1
0
votes
2 answers

Chronicle 'file not found' for file in the future

I am using Chronicle Queue v4.5.15. I have created a method to tell me the number of elements that are in the queue: public long getQueueSize() { long index = getQueueIndex(); // I store the index in a persistent map so this method simply…
sam
  • 2,469
  • 8
  • 37
  • 57
0
votes
2 answers

Reading message from chronicle queue does not move the current index to the next cycle automatically

Reading message from chronicle queue does not move the current index to the next cycle automatically. I get the following logs messages: 697917 [SCHEDULER#4] INFO net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts - Rolled 2 times…
Hui Li
  • 51
  • 2
0
votes
1 answer

Selectable chronicle index and data file

We are trying Chronicle HFT as a proof of concept for low latency messaging b/w components. We are using chronicle-1.7.2.jar We have a reader and writer, writer keeps writing excerpts to chronicle and reader keeps reading it in a busy while loop.…
Srujan Kumar Gulla
  • 5,721
  • 9
  • 48
  • 78
1 2 3
11
12