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
1
vote
1 answer

How to serialize a simple object for Chronicle Queue using Chronicle Wire

I currently put my objects in the Chronicle Queue as follows ExcerptAppender appender = SingleChronicleQueueBuilder .binary("/path_to_chronicle/") .build() .acquireAppender(); // Write synchronized…
user3607022
  • 480
  • 3
  • 16
1
vote
1 answer

Chronicle Queue Proxy Method Value is Same Object Instance Each Time

I'm using Chronicle V4 proxy API to convert a message into a function call. When myMethod(Thing a) is invoked after a readOne() call, the 'a' object instance ID is the same each time but the content has the latest…
JARC
  • 5,288
  • 8
  • 38
  • 43
1
vote
1 answer

Flush messages to Chronicle Queue

I'm using Chronicle Queue v5.17.0 to process messages and my understanding is that the queue does not lose messages even if the java process dies (due to the fact that queue uses memory mapped file which is flushed by the OS). Will some messages be…
1
vote
1 answer

Is it ok for a SingleChronicleQueue tailer handler to append a different message to the same Queue?

I have 1 SingleChronicleQueue that has different messages appended via methodWriter proxy API. My reader handler processes 'message1' and appends back a different message 'message2' for the same handler to process via a different method…
JARC
  • 5,288
  • 8
  • 38
  • 43
1
vote
1 answer

How can I eliminate "linearScan by position" warnings?

I just upgraded from Chronicle Queue 4.6.109 to 5.16.16. Since the upgrade I noticed many warnings of the following form in all of our services that use Chronicle Queue: 2018-10-16 16:26:58,524 WARN [main ] SCQIndexing …
Stephan
  • 21
  • 4
1
vote
1 answer

Use Chronicle Queue as Pub/Sub

I wanna build a micro services system, and i'm choosing the message queue. As the title, can I use Chonicle queue as a pub/sub system? I read that Chronicle Queue can be used as a message passing between jvms on the same machine, but how can we…
TamVu
  • 11
  • 1
1
vote
2 answers

Chronicle Consumer not reading records correctly?

I am using chronicle-queue (5.16.13) to write and read json values to a chronicle file. To write objects I use the following in a loop try (final DocumentContext dc = appender.writingDocument()) { dc.wire().write(() -> "msg").text("Hallo…
Julian
  • 438
  • 3
  • 13
1
vote
3 answers

Chroncile Queue tailer adds additional bytes (0x008F) for some buffers. How to determine which buffers have this padding?

We are marshalling XML data as string and converting it into bytes with getBytes(StandardCharsets.UTF_8) and writing them to chronicle queue: try (DocumentContext dc = appender.writingDocument()) { Wire wire = dc.wire(); Bytes bytes =…
Chandra
  • 43
  • 4
1
vote
1 answer

Using Chronicle-Queue as a file based FIFO queue

I got to know Chronicle-Queue from post: Implementing a file based queue Here's my use case: I have a web server (say tomcat) which serves http requests Each request processing might generate some tracing info. I'll write these tracing info into a…
anuni
  • 889
  • 10
  • 26
1
vote
1 answer

Chronicle how to increase processors?

I am using Chronicle queue 5.16.8 I am getting this warning net.openhft.chronicle.threads.Pauser : Using Pauser.sleepy() as not enough processors, have 1, needs 8+ Is it possible to increase this processor ? source code My approach here is…
JPG
  • 750
  • 2
  • 8
  • 23
1
vote
1 answer

UI/Utility for viewing the contents of chronicle queue/maps

Is there any UI or a utility through which we can check the contents of Chronicle Queues and Chronicle Maps? Till now I have only found DumpQueueMain class which spits out all the info available on the queue. Thanks!
1
vote
1 answer

can we change name for chronicle-queue data files?

when i use OpenHFT/Chronicle-Queue, it creates data files in queue with name format as today's date. for example : 20180113.cq4 can we change this file naming convention ?
Joshnee
  • 241
  • 4
  • 8
1
vote
1 answer

Is there a lightweight version of Chronicle Queue that does not use cycling?

I want to use Chronicle Queues as inboxes for user messages, with each user of my application having his own queue. However, I'm facing the following "issues": Since the number of messages per user is not that high, all messages for a single user…
xpages-noob
  • 1,569
  • 1
  • 10
  • 37
1
vote
1 answer

Slow queue tailer on multi-threaded appenders queue

I have scenario where multiple threads are writing to the same queue. Appender threads receive updates from the different markets (each thread single market) and push those data into same queue: ChronicleQueue queue =…
kensai
  • 943
  • 9
  • 16
1
vote
0 answers

Chronicle Queue: StoreFileListener multiple onAcquired and onReleased

I am using Chronicle 4.5.27. Below is simple implementation for Writer and Reader with StoreFileListner. In Reader I am getting multiple onAcquired and onReleased events. Why will this happen? I am expecting to receive only one Acquire (when file…
AmbGup
  • 731
  • 1
  • 9
  • 23