by anameaname · 8y ago · 0 comments
Next up, browser support?
Please! There is a working TypeScript client implementation [0] of gRPC-Web [1], which relies on a custom proxy for converting gRPC to gRPC-Web [2]. Would be nice to bring that proxy functionality into Nginx.
[0] https://github.com/improbable-eng/grpc-web/tree/master/ts
[1] https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-WEB.md
[2] https://github.com/improbable-eng/grpc-web/tree/master/go/gr...
(Disclosure: My team and I wrote it.)
For example, how does a TCP proxy perform round-robin load balancing on a per-RPC basis? If it's a gRPC proxy then that capability becomes possible.