3 ms·
Seems like a good use case for protocol buffers [1]. [1]https://developers.google.com/protocol-buffers/?hl=en https://developers.google.com/protocol-buffers/?h
by Igglyboo 11y ago
Seems like a good use case for protocol buffers [1].
[1]https://developers.google.com/protocol-buffers/?hl=en https://developers.google.com/protocol-buffers/?hl=en
- kyzyl 11y agoIt might be that they consider it important to be able to interrogate the in-memory or on-disk representations without the help of a decoding step. Protobufs are great for getting objects into a nice compact format to throw on the wire, but god help you if you end up with multiple actors filling up a queue with inconsistently encoded objects.
- mahmoudimus 11y agodoesn't Apache Avro solve this problem?