New every Friday: the week's best founder lessons in one email. Subscribe free
Back to All Episodes
S9 E8: Mosquitto, the Open Source MQTT Broker, with Roger Light of Cedalo
Jan 23, 2024 21:15 S9 E8

S9 E8: Mosquitto, the Open Source MQTT Broker, with Roger Light of Cedalo

0:00 / 21:15

About this episode

Roger Light lives in the midlands of the UK. He has his PhD in Electrical Engineering, and post graduating, he did research, then taught. But in parallel, he worked on hobby projects that eventually led him to a new venture. Outside of tech, he is married with 4 young boys and a dog - so he mentioned things get a little loud and crazy at home. He loves spicy food, but has been enjoying the visit to the local carvery lately.

In 2009, Roger attended a conference on iOT, MQTT, and how it was being used to track electricity monitoring. What he realized was that an open source version of management software didn't exist. He happened to be looking for a project at the time, and thought "this should only take a couple of months".

This is the creation story of Cedalo.

Sponsors

Links

Times are from the episode recording; ad breaks in your player may shift them a bit later.

Read the key answers from this episode, with quotes and timestamps from Roger Light from Cedalo: https://www.codestory.co/episodes/s9-e8-the-iot-data-backbone-engineering-ultra-lightweight-mqtt-architectures-and-scaling-critical-edge-infrastructure-with-roger-light-creator-of-eclipse-mosquitto-co-founder-of-cedalo/



Current Sponsors:

Checkout our Substack

Checkout our Stacklist!

Checkout our Patreon!

Hosted by Noah Labhart.



Our Sponsors:
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai
* Check out Perplexity: https://pplx.ai/codestory


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Featured Guest

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • A Two-Month Project, 14 Years: After a 2009 talk showed MQTT relying on a proprietary IBM server, Roger Light set out to build an open source version. He expected it to take a couple of months and was still working on it 14 years later.
  • Copying Has Long-Term Costs: Modeling Mosquitto on IBM's small implementation helped prioritize features, but copying its unstructured config file format became a long-term headache that Light hopes to replace.
  • Single-Core Performance First: Mosquitto wasn't designed with scale in mind, yet Light's benchmarks show it on one core outperforming competitors on six to eight. Clustering was in progress and multi-threading planned.
  • From Hobby to Enterprise Roadmap: At Cedalo, priorities shifted to MQTT 5 support, then easier management, including on-the-fly authentication and authorization changes, and enterprise needs like monitoring, high availability and reliability.
  • Consider Commercializing Your Side Project: Looking back, Light says he might have started commercializing Mosquitto himself. He urges builders who don't see themselves as entrepreneurs to consider doing something with what they've made.

Frequently Asked Questions

Why was the Mosquitto MQTT broker created?

Roger Light attended a 2009 talk where MQTT's use depended on a proprietary IBM server, and he was looking for a project, so he decided to build an open source version. He recalls thinking, "That seems like it might take a couple of months maybe and then I'll be done with it." [03:56]

How does Mosquitto's performance compare with other MQTT brokers?

Roger Light says Mosquitto does well in single-instance comparisons, although horizontal clustering was not yet available at the time of the interview. In his past benchmarks, it ran on a single core against competitors "running on six, seven, eight cores, and Mosquitto's outperforming it, outperforming them." [12:58]

What design decision does Roger Light regret in Mosquitto?

Light regrets copying the very unstructured config file format used by the IBM implementation, which Mosquitto still uses. He says it was an easy thing to do in the short term, "something there to copy, but has been a bit of a long-term headache." [07:38]

Where is Eclipse Mosquitto used in the real world?

Roger Light mentions an electricity company in Iceland that adopted it early, as well as hobbyist sensor projects. He also shared that "some of the signalling on the UK Rail network is running off Mosquitto" [14:48].

What has Cedalo focused on when developing Mosquitto?

According to Roger Light, the early focus was better coverage of the MQTT specifications, especially version 5, followed by usability and enterprise features such as monitoring and high availability. He described the usability goal as "trying to make it a more pleasant experience for people to use" [09:08].

Media List 5000, Podcasts, Fall 2026