[zeromq-dev] Serializing messages
Min
miniway at gmail.com
Wed Dec 3 10:27:23 CET 2014
Hi,
My personal preference is MessagePack with gzip, but there would more than dozens of other options.
Try picking up several libraries and compare the performances.
Thanks.
Min
> On Dec 3, 2014, at 1:04 AM, George <ggitau at ilabafrica.co.ke> wrote:
>
> Hi,
> It seems like sending multi-part messages via zstr_sendx has severely affected my through put. When using zstr_send the throughput is about 300,000 messages per second but with zstr_sendx with about 6 messages that brings it down to about 30,000 messages per second.
>
> I want to send all the multi-part messages all at once as one message with zstr_send so that I can improve performance. Which is the best way to serialize these messages. I could append a semi-colon at the end of each message but this could easily be messed up by a message string that already has a semi-colon in it.
>
>
> _______________________________________________
> 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