Kryo
Java binary serialization and cloning: fast, efficient, automatic (by EsotericSoftware)
FST
FST: fast java serialization drop in-replacement (by RuedigerMoeller)
Our great sponsors
Kryo | FST | |
---|---|---|
4 | 2 | |
6,061 | 1,568 | |
0.8% | - | |
8.3 | 0.0 | |
12 days ago | 10 months ago | |
HTML | Java | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Kryo
Posts with mentions or reviews of Kryo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-16.
-
gRPC on the client side
Other serialization alternatives have a schema validation option: e.g., Avro, Kryo and Protocol Buffers. Interestingly enough, gRPC uses Protobuf to offer RPC across distributed components:
-
How to quickly speed up Java serialization
Use Kryo Serialization with setRegistrationRequired(false): https://github.com/EsotericSoftware/kryo
-
Marshaling objects in modern Java
If you need something quick and dirty to replace the default java serialization with zero configuration needed, use Kryo
- Downsides to using sun.misc.unsafe for serialization (assuming the code is thoroughly-tested)?
FST
Posts with mentions or reviews of FST.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-11.
- 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?
What are some alternatives?
When comparing Kryo and FST you can also consider the following projects:
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
MessagePack - MessagePack serializer implementation for Java / msgpack.org[Java]
protostuff - Java serialization library, proto compiler, code generator
PHP Serializer - A Java library for serializing objects as PHP serialization format.
jackson-annotations - Core annotations (annotations that only depend on jackson-core) for Jackson data processor
elsa - Java serialization, faster and space efficient version of ObjectOutputStream
Protobuf - Protocol Buffers - Google's data interchange format
SBE - Simple Binary Encoding (SBE) - High Performance Message Codec