Mosquitto tuning for real time continuous message delivery

314 views
Skip to first unread message

lilian brun

unread,
Mar 5, 2020, 8:17:03 AM3/5/20
to MQTT

Hi,

I publish one message every 20ms, but has a suscriber, i receive 10 messages at a time every 200ms.
I want to receive messages in real time every 20ms, one by one.

I'm in mqtt mode.

My concern is that i succeeded with a MacOS catalina 10.15.2 as a mosquitto broker with docker.
It didn't work on a linux debian, with exactlty the same mosquitto.conf (i either try with docker or not, with no luck).
Do you know which layer is involved in grouping messages every 200 ms ?

Debian version : 

Distributor ID: Debian

Description: Debian GNU/Linux 10 (buster)

Release: 10

Codename: buster


MQTT Status :

   Loaded: loaded (/etc/init.d/mosquitto; generated)

   Active: active (running) since Thu 2020-03-05 11:34:52 CET; 2h 39min ago

     Docs: man:systemd-sysv-generator(8)

  Process: 458 ExecStart=/etc/init.d/mosquitto start (code=exited, status=0/SUCCESS)

    Tasks: 1 (limit: 4471)

   Memory: 3.5M

   CGroup: /system.slice/mosquitto.service

           └─487 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf


mars 05 11:34:52 LIFINEO systemd[1]: Starting LSB: mosquitto MQTT v3.1 message broker...


I follows this link with no luck :

https://moonsyim.wixsite.com/performance/articles/mosquitto/mosquitto-tuning


Reply all
Reply to author
Forward
0 new messages