Questions tagged [chronicle-map]

Chronicle Map is an efficient, low latency in-memory Key Value Store for the JVM with optional persistence to disk.

Chronicle Map is a high performance, off-heap, key-value, in memory, persisted data store. It works like a standard Java map, yet it automatically distributes data between processes. These processes can be both on the same server or across your network. In other words, it's a low-latency, huge data key value store, which can store terabytes of data locally to your process.

118 questions
2
votes
1 answer

Chronicle Map atomicity semantics

I am wondering about the Atomicity semantics in Chronicle Map. If I have a chronicle map shared across 2 nodes (servers) and I try to insert the same key into this map simultaneously on both nodes, what are the transactional semantics? Will the…
cliff
  • 43
  • 1
  • 3
2
votes
1 answer

ChronicleMap and parallelStream

I'am trying to use chronicleMap.parallelStream: myChronicleMap.entrySet().parallelStream().forEach((entry) -> { process(entry); //heavy process } I got the following exception. java.lang.IllegalStateException: ChronicleMap ... Iterator should…
kem
  • 407
  • 1
  • 6
  • 20
2
votes
1 answer

ChronicleMap issue in JavaEE app

I successfully upgraded a JavaSE8 app to the ChronicleMap 3.14.1. I have a JavaEE7 app that is just a facade to the JavaSE8 app. When calling a method from JavaEE7 for creating a chronicleMap, a bug is raised. It looks like…
kem
  • 407
  • 1
  • 6
  • 20
2
votes
1 answer

NavigableMap support in Chronicle-Map ?

Thanks in advance for your support. Is there any way to create java NavigableMap in Chronicle-Map ?
2
votes
2 answers

Chronicle Roll Files Daily

I am trying to implement Chronicle Queue into our system and had a question regarding rolling of files daily but at a specific time as per the local time zone of the process. I read few write-ups regarding how to specify roll cycle but as per…
ATO
  • 574
  • 4
  • 14
2
votes
1 answer

Chronicle Map Callbacks

Hi I am a new user of Chronicle Products and till now documentation/usage looks pretty smooth. Though I have a question when Map data is shared across JVM's on the same host does consumer JVM waiting on the data receive any sort of callback or…
ATO
  • 574
  • 4
  • 14
2
votes
1 answer

Chronicle Map support for arrays of primitives?

Suppose I have smth like: public interface ITest { long[] getDataArray(); void setDataArray(long[] data); } In this case because of long[] looks like I cannot use Values.newHeapInstance(ITest.class); (I am getting field type class…
2
votes
1 answer

Using boxed/atomic values in Scala with Chronicle Map

We're using ChronicleMap to support off-heap persistence in a large number of different stores, but hit a bit a of a problem with the most simple usecase. First of all, here's the helper I wrote to make creation easier: import java.io.File import…
Anton
  • 3,006
  • 3
  • 26
  • 37
2
votes
1 answer

Maximal number of ChronicleMap entries

How many entries theoretically can ChronicleMap contain at maximum? What is the number of maximum entries one can put to ChronicleMap?
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 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
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
1
vote
1 answer

How to effectively parse and store data to Chronicle Map

I'm trying to figure out shortest and effective path to parse values from json and store some of them into chronicle map. My current solution: String data = ...; ChronicleMap map = ...; JSONWire wire = new…
1
vote
1 answer

OpenHFT Chronicle Map frequency of persist on to the disk

I had few questions regarding openHFT chronicle map. How often does chronicle map persist from memory to disk. Is this time configurable? If JVM process with chronicle map crashes. Does the data in off heap memory gets flushed automatically? Can…
howard roark
  • 628
  • 7
  • 27
1
vote
1 answer

Reopening Chronicle Map gives checksum errors

Using Chronicle Map version 3.20.84 When reopening an Chronicle Map I get the following: map.ChronicleMapBuilder - Checksum doesn't match, stored: -1805860448, should be from the entry bytes: 1297789250, key: 4-US9024941034, value:... I have seen…