Frage

I am running into problems where some of our data stores are seeing a lot of throughput. We are using POJOs serialized to JSON using Jackson. What are some of the ways we can compress JSON data?

One initial thought suggested using BSON but apparently its not much smaller than JSON.

War es hilfreich?

Lösung

If you're not wedded to JSON you could try MessagePack:

MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small.

There are implementations in many languages.

Andere Tipps

Check out CJSON.

You can see some comparisons here.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top