DEV Community

Filipe Mesquita
Filipe Mesquita

Posted on • Edited on

How to quickly speed up Java serialization

Use Kryo Serialization with setRegistrationRequired(false): https://github.com/EsotericSoftware/kryo

Use KryoPool for multi-threaded serialization and toBytes() (not getBuffer()) to get the serialization output.

Top comments (0)