The post explores a performance benchmark comparing Protocol Buffers over gRPC and JSON over HTTP/1 and HTTP/2, using Go examples. The test eliminates extraneous operations to isolate the impact of data transport and serialization protocols. Findings revealed that HTTP/2 is slower than both gRPC and HTTP/1 in this specific scenario, which challenges common assumptions about the efficiency of newer protocols.
1 Comment
Sort: