Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Thrift publish subscribe

I'm evaluating thrift as an rpc framework. I want to be able to do publish/subscribe logic with thrift and was wondering how to do this.

A few different answers may help:

  1. Is there a canonical way to do publish/subscribe with thrift?
  2. Is there a way to stream results of a call (similar to zerorpc streaming)?
  3. How do you solve this problem?
like image 498
Jon Chu Avatar asked Aug 19 '12 05:08

Jon Chu


2 Answers

I've done my own research and it looks like that with thrift, you should serialize and do pub sub over some type of message queue like zeromq or redis.

like image 58
Jon Chu Avatar answered Nov 02 '22 02:11

Jon Chu


Have you taken a look at DDS? Data Distribution Service is a full standard for doing publish / subscribe communications via topics.

like image 23
Bert F. Avatar answered Nov 02 '22 03:11

Bert F.