[zeromq-dev] Newbee Question

Srinivas Kotamarti Srinivas.Kotamarti at genband.com
Sat Jan 18 21:44:13 CET 2014

Thanks for your help. I will try the tools !


From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Charles Remes
Sent: Saturday, January 18, 2014 8:48 AM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] Newbee Question

As a matter of fact, we have. On your machine you should run the local_lat/remote_lat and local_thr/remote_thr benchmark programs. You can specify the transport on the command line and measure how fast it is on your box.

On Jan 18, 2014, at 3:48 AM, Goswin von Brederlow <goswin-v-b at web.de<mailto:goswin-v-b at web.de>> wrote:

On Fri, Jan 17, 2014 at 03:18:00PM -0600, Charles Remes wrote:

Right now the IPC transport is build on top of UNIX sockets and does
not use shared memory. If someone were willing to write and contribute
the code to use a shared-memory approach, we would love to have it.
The ?roadmap? for zeromq is whatever the community wants it to be. If
someone wants to contribute a shared memory implementation for IPC
then we?ll merge it. No one is paid to work on zeromq full time.

So, aside from a few OS-level optimizations that might be in place,
IPC is about the same performance as TCP transport.

It would be difficult to say how zeromq performs in comparison to a
shared memory implementation. Someone would need to write a benchmark
to compare the two. I am not aware of anyone who has done that.

On Jan 17, 2014, at 2:25 PM, Srinivas Kotamarti <Srinivas.Kotamarti at genband.com<mailto:Srinivas.Kotamarti at genband.com>> wrote:

I had read the guide, from what I understand the inproc:// transport is for inter thread communication. What I am looking for is for communicating between processes on the same machine. Since shared memory is faster for communication between the processes on the same machine, I was wondering if ZeroMQ has a transport for shared memory.

My search on the dev-list couple of  discussions regarding the same and a possibility of 'memory mapped' file transport was  mentioned in the emails. So does ZeroMQ already have a transport for shared memory or in the plans for future?

How does ZeroMQ ipc transport perform compare to a shared memory based communication implementation?



-----Original Message-----
From: zeromq-dev-bounces at lists.zeromq.org<mailto:zeromq-dev-bounces at lists.zeromq.org> [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Goswin von Brederlow
Sent: Friday, January 17, 2014 5:37 AM
To: zeromq-dev at lists.zeromq.org<mailto:zeromq-dev at lists.zeromq.org>
Subject: Re: [zeromq-dev] Newbee Question

On Fri, Jan 17, 2014 at 02:44:20AM +0000, Srinivas Kotamarti wrote:

I am new to ZeroMQ. I have a bunch of questions !!

I was wondering if the ZeroMQ has an ipc for shared memory, if not does anyone know what is the best IPC to use for communication on localhost?

Is the ipc transport a unix domain socket?

How does ZeroMQ ipc transport perform compare to a shared memory based communication implementation?

Answers are greatly appreciated !


Read the guide and look for inproc://.


Implementation wise wouldn't that be just like inproc://, a simple
ypipe, except that the ypipe needs to be allocated in the shared
memory and messages and payload must be allocated there too or copied?

So how much faster is inproc over tcp? Has anyone benchmarked that?

zeromq-dev mailing list
zeromq-dev at lists.zeromq.org<mailto:zeromq-dev at lists.zeromq.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140118/8d88e922/attachment.htm>

More information about the zeromq-dev mailing list