[zeromq-dev] Zero-copy message API
Ian Barber
ian.barber at gmail.com
Mon Apr 4 09:31:53 CEST 2011
On Sun, Apr 3, 2011 at 10:31 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
>
> As for renaming zmq_msg_data to zmq_msg_zerocopy, I would say that the
> actual semantics of the command is not "zero copy" but "user defined
> allocator". This has to do with the custom allocation on recv() side (as
> discussed recently on the list) as well. Let's see where the discussion
> will head.
>
> Martin
>
>
For my 2p, most of the people I see doing 0MQ with C/C++ are using init_data
for exactly this, with some simple slab type memory scheme going on, and
seeing notable speed improvements, so I think the practice is pretty
widespread.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110404/bd1a39c4/attachment.htm>
More information about the zeromq-dev
mailing list