Questions tagged [chronicle]

Chronicle is a low latency data fabric for logging, IPC, sharing and processing data.

Chronicle uses memory mapped files and access to direct memory to give sub micro second persistence and IPC. This is available as a Queue or Map. It is a high performance solution which is designed for low level Java programmers in mind. This means you will have to worry about many things Java developers generally can ignore, but if you need maximum performance, Chronicle can log or send messages between processes at rates in the tens of millions per second.

The latency between processes can be sub-micro-second including serialization and deserialization, making it an ultra low latency solution. It can also be used in a lockless and GC-free manner.

For more details http://chronicle.software


Chronicle product runs on Java 8 on these platforms

  • 64-bit JVMs on Windows 8 & 10.
  • Linux 2.6 or later
  • Max OSX

It will also run on 32-bit JVMs on Windows, but this has two resource limitations

A 32-bit process has a small virtual address space which can cause performance issues. To accommodate the lack of address space the format of a chronicle on 32-bit bit JVMs is different to a 64-bit system meaning you can get errors trying to swap one for the other.

Note: running a 32-bit JVM on 64-bits Windows will still have these issues as it is the Win XP emulator which emulates the limitations.

238 questions
0
votes
1 answer

Chronicle queue : AssertionError (header inside header) when writing byte array

I am using chronicle queue v4 for writing serialized object to queue. But I keep getting below Exception Exception in thread "CLF-1" java.lang.AssertionError: you cant put a header inside a header, check that you have not nested the documents. …
0
votes
1 answer

Does Chronicle Map have any concept of expiration

Does Chronicle Map have any concept (or pluggable ability) to provide automatic entry expiration?
user2591854
  • 182
  • 3
  • 15
0
votes
1 answer

Chronicle Wire message parser example

I am using grizzly framework right now and looking for a way to improve latency of our exchange direct market access connection. Our exchange message format is something like this: fixed length header type of message and length of payload are…
Ken Tsang
  • 61
  • 5
0
votes
0 answers

In ChronicleQueue how to understand that the file read is complete or not, in side onRelease method

I have a chronicle reader (ExcerptTailer), Code follows, ChronicleQueue queue = ChronicleQueueBuilder.single(chroniclePath).storeFileListener(new StoreFileListener() { @Override public void onReleased(int cycle, File file) { …
Devas
  • 1,544
  • 4
  • 23
  • 28
0
votes
1 answer

Start process queue from where I was?

I have started playing with chronicle and I wrote a process that basically listen to the chronicle queue and do something with it. So every time it restarts, it will reprocess all the events in the file... I wonder what's the best way to do it such…
Theboy
  • 353
  • 1
  • 2
  • 8
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

Read Chronicle Bytes multiple times and concurrently as stream

I am using Chronicle Bytes version 1.7.22. I would like to use Bytes for off-heap caching and persistence of large media (e.g. images, videos). Currently I am creating the Bytes as follows: Bytes.elasticByteBuffer(); OR (for…
Martin
  • 129
  • 1
  • 11
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
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
1 answer

Very slow iteration on Chronicle Map

I'm seeing very slow times iterating over a Chronicle Map - in the below example 93ms per iteration over 1M entries on my 2013 MacbookPro. I'm wondering if there's a better way to iterate or something I'm doing wrong or if this is expected? I know…
jlw
  • 1
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
1 answer

Why ChronicleMap doesn't use hashCode or equals to lookup keys?

import net.openhft.chronicle.map.ChronicleMap; import java.io.File; import java.io.Serializable; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class App { public static void main(String[] args) throws Exception …