My contribution to this project ends next week, as it was for my graduation, so I don't think this is the right time to switch IPC backends ;-) This question came up while working on my report, when I wanted to write something about using a light-weight library, when I realized I had no idea what that actually meant and if it was true. As I tried to point out in my original mail, and to which Osiris made a remark: I have no idea how to define light-weight in this context.
For this project I think the most important thing is the time it takes to create messages and to execute the zmq_msq_send calls, the latter of which I expect to be very short as the actual sending is handled on a separate thread, if I have correctly understood the ZeroMQ architecture. On 4 May 2016 at 14:28, Pieter Hintjens <[email protected]> wrote: > If you want a lightweight ZeroMQ client library that supports IPC on > Linux, look at libzmtp. It is 1.3K lines of code with no dependencies. > > https://github.com/zeromq/libzmtp > > On Wed, May 4, 2016 at 1:21 PM, Osiris Pedroso <[email protected]> wrote: > > I use ZeroMQ in Windows environment. > > > > This past week I ran Memory Validator on zeromq and I was surprised with > a > > hot spot of memory allocation. > > MV show that there is a 1Mb allocation happening over and over for every > > message read. > > > > This was done to fix https://github.com/zeromq/libzmq/issues/1608. > > > > You can see the fix here: > > https://github.com/zeromq/libzmq/blob/master/src/signaler.cpp#L515 > > > > So I guess you will have to better define what you mean by light-weight > > before one can decide it. > > > > > > On Wed, May 4, 2016 at 6:10 AM Ale Strooisma > > <[email protected]> wrote: > >> > >> Dear ZeroMQ community, > >> > >> I wonder if ZeroMQ, especially using the ipc protocol, can be considered > >> light-weight, and how this can be motivated/proven. > >> > >> An important point is of course what defines light-weight. I could just > >> run the performance tests, but that would just give me numbers of which > I > >> don't really know whether they are good. > >> > >> The reason I am asking this is that, when I started with ZeroMQ, I was > >> under the assumption that this was true, but I can't really find > anything to > >> back it up. Which I could well use to motivate why I chose to use > ZeroMQ. > >> > >> Kind regards, > >> > >> Ale Strooisma > >> _______________________________________________ > >> zeromq-dev mailing list > >> [email protected] > >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
