Performance Benchmarking: gRPC+Protobuf vs. HTTP+JSON
A fair benchmark with Go examples to compare Protocol Buffers over gRPC vs. JSON over HTTP/1 and HTTP/2.
While human-readable JSON over HTTP remains a popular choice for service communication due to its simplicity and familiarity, in Microservices architectures gRPC is emerging as a popular choice for communication.
It is mainly because in the case of internal services, the structured formats, such as Protocol Buffers, are a better choice than JSON for enco…