Move from JSON to Protobuf. Is it worth it?

Posted by katit on Programmers See other posts from Programmers or by katit
Published on 2012-06-22T15:35:27Z Indexed on 2012/06/22 21:25 UTC
Read the original article Hit count: 190

Filed under:
|
|

We have REST webservices that can serve XML or JSON (WCF). I'm toying with idea of implementing Protobufs. Why?

PROS

  1. Less load on servers.
  2. Smaller message size - less traffic.
  3. It is easier to switch now than later.

CONS

  1. Need to be implemented
  2. Going to be harder to troubleshoot/sniff messages for debugging.
  3. I can enable GZip on server and JSON will consume as much traffic

What is your suggestion and/or experience on this?

© Programmers or respective owner

Related posts about web-services

Related posts about wcf