[zeromq-dev] How to print multi part message

Pieter Hintjens ph at imatix.com
Mon Apr 8 22:16:44 CEST 2013


Hi Tufan,

Take a look at the zframe_print method in the CZMQ zframe module. That may help.

-Pieter



On Mon, Apr 8, 2013 at 7:06 PM, West Madison <8429oakmont at gmail.com> wrote:
> Hi,
>     I am stuck at a simple problem of printing a multi part string message
> in C++. Nothing seems to work the way I wrote. I see the correct length of
> the message is being received and dealer router mode. Any help with example
> would be greatly appreciated.
>
> Greetings,
> Tufan
>
> On Apr 8, 2013, at 11:34 AM, Steven McCoy <steven.mccoy at miru.hk> wrote:
>
> On 8 April 2013 12:13, Ori Barak <oribarak at microsoft.com> wrote:
>>
>> In my scenario I use push\pull sockets where the push socket’s endpoint is
>> a virtual IP (VIP) returning one of the physical machine’s IP behind the VIP
>> implemented by software load balancer. I use this reconnection pattern since
>> my service lives in an environment where the SLA is that 10% of the servers
>> might be down in any given time so to support the SLA I’m refreshing the
>> connection every once in a while and I reconnect to the VIP endpoint every
>> couple of seconds.
>>
>>
>
> Are multiple transactions are being sent to an individual node?
>
> Is it too expensive to roll every transaction to a different node?
>
> An idea would be a rolling window of target nodes that concurrently have a
> persistent connection and in the background you can renew targets.
> Engineering overkill perhaps.
>
> --
> Steve-o
>
> _______________________________________________
> 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