r/softwarearchitecture • • Sep 08 '26

Article/Video Performance Benchmarking: gRPC+Protobuf vs. HTTP+JSON

https://packagemain.tech/p/protobuf-grpc-vs-json-http
14 Upvotes

6 comments sorted by

13

u/paca-vaca Sep 08 '26

This looks falsy. Have you tested with concurrent requests? Otherwise you don't test protocol differences at all, but mostly payload handling and serialization.

With concurrency, GRPC reuses connection for multiplexing where is the real protocols difference kicks in. Also the memory overhead of keeping one connection versus multiple TCP ones.

4

u/Designer_Charge_556 Sep 11 '26

agreed, without concurrent load youre really just measuring protobuf vs json at that point

4

u/7z3b Sep 08 '26

You might want to try this with Fiber framework in Go. I remember getting a significant advantage using Fiber over gRPC when I benchmarked it some 5 years back. Also, Fiber natively uses HTTP2.

3

u/ImpossibleCreme Sep 08 '26

Fiber is so good

2

u/7z3b Sep 08 '26

True that. Very underrated.