[zeromq-dev] [PATCH] ZMQ_PEER_EXISTS option

Lucas Hope lucas.r.hope at gmail.com
Wed Jun 8 07:27:55 CEST 2011


Hi Artur,

I am a fellow newbie, but I think I see what Pieter was getting at.

Your description seems to match the Freelance Pattern in the guide:
 http://zguide.zeromq.org/page:all#toc84

Peace,

-Luke

On Wed, Jun 8, 2011 at 12:38 PM, Artur Brugeman <brugeman.artur at gmail.com>wrote:

> Hi Pieter,
>
> Yes, thats right, If you've got a better idea how to solve my problem, I'll be
> happy to try it.
>
> Also, there is, probably, another problem with p2p - connections
> are not stable, peers come and go. If peer I'm connected to dies, it might not
>
> show up for quite a long time (of even ever). Zmq socket, which was connected to
> dead peer, will try to reconnect, which is in this case senseless. So another
> option I envision is an ability to disconnect from certain peer (again only for
>
> ROUTER socket).
>
> --
> Brugeman Artur
>
>
>
> > Hi Artur,
> >
> > Just to confirm your use case...
> >
> > You're using explicit identities for each node, right? Connecting out
> > from ROUTER to ROUTER, and trying to avoid both incoming and outgoing
>
> > connections between the same two nodes?
> >
> > -Pieter
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>


-- 
---------------------------------------------------
Dr Lucas Hope - lucas.r.hope at skype
Machine Learning and Software Engineering Consultant
Melbourne, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110608/f38d228b/attachment.htm>


More information about the zeromq-dev mailing list