Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Java Serialization with modern solutions #220

Open
achiyae opened this issue Sep 21, 2023 · 1 comment
Open

Replace Java Serialization with modern solutions #220

achiyae opened this issue Sep 21, 2023 · 1 comment

Comments

@achiyae
Copy link
Member

achiyae commented Sep 21, 2023

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."

@achiyae
Copy link
Member Author

achiyae commented Sep 23, 2023

Graph-based serialization (such as MicroStream) might make #26 irrelevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant