3 ms·
grpc is a layer on top of protobuf
by woodrowbarlow 5y ago
grpc is a layer on top of protobuf
- randomdata 5y agoExtending it to define transport concerns, akin to Swagger/OpenAPI.
- pianoben 5y agoIn my view, gRPC is the closest "binary" analog to OpenAPI, which is a transport-layer concern first and foremost with discoverability features. If your problem space is "a way to assign meaning to arbitrary bitfields", I don't feel that OpenAPI is a very good comparison. Its purview is "representing web APIs in terms of structured JSON/XML payloads". That is, OpenAPI also deals in logical and not physical representation. (unless it specifies UTF-8 or something - it might, I don't know!)
- woodrowbarlow 5y agoyou know, i think you're right. on reflection, a comparison to json schema[1] (rather than openapi) would be more appropriate, as mentioned be defanor in another comment. 1: https://json-schema.org/ https://json-schema.org/
- cbsmith 5y ago> In my view, gRPC is the closest "binary" analog to OpenAPI, which is a transport-layer concern first and foremost with discoverability features. Well, it and every other binary RPC technology...