Skip to content

Replace Java Serialization with modern solutions #220

@achiyae

Description

@achiyae

Java serialization is very slow.
There are newer solutions, like MicroStream and Kryo. Here is an old comparison (though the code for generating the statistics is available so we can probably check it again).
Interestingly, MicroStream is a bit slower than Kryo, though it has a significantly smaller footprint on the heap. The article's recommendation is "Note that all the metrics depend a lot on the actual data, so if you want to find the best data format for your use case, clone the GitHub project and run the benchmark with your own data model."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions