Post Ayultvar55R3FeSBaS by nobodyinperson@fosstodon.org
(DIR) More posts by nobodyinperson@fosstodon.org
(DIR) Post #AyslkRPFYg7Qhma8QK by whynothugo@fosstodon.org
2025-10-05T00:25:57Z
0 likes, 0 repeats
Is there any lightweight #mqtt server which I can use on a production host? I don't need ultra-high scalability; I'll have less than a dozen clients, pretty low scale.I want to avoid rolling my own, but can't find anything lightweight and simple.
(DIR) Post #AyslkT6BGY3NxDfvyi by whynothugo@fosstodon.org
2025-10-05T00:27:51Z
0 likes, 0 repeats
From the description, nanomq seems to fit my needs, though I'm low-key concerned that an "ultra-lightweight" implementation is 33k LoC.
(DIR) Post #AyslkUR8I8PK6UUBH6 by whynothugo@fosstodon.org
2025-10-05T00:33:43Z
0 likes, 0 repeats
Scrub that, it has over a dozens of dependencies, and uses unreleased versions of a lot of them. Packaging this is gonna be impossible.
(DIR) Post #AyslkV5XrsjY7pOSGW by i@declin.eu
2025-10-05T00:38:12.175529Z
0 likes, 0 repeats
@whynothugo https://github.com/mochi-mqtt/server is only 10k lighter iirc, but the packaging story might be easier on account of not being a c project
(DIR) Post #Aysm2E95bFZin4VIrw by tyler@nicecrew.digital
2025-10-05T00:41:27.753674Z
0 likes, 0 repeats
ntfy.sh
(DIR) Post #Ayultvar55R3FeSBaS by nobodyinperson@fosstodon.org
2025-10-05T02:25:40Z
0 likes, 0 repeats
@whynothugo Is #mosquitto not lightweight enough? Have been using it for years on #RaspberryPi|s and it was never the bottleneck, even at high throughputs.
(DIR) Post #Ayultwf96cSgZFT7ui by whynothugo@fosstodon.org
2025-10-05T10:08:39Z
1 likes, 0 repeats
@nobodyinperson mosquitto is too immature and full of bugs. Example: any time a client disconnects, its CPU usage jumps to 100% *forever* (see: https://github.com/eclipse-mosquitto/mosquitto/issues/2807 ). I can reproduce this 100% of the time; has this not been an issue for you, or do you just have a dedicated host for it?