Back to All Episodes
S2 E17: An MQTT Broker for Large-Scale IoT with Dominik Obermaier of HiveMQ
Jun 02, 2020 37:49 S2 E17

S2 E17: An MQTT Broker for Large-Scale IoT with Dominik Obermaier of HiveMQ

0:00 / 37:49

About this episode

Growing up in a small rural city in Germany, Dominic Obermaier was not exposed too much when it comes to computers. After studying computer science in college, he was hooked. A frequent reader of ancient philosophy, he likes to hang out with friends and play board games, specifically long-lasting games such as Arkham horror. Obermaier started a company with his college friends with the goal to broker data from connected devices, and not just a few, but millions following his very own standardized IoT protocol MQTT. This solution is now known as HiveMQ.

Today’s Sponsors:

Episode Resources:

Leave us a review on Apple Podcasts

Amazing tools we use:

  • If you want the best publishing platform for your podcast, with amazing support & people – use Transistor.fm
  • Want to record your remote interviews with class? Then, you need to use Squadcast.
  • Code Story uses the 1-click product ClipGain, sign up now to get 3hrs of podcast processing time FREE

Credits: Code Story is hosted and produced by Noah Labhart, Co-produced and edited by Bradley Denham. Be sure to subscribe on Apple Podcasts, Spotify, Pocket Casts, Google Play, Breaker, Youtube, or the podcasting app of your choice.

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 Dominik Obermaier from HiveMQ: https://www.codestory.co/episodes/s2-e17-enterprise-mqtt-brokers-and-large-scale-iot-messaging-with-dominik-obermaier-of-hivemq/



Current Sponsors:

Checkout our Stacklist! https://stacks.codestory.co/

Check out our Patreon!

Hosted by Noah Labhart | Technical Founder & Startup Mentor.



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

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • Built for IoT Scale: Dominik saw that train connectivity projects relied on technology designed for the human internet, like HTTP. HiveMQ pivoted in 2014 around a commercial, cloud-ready broker based on the MQTT protocol.
  • Simplicity Before Scalability: The three-month MVP had no graphical interface and handled only tens of thousands of connections. The team prioritized ease of use and high availability for operators to test whether demand existed.
  • Rewriting the Core: Third-party clustering capped HiveMQ at about 50,000 to 100,000 devices, so the team rewrote the core. At larger scale, it found cloud providers' networks became the limiting factor.
  • Testing at Massive Scale: An in-house simulator can mimic tens of millions of devices on real infrastructure. Quality test suites run basically all the time because small code errors can cause catastrophic problems for customers.
  • CTO Out of the Code: Dominik jumped back into coding during a time-pressed major rewrite. His rusty skills and working outside the Kanban process hurt quality and nearly delayed the product, until the team stepped up to ship without him.

Frequently Asked Questions

How are MQTT brokers different from traditional message queues?

Dominik Obermaier explains that classic queues offer features like transactions and suit inter-service communication, while MQTT brokers are built for huge numbers of IoT devices, with some trade-offs. In his words, "these MQTT brokers, are fundamentally different from classic message queues people have used since the 1980s" [04:40].

How many devices can HiveMQ connect?

Dominik says HiveMQ customers send hundreds of thousands or millions of messages per second, and the team aims to eventually reach 100 million devices. As he put it, "our customers use our product to connect more than 10 million devices" [05:41].

How did HiveMQ solve its early scalability limits?

The team found that third-party clustering technology held the software back, so it changed the foundation and invested in distributed systems research, including work with universities. Dominik said they "basically rewrote the core of our software and we did a lot of research" [21:27].

Can HiveMQ run on-premise and in the cloud?

Yes, HiveMQ started as on-premise software that customers also ran on public clouds, and it now offers a managed service as well. Dominik said that with it, "our customers don't need to install anything on their own infrastructure, but we run it" [13:33].

What advice does HiveMQ's CTO give startup founders about product-market fit?

Dominik Obermaier advises building an embarrassing MVP, selling early, iterating on customer feedback and bootstrapping if you can. He says the best way to validate "that product market fit is actual customers paying you money for it" [35:15].

Media List 5000, Podcasts, Fall 2026