Anyone here who tried out gRPC or is using it in production, and can share some experiences?
We use it heavily on multiple projects across languages, and for the most part it works very well. We've had some pain about sharing proto definitions across languages and keeping them in sync. It's probably a much smaller problem when you've got a company-wide monorepo like Google, but you'll definitely have to be vigilant about your build processes to make sure you have the latest definitions shared. Some of the la…
gRPC: Internet-scale RPC framework is now 1.0
31–40 of 111 posts
Re: gRPC: Internet-scale RPC framework is now 1.0
#32Something I've wondered for awhile: why would I want to design with gRPC rather than well-defined HTTP/JSON endpoints? Is it just a perf thing?
If performance isn't a big deal, JSON-RPC over HTTP or something like it is fine. If it's critical, something like gRPC makes more sense.
Re: gRPC: Internet-scale RPC framework is now 1.0
#33Something I've wondered for awhile: why would I want to design with gRPC rather than well-defined HTTP/JSON endpoints? Is it just a perf thing?
I'm sure it's possible to create the same thing with HTTP/JSON (and swagger?), but I find it to be more work.
Re: gRPC: Internet-scale RPC framework is now 1.0
#34Something I've wondered for awhile: why would I want to design with gRPC rather than well-defined HTTP/JSON endpoints? Is it just a perf thing?
Re: gRPC: Internet-scale RPC framework is now 1.0
#35Earlier quoted context omitted.
caveat: I work in gRPC team. read target blogpost link to get a sense of experience of some of the companies. https://cloudplatform.googleblog.com/2016/08/gRPC-a-true-Int...
So gRPC evolved out of Stubby. An excellent show of force would be to announce that Stubby has been internally replaced by gRPC, so that the "gRPC is internet scale" assertion can be more than just a gimmick. Knowing nothing of the first one and very little of the second I imagine it would be some important task, so I have to ask: do you plan to internally run with the stuff you open-sourced ? What is missing ?
Re: gRPC: Internet-scale RPC framework is now 1.0
#36Earlier quoted context omitted.
We use it heavily on multiple projects across languages, and for the most part it works very well. We've had some pain about sharing proto definitions across languages and keeping them in sync. It's probably a much smaller problem when you've got a company-wide monorepo like Google, but you'll definitely have to be vigilant about your build processes to make sure you have the latest definitions shared. Some of the la…
Could you expound upon the problem of keeping your protocol definitions in sync? In my experience this is the strength of protocol buffers: if you follow a few rules, your systems can successfully be decoupled. Some of the rules are never re-using a tag number and never changing a type in an incompatible way (e.g. string->bytes might be ok, but int32->bytes is not).
Re: gRPC: Internet-scale RPC framework is now 1.0
#37So how does service discovery work? Where do I read more?
Re: gRPC: Internet-scale RPC framework is now 1.0
#38Re: gRPC: Internet-scale RPC framework is now 1.0
#39So if you are looking to load testing (or integration testing) for gRPC based apps check https://goreplay.org
Re: gRPC: Internet-scale RPC framework is now 1.0
#40Something I've wondered for awhile: why would I want to design with gRPC rather than well-defined HTTP/JSON endpoints? Is it just a perf thing?
* streaming in any direction (client->server, server->client, both). Not something easily done with a simple HTTP/JSON endpoint, all handled for you
* Arbitrary cancellation from the client or the server