[zeromq-dev] Publish / Subscribe vs Multicast

gonzalo diethelm gdiethelm at dcv.cl
Tue Feb 16 14:58:16 CET 2010

Gerente Desarrollo de Sistemas / CDO
Apoquindo 4001 piso 12, Santiago, Chile
+56 2 393-9073
gdiethelm at dcv.cl / www.dcv.cl

> -----Original Message-----
> From: Martin Sustrik [mailto:sustrik at 250bpm.com]
> Sent: Tuesday, 16 February, 2010 10:03
> To: gonzalo diethelm
> Cc: ellisonbg at gmail.com; zeromq-dev at lists.zeromq.org
> Subject: Re: [zeromq-dev] Publish / Subscribe vs Multicast
> Hi Gonzalo,
> > Martin, all I see in the attached PNG is seven white squares on a
> > background, with no other markings.
> It corresponds to the diagram in butterfly example that I've linked
> to originally:
> http://www.zeromq.org/tutorials:butterfly#toc7
> > Yesterday, driving home, I convinced myself that what I am doing is
> > going to work (which probably means that I will have to convince
> > later that I was wrong about it not working...). Anyway, from what I
> > know about TCP/IP, you can bind only one socket to a given IP
address /
> > port, right? Therefore, how would it be possible to have several
> > instances of component1, all bound to the same endpoint, running at
> > same time?
> That's what 0MQ does for you. Single 0MQ socket handles arbitrary
> of unerlying TCP sockets.
> > Furthermore, let's say this multiple binding is made possible by
> > When send_requests sends a request, how will it know there are two,
> > three or N instances of component1, all bound to the same
> > endpoint, so that send_requests will round-robin between them?
> It knows because component1 instances connects to send_requests.
> Maybe reading the article published recently at LWN would help you to
> get soume background?
> http://lwn.net/Articles/370307/
> Martin

Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 

More information about the zeromq-dev mailing list