Pub/Sub implementation for grpc

5,681 views
Skip to first unread message

Gesly George

unread,
Jun 20, 2015, 4:25:09 AM6/20/15
to grp...@googlegroups.com
Hi,
Is a pub-sub API being considered for grpc? If not, how complex would it be to implement one over grpc?

Thanks,
Gesly

Gesly George

unread,
Jun 24, 2015, 9:41:55 AM6/24/15
to grp...@googlegroups.com
It should be possible to build a pub-sub stack on top of the streaming api.

Mugur Marculescu

unread,
Jun 25, 2015, 3:54:54 PM6/25/15
to grp...@googlegroups.com, gesly....@gmail.com
Hi Gesly,

Are you referring to the Google Cloud Pub-Sub API or do you mean some type of pub-sub on top of gRPC?

Thanks,
Mugur


On Saturday, June 20, 2015 at 1:25:09 AM UTC-7, Gesly George wrote:

Gesly George

unread,
Jun 25, 2015, 9:01:40 PM6/25/15
to grp...@googlegroups.com, gesly....@gmail.com
Mugur,
I meant pub-sub on top of gRPC.

Thanks.

Louis Ryan

unread,
Jun 30, 2015, 5:56:15 PM6/30/15
to Gesly George, grpc-io
GRPC would make a good choice for the transport layer of a pubsub system. GRPC itself does not provide features like at-least-once-delivery, fanout, topic identification or ACLs that a pubsub broker implementation would provide. 

For example here is protobuf interface that can be used with GRPC for Google's PubSub system


The only obvious operation missing from that interface is a streaming equivalent of the 'Pull' operation

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/f2164571-8372-468c-9170-6caaae718a3d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Gesly George

unread,
Jul 10, 2015, 1:36:52 AM7/10/15
to grp...@googlegroups.com, gesly....@gmail.com
Louis,
Appreciate the pointer to Google's PubSub protobuf interface - useful.

Yeah, GRPC would be a good transport to build pub-sub on top off. With the streaming API, a push model should be possible as well.

Thanks for the reply.

Gesly George

unread,
Jul 10, 2015, 2:05:55 AM7/10/15
to grp...@googlegroups.com
If we can get eventually get to supporting grpc in the browser, now that makes this really powerful.

Louis Ryan

unread,
Jul 10, 2015, 12:42:44 PM7/10/15
to Gesly George, grpc-io
We'll get there with the browser one way or another. There's some active debate we're having with standards folks about the next generation networking APIs in browsers. See


Reply all
Reply to author
Forward
0 new messages