[ 
https://issues.apache.org/jira/browse/THRIFT-812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Meier updated THRIFT-812:
-------------------------------

    Attachment: THRIFT-812_with_multicast_example.patch

I did small modifications on David's patch to support multicast via ZMQ_PUB and 
ZMQ_SUB sockets for C++:
* add a test-sender.cpp and test-receiver.cpp
* TZmqClient.h/TZmqServer.h other behavior for PUB/SUB Sockets
* Makefile new files added

(!) only the oneway function from the provided sample has been tested, this is 
just a proof of concept

It uses _Encapsulated PGM_ see [zmq_pgm|http://api.zeromq.org/zmq_pgm.html] or 
[rfc3208| http://tools.ietf.org/rfcmarkup?doc=3208].
_"PGM is a reliable and scalable multicast protocol that enables receivers to 
detect loss, request retransmission of lost data, or notify an application of 
unrecoverable loss."_

0MQ is a very nice framework, but currently I do not have a clear view how it 
could or should be integrated into Thrift.
However placing that into contrib might be a good starting point to give it a 
try or think about...


> Demo of Thrift over ZeroMQ
> --------------------------
>
>                 Key: THRIFT-812
>                 URL: https://issues.apache.org/jira/browse/THRIFT-812
>             Project: Thrift
>          Issue Type: New Feature
>          Components: C++ - Library, Python - Library
>            Reporter: David Reiss
>            Priority: Minor
>         Attachments: THRIFT-812_with_multicast_example.patch, 
> v1-0001-THRIFT-812.-contrib-Add-a-demo-of-using-Thrift-over-.patch, 
> v2-0001-THRIFT-812.-contrib-Add-a-demo-of-using-Thrift-over-.patch
>
>
> I played around with ZeroMQ a bit this weekend.  I thought it might be 
> informative to write some glue code to run Thrift requests with ZeroMQ as the 
> transport, so here it is.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to