[zeromq-dev] Zper
Mohit Anchlia
mohitanchlia at gmail.com
Thu Sep 25 02:48:11 CEST 2014
I am trying to understand the flow and how it works, can you help me
understand the overall flow and meaning of each state? I see each state
changes to the next state but not able to understand the purpose of each
state.
On Wed, Sep 24, 2014 at 5:28 PM, Min <miniway at gmail.com> wrote:
> ZPer is a kind of replica of Kafka. Technically you can use request-reply
> pattern with ZPer but publish-subscribe pattern is much fit for its purpose.
>
> Publishers can send message to ZPer and forget it. Then subscribers fetch
> the messages asynchronously. One of the biggest strength of Kafka structure
> is subscribers can consume messages from at any point and multiple times.
>
> For both publisher and subscribers, DEALER is the best socket type for it.
> But you might also use PUSH socket for publisher.
>
>
> Thanks
> Min
>
> From: Mohit Anchlia <mohitanchlia at gmail.com> <mohitanchlia at gmail.com>
> Reply: ZeroMQ development list <zeromq-dev at lists.zeromq.org>>
> <zeromq-dev at lists.zeromq.org>
> Date: September 24, 2014 at 5:06:50 PM
> To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>>
> <zeromq-dev at lists.zeromq.org>
> Subject: Re: [zeromq-dev] Zper
>
> I am new to ZeroMQ and still trying to understand the concepts. I looked
> at the ZPer code and it sounds like Writer thread has 2 sockets and Reader
> thread has 2 ROUTER sockets. What I don't understand is what I as a client
> need to do to 1) request-repy pattern 2) publish subscribe pattern?
>
> Do I need to connect as a DEALER over tcp to the frontend port of writer
> thread and then connect another socket of type REQ to DEALER?
>
> Also, can you share what are the main challenges you've faced so far.
>
> Thanks!
>
> On Wed, Sep 24, 2014 at 4:19 PM, Min <miniway at gmail.com> wrote:
>
>> Hello,
>>
>> I'm the only maintainer and user for the project, LOL.
>>
>> I've used it to collect server metrics and seems to be working fine until
>> now for about one hundred servers.
>>
>> Thanks
>> Min
>>
>>
>>
>> On Sep 24, 2014, at 3:59 PM, Mohit Anchlia <mohitanchlia at gmail.com>
>> wrote:
>>
>> I came across ZPer project in github and it looks interesting as it
>> seems to provide much of the functionalities. I was wondering if other
>> people have worked with ZPer and what the experience has been with ZPer?
>>
>> https://github.com/miniway/zper
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140924/c00e41b2/attachment.htm>
More information about the zeromq-dev
mailing list