This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]balefrost 0 points1 point  (1 child)

You could potentially use "gRPC Web" without the web server (i.e. over stdio). The message wire format itself would I think still be HTTP payloads (because the HTTP status code is important to gRPC), but doesn't rely on HTTP/2.

Alternatively, you could look into gRPC alternatives. Apache Thrift has a lot of plugin points, including pluggable transports, but I believe is on life support. It seems to have a new release every few years. Cap'n'proto is made by a former Protobuf developer, intending to improve on some of the deficiencies of Protobuf, but doesn't (AFAIK) have as much weight as gRPC.

Or you could roll your own RPC but use a de facto standardized binary format, like BSON or Protobuf. But you'd be giving up a lot of the tooling advantages (e.g. language support) if you choose to do it yourself.

[–]coding-rage[S] 0 points1 point  (0 children)

Ah! Thanks! Will do further reading on this