[zeromq-dev] High throughput test on TCP & EPGM

Doron Somech somdoron at gmail.com
Sun Jun 28 09:56:11 CEST 2020


Don't you want to multiply the rate by 8 as well? As it is bits?

On Mon, Jun 22, 2020 at 8:39 PM 董晓滨 <dongxiaobin0614 at 163.com> wrote:

> Hi, everyone !
> I want to use zeromq pub/sub to transport large size msgs (e.g. images
> data).
> I did the below test in python environment:
> 1. send different sizes of msg (from 2kb - 16mb) with random data
> 2. one publisher in one docker container, and one subscriber in one other
> seperate container
> 3. calculate the total data size and time, to estimate the throughput
> (total size / time) in MB/s
>
> tcp have good performance, but epgm I only got 20M/s throughput even after
> I set the socket.rate, hwm ... Just want to know the reason. I hope I can
> use epgm because it is multicast protocol which should have advantage than
> tcp in multi subscriber cases.. test result have been shown below and test
> code has been attached.
>
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200628/bdb7868f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 70512 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200628/bdb7868f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 131719 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200628/bdb7868f/attachment-0001.png>


More information about the zeromq-dev mailing list