[zeromq-dev] Fwd: Welcome to the "zeromq-dev" mailing list

Pieter Hintjens ph at imatix.com
Fri May 30 15:49:00 CEST 2014

Feel free to use this list to solicit paid help. Many of the ZeroMQ
developers make their livelihoods helping clients use it.

You can also explain your problem and see if people are willing to do
your homework for you. ymmv unless it's open source.

My advice is to start with a replication API that you can offer to
your application. You can then prototype that in clean conditions,
e.g. multiple processes on one box, using whatever patterns you need.
Dealer-router is ideal for client-server style designs.

Nothing can replace learning it yourself however.


On Fri, May 30, 2014 at 12:45 PM, Jeremy Richemont <jrichemont at gmail.com> wrote:
> Hi Pieter, thanks for that. I really just wanted reassurance that
> persistence with the (wonderfully written but not short) guide would pay off
> and I hadn't misunderstood the whole purpose of the library. I've been told
> to add replication into an existing product and I've limited time to do
> this. I had a go using my existing tools but with every server needing to
> know about every client and vice versa the configuration was a nightmare. I
> was hoping to use zmq to improve on this situation but I have limited time
> to study new things, sadly.
> At this point of course, you'd suggest paid consultancy and quite right.
> Sadly I find it quite hard to get cash out of my boss without a better
> justification than "it would make my life easier" but I don't yet know
> enough about zmq to say "it will give us the following massive advantages
> and shave x days of development time". I've also no idea about what such
> consultancy would cost.
> Anyway, I shall study the ROUTER/DEALER pattern and see what I can come up
> with.
> Cheers;
> Jeremy.
> On 29 May 2014 18:44, Pieter Hintjens <ph at imatix.com> wrote:
>> On Thu, May 29, 2014 at 6:20 PM, Jeremy Richemont <jrichemont at gmail.com>
>> wrote:
>> > Am I trying to shove a round peg in a square hole, here?
>> Yes, anyone trying to use ZeroMQ for real work without going through a
>> certain learning process is going to be hammering pegs in the wrong
>> hole, using the wrong end of the hammer, while hanging upside down,
>> drunk. You may get results yet the odds are against it.
>> So the usual advice is to work through the Guide and learn the
>> semantics before making anything real, and when you do, work
>> iteratively and be prepared to throw away.
>> > Is there some way I
>> > can get feedback from PUB saying 'failed to send to client x'? so I can
>> > cache the messages instead? Or is there some other pattern I should be
>> > using?
>> You'll find that a ROUTER-DEALER pattern will give you what you need.
>> -Pieter
>> _______________________________________________
>> 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

More information about the zeromq-dev mailing list