Hacker News new | ask | show | jobs
by wffurr 1704 days ago
People keep saying “just use gzip and JSON is plenty small” but gzip isn’t free. It takes time and power to do all the compression and decompression. The uncompressed size of the data takes up memory on client and server.

A smaller data format requires less compression time and power and you can fit more of it in memory at either end.

1 comments

There's Messagepack and CBOR and Flat Buffers. All of them are faster and smaller than any text based format.