Hi Julien,
I've checked connectivity between containers and it's pretty OK I suppose:
[root@00d6f18e94c8 /]# iperf3 -c worker-service
Connecting to host worker-service, port 5201
[ 4] local 172.19.0.5 port 47318 connected to 172.19.0.6 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 623 MBytes 5.23 Gbits/sec 1 827 KBytes
[ 4] 1.00-2.00 sec 832 MBytes 6.98 Gbits/sec 0 882 KBytes
[ 4] 2.00-3.00 sec 391 MBytes 3.28 Gbits/sec 0 959 KBytes
[ 4] 3.00-4.00 sec 405 MBytes 3.40 Gbits/sec 0 959 KBytes
[ 4] 4.00-5.00 sec 494 MBytes 4.14 Gbits/sec 0 959 KBytes
[ 4] 5.00-6.00 sec 884 MBytes 7.40 Gbits/sec 0 1003 KBytes
[ 4] 6.00-7.00 sec 521 MBytes 4.38 Gbits/sec 0 1003 KBytes
[ 4] 7.00-8.00 sec 726 MBytes 6.09 Gbits/sec 0 1.01 MBytes
[ 4] 8.00-9.00 sec 905 MBytes 7.59 Gbits/sec 105 727 KBytes
[ 4] 9.00-10.00 sec 549 MBytes 4.60 Gbits/sec 50 663 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 6.18 GBytes 5.31 Gbits/sec 156 sender
[ 4] 0.00-10.00 sec 6.17 GBytes 5.30 Gbits/sec receiver
iperf Done.
[root@997657494c6f /]# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 172.19.0.5, port 47316
[ 5] local 172.19.0.6 port 5201 connected to 172.19.0.5 port 47318
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 567 MBytes 4.75 Gbits/sec
[ 5] 1.00-2.00 sec 867 MBytes 7.27 Gbits/sec
[ 5] 2.00-3.02 sec 393 MBytes 3.25 Gbits/sec
[ 5] 3.02-4.01 sec 403 MBytes 3.40 Gbits/sec
[ 5] 4.01-5.00 sec 460 MBytes 3.88 Gbits/sec
[ 5] 5.00-6.00 sec 887 MBytes 7.44 Gbits/sec
[ 5] 6.00-7.01 sec 550 MBytes 4.58 Gbits/sec
[ 5] 7.01-8.00 sec 696 MBytes 5.88 Gbits/sec
[ 5] 8.00-9.00 sec 912 MBytes 7.64 Gbits/sec
[ 5] 9.00-10.02 sec 586 MBytes 4.81 Gbits/sec
[ 5] 10.02-10.04 sec 2.25 MBytes 1.18 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.04 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.04 sec 6.17 GBytes 5.28 Gbits/sec receiver
^Ciperf3: interrupt - the server has terminated
Also I started 2 processes not in docker and received 8 - 10 seconds. After I increased memory for docker, time reduced to the same 8 - 11 seconds.
I understand that eventbus is designed for processing small data packets, but results for this simple case (no traffic, one not too big file not too often) look strange.