Re:MessagePack - Extremely efficient object serialization li...
by alavrik on Friday March 19, 2010 @03:08PM
(#1204974)
It is true that Protocol Buffers are not optimized for low-mem systems. On the other hand, for preserving bandwidth and storage one can use lightweight compression algorithms on top of general-purpose serialization library. (This is the approach that Google ended up using, AFAIK.)
I think such approach is more flexible than making explicit assumptions on how much data is actually carried in integers.
PER is the only format I've seen that uses the schema to decide how much information the recipient actually needs to decode the message and just sends that, rather than adding pure overhead just in case a recipient has no idea what's going on yet is somehow supposed to do something useful with the message.