gRPC: Google's RPC framework that works with Protocol Buffers

1,426 views
Skip to first unread message

Feng Xiao

unread,
Mar 10, 2015, 9:08:39 PM3/10/15
to prot...@googlegroups.com
In case you are not yet aware of: Google has open-sourced its own RPC framework, named gRPC, about two weeks ago.

gRPC website: http://www.grpc.io/

It's basically Google's official RPC implementation for Protocol Buffers (in particular for proto3), but released as a separate project. For those of you who are interested in proto3, gRPC should be of interest to you as well :)

Michael Haberler

unread,
Mar 11, 2015, 2:30:56 PM3/11/15
to Feng Xiao, prot...@googlegroups.com
Feng,
great to see the "coming out" of the RPC part of protobuf!

- it seems gPRC is 'the full stack' resting on HTTP2 & TCP, or is the transport intended to be replaceable/pluggable?
- does HTTP2 replace Websockets (which would have been my choice, but I'm not up to speed on the transport du jour)
- is there any relation to RPCZ (https://github.com/thesamet/rpcz)?

thanks!

Michael

ps: I'd be interested in hearing if anybody planning to plug this into a zeroMQ/protobuf stack

psps: we've been using a "raw" zeroMQ/protobuf stack without protoPC due to licensing restrictions on RPCZ (Apache license incompatible with GPL2)


>
> --
> You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
> To post to this group, send email to prot...@googlegroups.com.
> Visit this group at http://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.

Feng Xiao

unread,
Mar 11, 2015, 6:27:34 PM3/11/15
to Michael Haberler, Protocol Buffers
On Wed, Mar 11, 2015 at 11:30 AM, Michael Haberler <mai...@mah.priv.at> wrote:
Feng,

> Am 11.03.2015 um 02:08 schrieb Feng Xiao <xiao...@google.com>:
>
> In case you are not yet aware of: Google has open-sourced its own RPC framework, named gRPC, about two weeks ago.
>
> gRPC website: http://www.grpc.io/
>
> It's basically Google's official RPC implementation for Protocol Buffers (in particular for proto3), but released as a separate project. For those of you who are interested in proto3, gRPC should be of interest to you as well :)

great to see the "coming out" of the RPC part of protobuf!

- it seems gPRC is 'the full stack' resting on HTTP2 & TCP, or is the transport intended to be replaceable/pluggable?
gRPC is the full stack. As far as I know there isn't an option to use a different transport.
 
- does HTTP2 replace Websockets (which would have been my choice, but I'm not up to speed on the transport du jour)
I have no idea. Google chose HTTP/2 for its RPC framework but Websocket obviously has its own advantages and applications.
 
- is there any relation to RPCZ (https://github.com/thesamet/rpcz)?
No.
 

thanks!

Michael

ps:  I'd be interested in hearing if anybody planning to plug this into a zeroMQ/protobuf stack

psps: we've been using a "raw"  zeroMQ/protobuf stack without protoPC due to licensing restrictions on RPCZ (Apache license incompatible with GPL2)
That's the reason why we use BSD license for gRPC. :)

Kristian Hermansen

unread,
Mar 16, 2015, 1:53:00 PM3/16/15
to prot...@googlegroups.com
Excellent! However, can you please update and fix the broken link(s) to gRPC on the developer documentation page? Thanks!

On this page:


In the section:

"If you you want to try our new open-source RPC implementation gRPC (currently also in alpha release) – we recommend using proto3 for all new gRPC servers and clients as it avoids compatibility issues."

The link to gRPC points to https://github.com/google/grpc-common, which is invalid. You probably meant https://github.com/grpc/grpc-common. Or perhaps you should be linking to the new grpc.io domain instead...
--
Kristian Erik Hermansen

Feng Xiao

unread,
Mar 16, 2015, 2:27:50 PM3/16/15
to Kristian Hermansen, Protocol Buffers
On Sun, Mar 15, 2015 at 1:50 AM, Kristian Hermansen <kristian....@gmail.com> wrote:
On Tuesday, March 10, 2015 at 6:08:39 PM UTC-7, Feng Xiao wrote:
In case you are not yet aware of: Google has open-sourced its own RPC framework, named gRPC, about two weeks ago.

gRPC website: http://www.grpc.io/

It's basically Google's official RPC implementation for Protocol Buffers (in particular for proto3), but released as a separate project. For those of you who are interested in proto3, gRPC should be of interest to you as well :)

Excellent! However, can you please update and fix the broken link(s) to gRPC on the developer documentation page? Thanks!
Thanks! We have fixed the link internally. Next open-source doc push will update the public page.
 

In the section:

"If you you want to try our new open-source RPC implementation gRPC (currently also in alpha release) – we recommend using proto3 for all new gRPC servers and clients as it avoids compatibility issues."

The link to gRPC points to https://github.com/google/grpc-common, which is invalid. You probably meant https://github.com/grpc/grpc-common. Or perhaps you should be linking to the new grpc.io domain instead...
--
Kristian Erik Hermansen

--
Reply all
Reply to author
Forward
0 new messages