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
We have REST webservices that can serve XML or JSON (WCF). I'm toying with idea of implementing Protobufs. Why?
PROS
- Less load on servers.
- Smaller message size - less traffic.
- It is easier to switch now than later.
CONS
- Need to be implemented
- Going to be harder to troubleshoot/sniff messages for debugging.
- 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