grpc-web icon indicating copy to clipboard operation
grpc-web copied to clipboard

Stalled project?

Open ravihugo opened this issue 8 years ago • 12 comments

I'm not trying to throw shade, but... obviously a lot of people are being walked through gRPC by google advocates, and this project is extremely key to understanding how to move forward with grpc in websites or simply in phonegap/react-native style apps that use REST still. How shall we migrate away from REST when so many items seem to be hinged up on this project that isn't really moving forward?

ravihugo avatar May 29 '18 20:05 ravihugo

Sorry for the delay. Are there specific features that your use case is waiting on? We are working on some of the features we set out in the spec. For example, we will be adding support to suppress CORS preflight requests shortly. (Second bullet point of https://github.com/grpc/grpc-web/blob/master/PROTOCOL-WEB.md#cors-support) We are also working on Retry support etc.

stanley-cheung avatar May 30 '18 20:05 stanley-cheung

Thanks for reaching out. I know developing open source is hard. I think part of the issue is that without a good push from Google it can be scary/worrysome not knowing if this is the next big thing beyond REST or if we have to scale back our ambitions.

I think my use-case is generally in need of the following:

  • typescript protoc output.
  • JS streams (without callbacks) would be nice, for example using RX Observables would likely fit the streaming bill nicely.
  • Windows/Mac localhost development model (without docker) - Presumably without running nginx locally or some other web server for local development.

ravihugo avatar May 30 '18 22:05 ravihugo

I would second the feedback above. I think the reliance on nginx is problematic for us (we deploy on Windows, nginx is slow and not approved for our servers). I think the approach taken by improbable for the proxy is at least a lot more scalable and easier to deploy in multiple environments. And the typescript output is invaluable for front end web development.

IanDuncanson avatar May 30 '18 23:05 IanDuncanson

Same opinion here.

Additionaly it would be more than interesting to have javascript grpc-web client published as a commonjs module in npm registries.

glerchundi avatar May 31 '18 06:05 glerchundi

Nginx as the proxy choice has been a major headache for me as well. Personally I would welcome more of a joint approach with Improbable and ideally move any features of this proxy to theirs and focus development in one place. The fact that two options exists and they basically live in isolation of each other is bad for the community and adoption of either project. Maybe settle on ONE proxy and release rival clients? The proxies are almost identical in functionality already.

johanbrandhorst avatar May 31 '18 06:05 johanbrandhorst

@ravihugo Thanks for the feedback!

TS and better streaming APIs (i.e. besides the Node streams) are on the road-map.

Unlike other languages, grpc-web/JS is being developed internally for Google/Alphabet's own projects first. This limits how quickly we are able to release features for OSS users. At the same time, web ecosystems are prolific in every layer ... E.g. Google closure support is a must, which is used by Google search/gmail/... but not so much externally.

On proxies, our immediate plans are:

  1. Improve Envoy support; and possibly make Envoy the default proxy. grpc-web is already integrated in Envoy, which means there is no custom code to build.
  2. Publish our inter-op tests, and include the Improbable Go proxy as part of the interop test suite. This will ensure the two client libraries will work against different proxies. We have worked closely with Improbable team in the past in defining the gprc-web protocol spec.
  3. Support in-process proxying in more languages (in addition to Go). For this, we are planning to add Python support first, and contributions are always welcome.

===

@glerchundi Could you help file an issue on the npm registry?

wenbozhu avatar Jun 01 '18 19:06 wenbozhu

Making Envoy the default proxy does not help us poor souls who have Windows backends, in fact it makes it impossible

IanDuncanson avatar Jun 02 '18 21:06 IanDuncanson

@IanDuncanson which language are you using for your windows backends?

Seems MS is involved to support Envoy on Windows ... per this Envoy issue.

wenbozhu avatar Jun 05 '18 21:06 wenbozhu

Add an Envoy developer just passed me this

https://github.com/Microsoft/envoy

wenbozhu avatar Jun 05 '18 21:06 wenbozhu

@wenbozhu thanks for this link, very interesting. We use mainly C# and C++ on our backend, but our GRPC services are C++. I will try build this up and give it a go.

IanDuncanson avatar Jun 06 '18 01:06 IanDuncanson

@glerchundi Could you help file an issue on the npm registry?

@wenbozhu done #197.

glerchundi avatar Jun 16 '18 12:06 glerchundi

Blown away by all the updates recently. Going to invest time into this again! Sounds like GA in Oct 👍

ravihugo avatar Sep 06 '18 17:09 ravihugo