6 ms·
lol, the internal docs on this at Amazon were something very close to "we invented this before Avro and we think that's probably a better choice if you need bin
by nathas 3y ago
lol, the internal docs on this at Amazon were something very close to "we invented this before Avro and we think that's probably a better choice if you need binary serialization."
My 2 cents: don't use it.
- postalrat 3y agoMy 2 cents: don't use avro or anything like it unless you can prove its going to save you money
- tombert 3y agoWhat would you suggest? Just JSON everywhere?
- rahkiin 3y agoI’m interested in the answer as well. Also interested what’s wrong with Ion
- postalrat 3y agojson, csv, text, html, binary blobs you dont create, whatever is easiest
- tombert 3y agoI have never used Ion so I cannot speak to its use in practice, but I haven't really had too much of an issue with msgpack. It's faster than JSON, more compressed than JSON, without being any more difficult than any JSON library I've used. It's an almost-universal good for me; the only thing you lose is the ability to easily introspect the messages if there's an issue.
- Waterluvian 3y agocbor even. Honestly, if you’re in a case where you absolutely know none of these work for you and you can absolutely prove you need another, you’re probably just going to write your own. And that’s a fleetingly rare case.
- loxias 3y agoMy $0.02 is "yes, JSON everywhere". Specifically, one object per line, newline delimited, sorted keys, compressed with zstd or gzip.
- tombert 3y agoWhy?
- oh_come_on 3y ago[dead]