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
2
votes
1 answer

Chronicle Map Callbacks

Hi I am a new user of Chronicle Products and till now documentation/usage looks pretty smooth. Though I have a question when Map data is shared across JVM's on the same host does consumer JVM waiting on the data receive any sort of callback or…
ATO
  • 574
  • 4
  • 14
2
votes
1 answer

Chronicle Queue V3. Can Entries be lost on data block roll-over?

I have an application that writes entries to a Chronicle Queue (V3) that also retains excerpt entry index values in other (Chronicle)Maps by way of providing indexed access in the queue. Sometimes we fail to find a given entry that we've earlier…
2
votes
1 answer

Reading last element written in a Chronicle queue

I'm using the SingleChronicleQueue implementation to keep track of the last element I processed from my data queue (also a SingleChronicleQueue). In order to recover from a crash I need to read the last element in my state queue which will give me…
2
votes
3 answers

Chronicle Queue: Convert cycle integer to timestamp and vice-versa

Is there a way to convert between a certain cycle in Chronicle Queue to a timestamp? I checked the 4.5 apidocs and didn't find anything.
vasquez
  • 583
  • 5
  • 18
2
votes
1 answer

SIGSEGV in Chronicle Queue 4.5.19

What would cause Chronicle Queue to segfault? I assume I've missed a configuration somewhere. I have a readOnly Chronicle Queue created like this: ChronicleQueue readQueue = SingleChronicleQueueBuilder.binary (readBasePath).readOnly (true).build…
2
votes
0 answers

How to catch connection events?

I am really confused about chronicle's connection interface. I couldn't find any test code or source code about it. I want to catch disconnection and on-connection events. My setup looks like (vanilla chronicle 3.6.2.); Two identical process,…
cengizkrbck
  • 704
  • 6
  • 21
2
votes
1 answer

Can Chronicle Queue be used like RMI?

I want my two JVM applications speak to each other on the same machine. I considered using RMI, but then I found Chronicle Queue which claims that it is very fast. I wonder whether I can use Chronicle to invoke a method on the other JVM and wait for…
Hakan
  • 756
  • 1
  • 8
  • 17
2
votes
1 answer

Can multiple Chronicle/ExcerptAppenders write to the same queue?

Using Chronicle with vertx.io... I create a new Chronicle per per verticle. I.e: one instance per thread. chronicle = ChronicleQueueBuilder.indexed("samePath").build(); <-- This is created per thread to the same queue. Now for each web http POST…
user432024
  • 4,392
  • 8
  • 49
  • 85
2
votes
1 answer

Warming up Chronicle

I am using the Indexed Chronicle queue (version 3.4.3) in a latency sensitive application. To smooth out the latency spikes, I have a blocking queue, in front of the chronicle, where producers drop the messages. A background thread then polls the…
CaptainHastings
  • 1,557
  • 1
  • 15
  • 32
1
vote
1 answer

Crash dump when closing StoreAppenderContext

I'm developing a proof of concept using Chronicle Queue to create a journal. I have just one thread writing and no threads or other processes reading. During my validations on a 'silent machine', I've came across crash dumps two times. It's possible…
javando
  • 139
  • 1
  • 1
  • 12
1
vote
1 answer

What causes UnrecoverableTimeoutException and how should i fix or avoid it?

I have N sets of 1 producer to 1 consumer. The consumer will write to Chronicle Queue. I just found out today that there is an error I have not previously seen before. Exception in thread "TaskConsumer2" Exception in thread "TaskConsumer0"…
chunkynuggy
  • 147
  • 8
1
vote
1 answer

How do we setup a pub sub configuration using chronicle queues among multiple JVM processes within same machine?

Multiple publishers will send their message to a central node which is responsible for sequencing these messages before they reach the subscribers. Does there exist a chronicle service that already does this? Should be doable with Chronicle queue
1
vote
1 answer

Does chronicle queue have problems rolling daily if I skip weekends?

I have a process that runs at 1 am and is stopped at 11pm everyday using crontab. This creates a chronicle queue file everyday, and because cleaning up is tedious, I changed the crontab to only run on weekdays on Apr 14. Today Apr 17, I checked the…
chunkynuggy
  • 147
  • 8
1
vote
1 answer

How can I simulate real time replay of data with chronicle queue and Excerpt Tailer?

Currently I am able to read a chronicle queue's excerpt appender and read all excerpts in it. However, I want to be able to simulate the real time reading of data when Chronicle Queue persisted the data when I read the data from the Tailer. So for…
chunkynuggy
  • 147
  • 8
1
vote
2 answers

Chronicle queue named appender to get the most recent roll cycle file for iteration returns earliest file

I am trying to implement a named tailer to pickup where a task was previously left off. But in between continuing from a task, I may want to check the contents of the most recent roll cycle. I then tried to test if I can get the most recent roll…
1 2
3
11 12