> 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...
Re:Announcing gRPC Support in Nginx
by pieterlouw on Sunday March 18, 2018 @04:42PM
(#16614201)
Caddy Web Server (https://caddyserver.com) have support for gRPC-Web through it's grpc plugin: https://caddyserver.com/docs/http.grpc
Armeria [0] supports pretty much every possible combination of gRPC variants, including gRPC-Web - HTTP/1 and 2, TLS and cleartext, Protobuf and JSON, framed and unframed.
(Disclosure: My team and I wrote it.)
I remember seeing that Nginx has TCP proxying as well. Couldn’t that be an option?
Re:Announcing gRPC Support in Nginx
by jacques_chester on Sunday March 18, 2018 @02:42PM
(#16613508)
It is, but proxying at the higher-level protocol lets you proxy more intelligently.
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.
Re:Announcing gRPC Support in Nginx
by jacques_chester on Sunday March 18, 2018 @02:43PM
(#16613513)
My hunch is that the impetus was largely because of this kind of conversation.
Next up, browser support?