Home:ALL Converter>Protocol buffer - usecases

Protocol buffer - usecases

Ask Time:2013-04-08T21:52:09         Author:Sagar

Json Formatter

I tried reading Protobuf docs, but couldn't imagine many usecases it can be used. I would like to know some real-world performance improvement usecases of protocol buffer . Thanks

Author:Sagar,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/15880912/protocol-buffer-usecases
Marc Gravell :

Protocol buffers is a serialization library, so the answer to that is basically the same as to the question:\n\n\n When would I want to serialize / deserialize data?\n\n\nThat could be any scenario involving persistence (disk, blobs in a database, etc), transfer (sockets, files, etc), or simply in-memory storage (snapshots, memento, deep-clone). The fact that protobuf is version-tolerant and cross-platform means that it can work for both homogeneous and heterogeneous setups - as indeed can various other serialization formats. Being terse (small) it may be particularly useful when bandwidth is at a premium (which is \"always\" on busy systems), and being a binary (rather than text) protocol, it is noticeably cheaper to process - so good for reducing CPU overhead. Beyond that: this is an open-ended question limited only by your imagination.",
2013-04-08T13:56:51
yy