← Back to context

Comment by onei

6 hours ago

Is that a recent-ish improvement? I feel like HTTP/2 would be roughly the same performance for JSON and protobuf, so maybe this is HTTP/2 vs HTTP/3?

I think the overhead is protobuf itself but I can't check.

  • Comparing a wrapped C++ gRPC backed stack with an httpx/requests backed one is like comparing apples to elephants.

  • Protobuf simply encode things way more efficient that JSON can define a single object. You're quite frankly spewing bullshit in this whole thread.

    • You don’t get what they say. It’s not about about how efficient it is after encode, it’s about how fast encode is. They are not spewing bs, they’re focusing on a single point. The question is: do you send it over the wite more often than performing encode/decode.

      3 replies →