I was crunching some numbers for JSON vs protobuf and

Arpit Bhayani

Arpit Bhayani

Nov 16, 2024 • 1 min read


I was crunching some numbers for JSON vs protobuf and the difference is staggering.

  • 2x improvement in data size
  • 2.5x improvement in serialization time
  • 4.5x improvement in deserialization time

no wonder protobuf has become a de-facto data format.

Arpit Bhayani

Principal Engineer II at Razorpay - building Agent Studio, Ex-staff engg at GCP Memorystore & Dataproc, Creator of DiceDB, ex-Amazon Fast Data, ex-Director of Engg. SRE and Data Engineering at Unacademy. I spark engineering curiosity through my no-fluff engineering videos on YouTube and my courses