FST
Oak
FST | Oak | |
---|---|---|
2 | 2 | |
1,572 | 266 | |
- | -0.4% | |
0.0 | 0.0 | |
10 months ago | 4 months ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FST
- JEP draft: 64 bit object headers
-
GitHub - realtimetech-solution/opack: Fast object or data serialize and deserialize library
First of all, you're comparing this to GSON and Kryo, how does it compare to Msgpack, fast-serialization, but also Elsa and I'm sure, many others? Are there any limitations and/or trade-offs?
Oak
-
JEP draft: 64 bit object headers
Another to add to your collection, https://github.com/yahoo/Oak
-
Solution for hash-map with >100M values
Consider using an database (e.g. H2 embedded, redis) with an on-heap cache (e.g. Caffeine). Since you say it is a Zipfian distribution, the cache should absorb most of the requests. For an off-heap hashtable, you might try Oak as it is likely a faster implementation.
What are some alternatives?
Kryo - Java binary serialization and cloning: fast, efficient, automatic
MapDB - MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
lasher - Lasher is an embeddable key-value store written in Java.
MessagePack - MessagePack serializer implementation for Java / msgpack.org[Java]
Chronicle Map - Replicate your Key Value Store across your network, with consistency, persistance and performance.
protostuff - Java serialization library, proto compiler, code generator
ohc - Java large off heap cache
PHP Serializer - A Java library for serializing objects as PHP serialization format.
java-concurrent-hash-trie-map - Java port of a concurrent trie hash map implementation from the Scala collections library
elsa - Java serialization, faster and space efficient version of ObjectOutputStream
SmoothieMap - A gulp of low latency Java