[zeromq-dev] Testing the simple load balancing: what should be the order of starting processes?

Seref Arikan serefarikan at kurumsalteknoloji.com
Mon Jun 6 16:25:32 CEST 2011


Got it! The worker should use connect, not bind when it is working
with the balancer :)

On Mon, Jun 6, 2011 at 3:13 PM, Ian Barber <ian.barber at gmail.com> wrote:
>
> On Mon, Jun 6, 2011 at 3:01 PM, Seref Arikan
> <serefarikan at kurumsalteknoloji.com> wrote:
>>
>> With three executables: client, load balancer and worker process, what
>> is the order of execution I need? Am I missing a point go get this
>> working?
>
> Shouldn't matter - I presume you are calling bind() on the two ports on the
> load balancer and connect on the client and worker? In that case the work
> and client should just try to reconnect until the load balancer appears.
> When you say client and worker processes can connect succesfully, do you
> mean that if you start the load balancer first they both connect
> succesfully?
>
> Ian
>
>
> _______________________________________________
> 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