Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review the go-proxy from Improbable team #60

Closed
wenbozhu opened this issue Feb 28, 2017 · 6 comments
Closed

Review the go-proxy from Improbable team #60

wenbozhu opened this issue Feb 28, 2017 · 6 comments
Assignees

Comments

@wenbozhu
Copy link
Member

  1. spec compliance, as we are implementing the new grpc-web spec in nginx at the same time
  2. feature parity, e.g. CORS, URL white-listing
  3. discuss when/whether to add this proxy to grpc-contrib, in addition to the existing go-gateway, e.g. does the proxy support non-grpc-web features etc?

https://github.com/improbable-eng/grpc-web/tree/master/go/grpcweb

@zinuga
@mwitkow

@mwitkow
Copy link
Collaborator

mwitkow commented Mar 1, 2017

So basically we internally have a combination of:
https://github.com/mwitkow/grpc-proxy (a transparent gRPC go proxy)
and
https://github.com/improbable-eng/grpc-web/tree/master/go

I think we can build a generic gRPC-Web to gRPC backend proxy written in Go, with automatic SRV discovery from k8s. That's the "I have spare time" plan at least ;)

@wenbozhu
Copy link
Member Author

wenbozhu commented Mar 1, 2017

Thanks. Keep us posted, on future progresses :)

@mwitkow
Copy link
Collaborator

mwitkow commented Mar 27, 2017

@wenbozhu here's an update:
standalone Go binary proxy binary that does what NginX does for gRPC-Web:
https://github.com/improbable-eng/grpc-web/tree/master/go/grpcwebproxy

there's also a Go library that wraps a standard gRPC-Go server and makes it into a gRPC-Web
https://github.com/improbable-eng/grpc-web/tree/master/go/grpcweb

Since the latter is an extended hackery of @bradfitz HTTP2 stack, it would be great if he took a peek :)

@wenbozhu
Copy link
Member Author

Thanks!

We will take a look at the Go implementation.

The 2nd one is interesting! Please ping Brad directly if you need a code review from him.

@pieterlouw
Copy link

Hi,
FWIW, I've extended the great work that @mwitkow has done so far and created a plugin for Caddy:
https://github.com/pieterlouw/caddy-grpc

It's been accepted by the Caddy project and will be available for download as part of the 0.10.4 release of Caddy: caddyserver/caddy#1694

Pieter

@mwitkow
Copy link
Collaborator

mwitkow commented Jun 20, 2017

@pieterlouw cool! thanks :)

loyalpartner pushed a commit to loyalpartner/grpc-web that referenced this issue Sep 4, 2020
update documentation with correct function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants