3 ms·
My 2 cents: don't use avro or anything like it unless you can prove its going to save you money
by postalrat 3y ago
My 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?
- 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.
- rahkiin 3y agoI’m interested in the answer as well. Also interested what’s wrong with Ion
- 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?