2
votes

I am playing with grpc & grpc-web. I was able to run a simple grpc server and grpc-web applications. However I feel like the setup requires too many dependencies web-server, grpc-server and envoy proxy.

Is anyone successfully using grpc-web for production? Do we need all the dependencies including envoy?

2
You need something that are able to understand and translate the grpc-web requests to your grpc server. The current default proxy which supports this out of the box is Envoy.Stanley Cheung

2 Answers

0
votes

We are using the grpc web proxy from improbable. So what you need is :

  1. Generated js client + grpc web runtime module
  2. Grpc web proxy
  3. Your implementation of grpc services Nothing special...
0
votes

Yes, we need some kind of proxy, but instead of Envoy proxy you can use build in solutions like grpcweb.