Hi,
I’ve been struggling with poor performance of my snips satellite for the last couple of months following a year of no problems and I’ve now identified the cause. I use the mosquitto addon in its default configuration and the persistence mechanism can cause huge delays in messages being sent/received to the satellite. To be precise, when using a dormant snips satellite for the first time in a while the delays are large but following up quickly with subsequent interactions it is quick. However if you turn persistence off everything performs perfectly all of the time.
I’ve noticed that the persistence database in /data in the docker addon grows slowly so it’s not as if it is persisting a lot of data to disk which reflects the low memory usage of the mosquitto process. Although the host RPI is not under much load I’ve experimented by reducing it further but it makes no difference.
I’m using the latest version of the addon, so mosquitto 1.4.15. I note that the persistence mechanism has been used since the very first release of the addon. I can’t be sure of the timing but I think the drop in performance coincided with the November updates to the addon. Anyone else have experience with degraded mosquitto performance?
Thanks