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

Apache Camel Chronicle Component [Deprecated]

Why has this particular component been deprecated? Is Java moving away from supporting mapped memory? We have a special use case where this would be nice to have, two applications that should never have been uncoupled and are currently…
0
votes
1 answer

How to use the same CQ in two different threads

lets say I have two threads which want to communicate using the same Chronicle queue, writer: SingleChronicleQueue queue_en = SingleChronicleQueueBuilder.binary(path).build(); ExcerptAppender appender =…
0
votes
1 answer

Consumer Group in Chronice Queue

Is it possible to use groups in chronicle consumer, so that multiple instances watching the queue whose message is consumed once for every message if these instances are grouped together?
0
votes
2 answers

Do Chronicle products support 32-bits JVM and Java 8

I would like to start using Chronicle products with our system, but due to C++ libraries we need to use 32 bit JVM. Do chronicle products support 32-bits JVM.
LevG
  • 1
0
votes
2 answers

Chronicle Queue - readDocument().isPresent() returning false when values are present

I have modified the basic code here [github]https://github.com/OpenHFT/Chronicle-Queue/blob/master/docs/How_it_works.adoc Basically I am shooting chronicle queue some of the same Marshallable-ized objects. I included some print statements to show…
0
votes
1 answer

OpenHFT Chronicle Queue writing fields marked as transient

Ok, so I have a couple of classes that basically look like this. public class Foo implements Serializable { private A a; //More code } public class A implements Serializable { public Vector vector = new Vector(); //More…
Erik
  • 293
  • 1
  • 8
0
votes
1 answer

How to close Chronicle resources correctly when appending in a callback?

Where should a class like this add try-with-resources so that it correctly closes resources? I presume the appender should be reused as shown, right? public class ChronicleWriter implements UpdateListener { private ExcerptAppender appender; …
Andrew
  • 1,031
  • 10
  • 24
0
votes
1 answer

How to restore writing to queue after failure

After disk space is finish I got InternalError. Adding disk space wasn't fix problem. Is it possible to restore and continue to persist? May be on error I can try to recreate/close? Creation of the queue queue =…
0
votes
2 answers

Why does Chronicle Queue not define Weekly RollCycles?

Why are there no WEEKLY RollCycles defined? Is there some reason they should not be used?
Andrew
  • 1,031
  • 10
  • 24
0
votes
1 answer

ChronicleMap and Graph DB

Somewhat related to this question, is it possible to use ChronicleMap to capture a property graph as a memory-mapped file? Currently we are hosting our graph in AWS Neptune, but would like to query it locally, but off-heap, on each of our (Java)…
Kevin
  • 1
  • 2
0
votes
1 answer

How to read data serialized with Chronicle Wire from InputStream?

Some data are serialized to an outputstream via Chronicle Wire. Object m = ... ; OutputStream out = ... ; WireType.RAW // .apply(Bytes.elasticByteBuffer()) // .getValueOut().object(m) // …
Stephan
  • 41,764
  • 65
  • 238
  • 329
0
votes
1 answer

Chronicle Map Performance

Our company is very interested in using Chronicle maps, however we are unable to replicate the performance as advertised on the website. Chronicle Map has been tested to do 30 million updates per second with 500 million key-values on a 16 core…
scottazord
  • 178
  • 2
  • 16
0
votes
0 answers

I want to realize transaction Match .can I use chronicle in it?

I want to realize transaction Match .can I use chronicle in it ? and How to use it ? thanks. I am writing log with it.but some error happend like : Problematic frame: J 927 C2…
ostky
  • 1
  • 1
0
votes
2 answers

NPE exception when reading from queue when old queue data files are deleted

I opened an issue for this: https://github.com/OpenHFT/Chronicle-Queue/issues/534 I am trying to implement periodic old queue file purge logic using StoreFileListener. I am using latest release net.openhft:chronicle-queue:5.16.13. The issue I am…
0
votes
1 answer

Use Chronicle Map as a means of data sharing among micro services

In one of my project, we elected to use Chronicle Map as the underlying data structure for storing and sharing data among different microservices across different hosting servers. Our idea is we use createOrPersist(File file) method to create a…
sotondolphin
  • 223
  • 1
  • 10