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

Creating an off-heap in-memory ChronicleMap

Testing out off-heap caching with ChronicleMap. Will this code create an off-heap in-memory map? chronicleMap = ChronicleMapBuilder.of(String.class, ByteBuffer.class) .entries(aMaxSize) .averageKeySize(100) .averageValueSize(1000) …
Fredrik LS
  • 1,480
  • 9
  • 15
0
votes
1 answer

ChronicleMap Recovery with multi process application

We are evaluating ChronicleMap and our application runs cluster mode with nodes ranging from 5 to 45. The plan is to have the ChronicleMap persisted in shared NFS folder so that all the nodes can read/write. There are more likely chance that…
Pearl
  • 35
  • 1
  • 6
0
votes
1 answer

Using ChronicleMap with generics: java.lang.NoSuchMethodException: sun.nio.ch.FileChannelImpl.map0(int,long,long)

I have the following class: public class ChronicleMapIndex implements Index { private ChronicleMap index; private Map characteristicsMap; public void buildIndex(String name, Map
user8954282
0
votes
1 answer

Exception in ChronicleHashRecoveryFailedException: java.lang.UnsatisfiedLinkError: Can't find dependent libraries

I get the following error when I try to create a ChronicleMap: Exception in thread "main" net.openhft.chronicle.hash.ChronicleHashRecoveryFailedException: java.lang.UnsatisfiedLinkError:…
user8954282
0
votes
1 answer

Nested Map or multi-key example Chronicle Map

I have a use case where I want to create a co-occurrence matrix. Essentially it is going to be something like Map>. I wish to use Chronicle-Map for this task. I checked Multimaps in ChronicleMap and…
0
votes
1 answer

What do I put for average value when creating chronicleMap if the value is a class? [Chronicle-Map]

I have the following class I want to use as a value for the map I'm implementing: import java.util.ArrayList; import java.util.List; import net.openhft.chronicle.bytes.BytesMarshallable; import org.apache.commons.lang3.tuple.Pair; public class…
user8954282
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
1 answer

IllegalArgumentException while using ChronicleMap

I am trying to write a program using chronicle map. I have written a UDP server which will broadcast a message every 1 sec. A UDP client will receive the message and will store the message in a chronicle map. The programs are as under: The UDP…
Anirban
  • 925
  • 4
  • 24
  • 54
0
votes
1 answer

What would a proper way to replace Roaring64NavigableMap with Chronicle-Map in Java?

I have a code that uses Roaring64NavigableMap as a neo4j plugin the long value of nodes using getId() from the Neo4J API. I would like to use Chronicle-Map. I see this example: ChronicleSet uuids = ChronicleSet.of(Long.class) …
0x90
  • 39,472
  • 36
  • 165
  • 245
0
votes
0 answers

ClassCastException using ByteBuffer as key for ChronicleMap

I tried a very simple example where I try to write int -> ByteBuffer and reuse the array while reading the values from the map. try (ChronicleMap map = ChronicleMap .of(Integer.class, ByteBuffer.class) …
jack malkovick
  • 503
  • 2
  • 14
0
votes
1 answer

Object Allocation with ChronicleMap and ExternalMapQueryContext

We are looking to minimize (if not eliminate) object allocations in some high performance code. This was/is largely possible in previous versions of Chronicle Map (version 2.x). With the latest version of Chronicle Map (3.17.1) we seeing…
0
votes
2 answers

IllegalArgumentException initializing chronicle map

Here is the piece of code I have MyValue sampleValue = Values.newHeapInstance(MyValue.class); // subsequently set the couple of floats and int i have defined in MyValue interface ChronicleMap cache =…
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

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