4 ms·
There are binary-based serialization formats such as MessagePack [1] or BSON [2] that doesn't need escapeing overhead. You can simply replace JSON with Message
by frsyuki 14y ago
There are binary-based serialization formats such as MessagePack [1] or BSON [2] that doesn't need escapeing overhead.
You can simply replace JSON with MessagePack since MessagePack is compatible with JSON.
[1] Why Not MessagePack? http://blog.andrewvc.com/why-arent-you-using-messagepack http://blog.andrewvc.com/why-arent-you-using-messagepack
[2] Performant Entity Serialization: BSON vs MessagePack (vs JSON) http://stackoverflow.com/questions/6355497/performant-entity-serialization-bson-vs-messagepack-vs-json http://stackoverflow.com/questions/6355497/performant-entity...
- simonw 14y agoBecause using a binary format prevents you from tailing your log file without additional tools.