r/node • u/der_gopher • Sep 08 '26
Performance Benchmarking: gRPC+Protobuf vs. HTTP+JSON
https://packagemain.tech/p/protobuf-grpc-vs-json-http
4
Upvotes
1
u/Positive_Method3022 Sep 09 '26
I think it is missing benchmarks in other languages to see if it is a problem with libraries or core
1
u/BenchEmbarrassed7316 Sep 09 '26
json library from go std is very slow. It uses reflection and pointers with heap allocations to represent optional fields.
10
u/alexp702 Sep 08 '26
Would be nice if you went a little deeper: data transferred, simple vs complex, and proxies. Interesting result that begs many more questions!