4 ms·
I'm yet to see enough services expose a gRPC endpoint, at least other than Google. That'll keep the perception of adoption s/low. I'm writing this as I take a
by nevi-me 7y ago
I'm yet to see enough services expose a gRPC endpoint, at least other than Google. That'll keep the perception of adoption s/low.
I'm writing this as I take a break from working on a polyglot project made up of Kotlin, Rust, Node, where we use gRPC and gRPC-web. We're slowly stealing endpoints from the other services/languages to Rust.
Without focusing on the war of languages, the codegen benefits of protobufs have made what used to be a lot of JSON serde much easier.
- mleonhard 7y agoCan you point to a single public Google-run gRPC service? I was under the impression that all connections into Google are proxied by GFE (Google Front-End) servers to internal servers running the Stubby RPC server code. GFE is definitely not running gRPC server code. I don't believe a gRPC endpoint could pass Google's own Production Readiness Review process.
- terinjokes 7y agoI've seen Google endpoints available over gRPC over the last few years. Many, if not most, of the Cloud endpoints are directly documented as being available over gRPC[0]. For others, like Google Ads, a peak at the client libraries show it's using gRPC[1] as well. [0]: https://cloud.google.com/pubsub/docs/reference/service_apis_overview#grpc_api https://cloud.google.com/pubsub/docs/reference/service_apis_... [1]: https://github.com/googleads/google-ads-java/blob/master/google-ads/src/main/java/com/google/ads/googleads/lib/GoogleAdsClient.java#L20 https://github.com/googleads/google-ads-java/blob/master/goo...
- nevi-me 7y agoYes, this. A lot (based on my last interaction 2 yrs ago) of Google's SDKs are convenience methods that hide gRPC behind. If you use a language that doesn't have an SDK, you can mostly connect directly to their rpc endpoints.
- nevi-me 7y agoThe googleapis [1] repo has the publicly accessible gRPC definitions, which you can access directly. I've done this before, though it was a bit tedious as I had to learn how to manually pass Google credentials (documentation wasn't good enough). [1] https://github.com/googleapis/googleapis https://github.com/googleapis/googleapis