FST
ohc
FST | ohc | |
---|---|---|
2 | 2 | |
1,572 | 1,038 | |
- | - | |
0.0 | 1.9 | |
10 months ago | 10 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?
ohc
-
GC, hands off my data!
I decided to start with an overview of what open-source options are currently available. When it comes to the implementation of the on-heap cache mechanism, the options are numerous – there is well known: guava, ehcache, caffeine and many other solutions. However, when I began researching cache mechanisms offering the possibility of storing data outside GC control, I found out that there are very few solutions left. Out of the popular ones, only Terracotta is supported. It seems that this is a very niche solution and we do not have many options to choose from. In terms of less-known projects, I came across Chronicle-Map, MapDB and OHC. I chose the last one because it was created as part of the Cassandra project, which I had some experience with and was curious about how this component worked:
- JEP draft: 64 bit object headers
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
Oak - A Scalable Concurrent Key-Value Map for Big Data Analytics
MessagePack - MessagePack serializer implementation for Java / msgpack.org[Java]
JDK - JDK main-line development https://openjdk.org/projects/jdk
protostuff - Java serialization library, proto compiler, code generator
Apache JMeter - Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
PHP Serializer - A Java library for serializing objects as PHP serialization format.
Caffeine - A high performance caching library for Java
elsa - Java serialization, faster and space efficient version of ObjectOutputStream
SBE - Simple Binary Encoding (SBE) - High Performance Message Codec