April 2018
Beginner
226 pages
4h 47m
English
There is one more data exchange format which is more space efficient than all those that we've covered so far. It provides binary serialization and is designed for fast in-memory manipulations. Many renowned sites, such as Pinterest, use messagePack for the compression of data.
Consider a scenario where we have to cache some data in primary cache storage, such as redis. In such a case, everytime a developer needs to store data—which can be JSON, an array, or any other data type—into a single string associated with a key (as in redis, where the data store is key-value pair with single-level depth), the memory utilization increases relative to the data inserted. messagePack can help to reduce the memory ...
Read now
Unlock full access