[zeromq-dev] zeromq-dev Digest, Vol 37, Issue 15
Steven McCoy
steven.mccoy at miru.hk
Sat Jan 8 19:12:48 CET 2011
On 8 January 2011 21:58, Thijs Terlouw <thijsterlouw at gmail.com> wrote:
> > From: "Santy, Michael" <Michael.Santy at dynetics.com>
> > Date: Fri, 07 Jan 2011 08:35:53 -0600
> > Subject: Re: [zeromq-dev] c struct as a zmq message
> > Does anyone have benchmarks for the overhead added by using protobuf with
> zmq?
>
> Take a look at MessagePack ( http://msgpack.org/ )
> It's very easy to use, supposed to be fast and has many language
> bindings; in short: a good combination together with ZeroMQ.
>
>
Wow, the performance testing code is amazingly broken, fixing the code gives
more expected results,
---- MessagePack serialize
0.171332 sec
99.1821 MB
4856.07 Mbps
---- MessagePack deserialize
0.146968 sec
99.1821 MB
5661.1 Mbps
-- Protocol Buffers serialize
0.109018 sec
99.5636 MB
7661.12 Mbps
-- Protocol Buffers deserialize
0.148854 sec
99.5636 MB
5610.87 Mbps
-- YAJL serialize
1.06792 sec
100.708 MB
791.071 Mbps
-- YAJL deserialize
0.762312 sec
100.708 MB
1108.21 Mbps
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110109/dfeae5f2/attachment.htm>
More information about the zeromq-dev
mailing list