3 ms·
You have to use an envoy proxy in front of your service to be able to use it for web. More infra to manage, and I don't think you get the same features as nativ
by theogravity 3y ago
You have to use an envoy proxy in front of your service to be able to use it for web. More infra to manage, and I don't think you get the same features as native gRPC.
gRPC was designed with http2, so it's not like you can swap out the transport with websockets.
There is the grpc-web project which uses HTTP1, but it sacrifices a lot of features that the http2 version offers that you might as well just use REST instead for public-facing services.