News for hackers. Stuff that matters.
Re:Using Protobuf instead of JSON to communicate with a fron... by zubspace on Friday June 05, 2015 @10:22AM (#9665675)
One thing, where protobuf (at least protobuf-net) really shines, is serialization of data into a binary format which is incredibly fast. In .NET, all inbuilt alternatives are slower by a large margin.

https://code.google.com/p/protobuf-net/wiki/Performance

Re:Using Protobuf instead of JSON to communicate with a fron... by dmsimpkins on Friday June 05, 2015 @11:09AM (#9665966)
I agree. I recently converted some large files that were previously stored using XmlSerializer to use protobuf-net, and I found an 8x increase in space efficiency, and 6-7x increase in (de)serialization efficiency. It really is a fantastic library, and if your classes are already marked up for serialization, there is very minimal work required to make the switch. For files that need not be human-readable, protobuf is definitely the way to go.