Hacker News new | past | comments | ask | show | jobs | submit login

How could gRPC be simpler without sacrificing performance?



There's two parts to gRPC's performance

- 1. multiplexing protocol implemented on top of HTTP/2 - 2. serialization format via protobuf

For most companies, neither 1 or 2 is needed, but the side effect of 2 (of having structured schema) is good enough. This was the idea behind twrip - https://github.com/twitchtv/twirp - not sure whether this is still actively used / maintained, but it's protobuf as json over HTTP.


What kind of performance? Read? Write? Bandwidth?


grpc "urls" and data are binary.

binary with schema separation.

3x smaller payload.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: