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

Chronicle-Map: ClassNotFoundException with Gradle & AspectJ

I've encountered the following exception in an application that is being built with Gradle and uses AspectJ. The app works fine when started from within Eclipse but fails to start once built with Gradle: Caused by: java.lang.AssertionError:…
geld0r
  • 800
  • 10
  • 22
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 Chronicle Map work on Java 1.6 ? or Below that?

I have used Chronicle Map in Java 1.7 on My Machine. I wanted to know can I used the same on java 1.6 ? as I have to build and Deploy it on the Server which is running on Java 1.6
Pratik Dhole
  • 209
  • 1
  • 3
  • 14
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
2
votes
2 answers

How to update and delete entries from Chronicle Queue?

I looked through the Chronicle Java doc and didn't see any methods to update and delete existing entries from the Chronicle queue. Does the Chronicle queue only support for WRITE/APPEND and READ operations only? Thanking you in advance.
2
votes
0 answers

JVM Crash using Chronicle Map

When I try to use Chronicle Map I have a number of errors which I haven't been able to work out. In my latest attempt to debug, I read the stream into memory to check what the bytes were but it crashes the whole JVM. EXCEPTION_ACCESS_VIOLATION…
mjaggard
  • 2,389
  • 1
  • 23
  • 45
2
votes
1 answer

How to write a VanillaChronicle

Having a very simple poc such as this one: IndexedChronicle chronicle = getChronicle("basic"); ExcerptAppender appender = chronicle.createAppender(); appender.startExcerpt(); appender.writeObject(new MessageKey("type", 123L)); …
Niels Bech Nielsen
  • 4,777
  • 1
  • 21
  • 44
2
votes
2 answers

Thread safety of VanillaChronicle

I am using VanillaChronicle to write some messages to the disk. public final class ConcurrentPersister{ private final String location; private final Chronicle chronicle; private final ExcerptAppender writer; private final static…
CaptainHastings
  • 1,557
  • 1
  • 15
  • 32
1
vote
1 answer

Profiling outliers using Async Profiler

I'm benchmarking my application using chronicle JLBH. Above 99th percentile, it shows there are runs that are taking more than 20micros (up to 99th it's less than 2 micros). I would like to profile the outliers to see what's happening during those…
Abidi
  • 7,846
  • 14
  • 43
  • 65
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