3 ms·
Serialization/deserialization is rarely the bottleneck, so don't prematurely optimise for it. The candidates for fast serialization/deserialization that have i
by shaicoleman 6y ago
Serialization/deserialization is rarely the bottleneck, so don't prematurely optimise for it.
The candidates for fast serialization/deserialization that have implementations for all major programming languages are:
* Plain JSON using the simdjson library, optionally in NDJSON format (line separated), optionally compressed with LZ4.
* CBOR (like msgpack but with more datatypes/features)
* msgpack
* Protocol Buffers (optionally with gRPC)