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

ChronicleMap WriteContext usage

Looking into ChronicleMap (2.1.7), and I'm not exactly clear on the proper usage of WriteContext when calling acquireUsingLocked(); The scenario I'm interested in is a function where I need to take 2 actions atomically from the viewpoint of the…
Hoobajoob
  • 2,748
  • 3
  • 28
  • 33
0
votes
1 answer

How to use the ChronicleMap as a TimeSeries Database?

I have a backtesting framework that needs to replay tick level market data in order. I am currently using Cassandra where my schema is structured to have all ticks for a single trade date in 1 row. Each column represents a single tick. This makes…
RPJ
  • 39
  • 3
0
votes
1 answer

chronicle map - value data types

What's the best way of implementing a chronicle map where the value side is a map or a set? I need data structures similar to the following where I can store multiple versions of some data with a specific id: chronicle-map: String ->…
fitifiti
  • 97
  • 6
0
votes
1 answer

How can I replay data in VanillaChronicle starting from a particular day?

Since VanillaChronicle stores data in different dirs named by dates, can I replay the data starting from a particular day? Sample codes are appreciated. Thanks!
xiagao1982
  • 1,077
  • 1
  • 13
  • 25
0
votes
1 answer

Put a on-heap cache in front of chronicle

Wouldnt it make sense to put an on-heap cache (eg guava cache) in front of a persistent off-heap chronicle cache? So, use the chronicle cache when you get a guava cache miss? Thanks
John Caron
  • 47
  • 4
0
votes
3 answers

Can I write different types of messages to a chronicle-queue?

I would like to write different types of messages to a chronicle-queue, and process messages in consumers depending on their types. How can I do that?
xiagao1982
  • 1,077
  • 1
  • 13
  • 25
0
votes
1 answer

Method not found - VanillaChronicle ctor call in net.openhft.chronicle.logger.log4j2.TextVanillaChronicleAppender.createChronicle()

Is there a specific version of OpenHFT Chronicle on which Chronicle Logger for log4j2 v1.0.3 depends? The only ctor for VanillaChronicle I found was a package visible definition which took param which are different from the method calls in…
MGH
  • 51
  • 1
  • 5
0
votes
1 answer

Fast queue on top of Chronicle Map?

We are implementing storage plugin for akka-persistence That means 2 providers, for: queue-like Journal plugin API map-like Snapshot store plugin API Since only Chronicle Map supports multi-node symmetric replication, we eliminate Chronicle Queue…
Andrei Pozolotin
  • 897
  • 3
  • 14
  • 21
0
votes
2 answers

Strange NPE from Chronicle Map toy code

I'm trying out chronicle map 2.0.0.a, and have setup a toy example map. I'd like to setup a ping-pong example where I set a value in one JVM and read from another. I'm getting a NPE calling map.get in the code below. It's strange because the map…
Eric Lindauer
  • 1,813
  • 13
  • 19
0
votes
2 answers

Chronicle Map UnsupportedClassVersionError

I'm just trying out ChronicleMap and have run into an issue immediately, an "UnsupportedClassVersionError: Unsupported major.minor version 52.0". I'm using Java 7... should I interpret this error to mean that Chronicle Map is compiled under Java 8? …
-1
votes
1 answer

Java version for Chronicle product

Chronicle product support Java 8 (openjdk8) or 11 (openjdk11)? I see this https://stackoverflow.com/tags/chronicle/info mentions Java 8, but this was updated long back.
Nayana
  • 133
  • 1
  • 11
-1
votes
1 answer

Chronicle issues? Am I doing something wrong?

This program, using net.openhft:chronicle:3.5.3, illustrates following problems I'm having with Chronicle. 1 Vanilla Chronicle.size() returns crazy values 2 ExcerptTailer.toStart doesn't work on an Indexed Chronicle 3 ExcerptTailer.index(-1)…
John Lonergan
  • 305
  • 3
  • 6
-2
votes
0 answers

trying to use chronicle wire on gradle project

Trying to use Chronicle Wire on a gradle project (JDK 17 , Correto, Intellij), and I'm getting: Chronicle products require command line arguments to be provided for Java 11 and above. Followed the instructions…
yuv8753
  • 11
1 2 3
15
16