[zeromq-dev] Can ZeroMQ be considered 'light-weight'?

Pieter Hintjens ph at imatix.com
Wed May 4 14:28:21 CEST 2016


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 <opedroso at gmail.com> 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
> <a.strooisma at student.utwente.nl> 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
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
> _______________________________________________
> 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