I went to a small unconference where one of the inventors of MQTT was giving a presentation on MQTT and how he was using it. It was only possible because of this proprietary IBM server that he had. And so someone in the audience said, this is great, it's the only option to use this proprietary thing. And he said, yes, that is the case, but it's freely available so you can use it. The specification's out there. So if anybody wants to implement an and then they can go ahead and do that. And I thought, okay, I'm looking for a project. That seems like it might take a couple of months, maybe. Here we are, 14 years later. I'm Roger Light, co-founder and senior developer at Cedalo.
This is Code Story,
a podcast bringing you interviews with tech visionaries.
Six months moonlighting. There's nothing like the bedcams.
Who share what it takes to change an industry.
I don't exactly know what to do. Who built
the teams that have their back. Keeping scalability top of mind. The stories you don't read in the headlines. To ride the ups and downs of the startup life.
It's not just about technology. All this and more.
on Code Story. I'm your host, Noah Labhart, and today, how Roger Light is building the platform to empower everyone to work with data in real time. Roger Light lives in the Midlands of the UK. He has a PhD in electrical engineering, and post-graduating, he did research, then taught. But in parallel, he worked on hobby eventually led him to a new venture. Outside of tech, he's married with four 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 for this 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.
The story of Mosquitto starts somewhat before Cedalo. So Mosquitto MQTT Broker is one of the two products that we have. The other one being StreamSheets, which is a no-code platform. for dealing with MQTT and other inputs and outputs in a sort of spreadsheet interface. Back in 2009, I went to a small unconference where one of the inventors of MQTT was giving a presentation on essentially on MQTT and how he was using it. And at the time, all of that stuff was particularly the electricity monitoring. There was lots of people interested in that sort of thing, but there wasn't really anything out there that you could do that with. It was all going nobody had heard of at that point. It was only possible because of this proprietary IBM server that he had. So someone in the audience said this is great, this is an open source conference, is the only option to use this proprietary thing? And he said yes that is the case but it's freely available so you can use it. The specifications are out there so if anybody wants to implement an open source version then they can go ahead and do that. I thought okay I'm That seems like it might take a couple of months maybe and then I'll be done with it. Here we are 14 years later still working on that on the same project. That part of it started, it got noticed by people. One of the things that I was quite amazed with at the time and I guess I still am actually is that companies started using it quite soon. There was an electricity company in Iceland picked it up and started using that in their product which was fantastic. When this person started emailing me saying we're using this, we've found this problem, can you help us out? And we're great. It's actually starting to see some traction. Five years ago now I got contacted by one of the original people that started Cedalo to say was I interested in coming along and helping build the company and developing Mosquitto So the StreamSheets product that they were working on at that time uses Mosquitto. So they wanted some extra control of that and to be able to further accelerate the development, basically. And also, as I've said, that's turned into the main focus of the company.
So tell me about the MVP, so that first version of the product you built. How long did it take to build and what sort of tools were you using to bring it to life? is going to be a big part of it, but give me the story there.
I guess every developer does this. You look back at the code that you wrote and think just how astonishingly naive it is. A couple of months I had essentially a client implementation, client library implementation, and a broker that could all communicate with itself, with each other, I should say. And since then, minimal feature sets, but the basics of the MQTT communication all working and then adding the extra functionality that actually makes it useful. So a couple of months for that. What tools did I use? It's written in C. I guess I'm a bit old-fashioned. I like using Vim for my editor and I can't buy it. Very much basics rather than using full Visual Studio IDE or something like that, doing the development on Linux primarily. That's the way I like it. it.
Let's stay on the MVP for a minute. You got to make certain decisions and trade-offs when you're building that first version of the product. Could be, you know, approach the technology you're using. And I hear some of that, you know, keeping it basic and how you built it and the tools you're using to build it. I'm curious about any sort of tough decisions and trade-offs you had to make during that MVP process and how you cope with those decisions.
I came at this problem from the the point of view of making a replacement for the small proprietary IBM implementation, which was available. So a lot of the design decisions in the initial instance were driven by wanting to replicate that. So the most obvious choice there being the very unstructured config file format that it was using, which Mosquitto now still uses. That's something that is, as I say, a bit of a regret because there are much better ways to have done things. So having the model of an application already there in place to build on gives you definite advantages because you can see the kind of features that you might want to implement and you can focus on ones that you think are more important. Leave the other ones till later but this idea of this unstructured config file has definitely been a decision which was an easy short-term something there to copy, but has been a bit of a long-term headache. In terms of coping with that decision as a project, we have tried to get documentation as clear as possible. And at some point, you've got to deal with that. I hope to change to a better config file format in the future.
So then you got the MVP, it's working. From that point, you start progressing and maturing the the product tell me about that process and what I'm curious about is how you built your roadmap and how you went about deciding okay this is the next most important thing to build or to address with Cedalo.
So I think that's the good way of looking at it when we talk about it from the Cedalo point of view. Prior to that there was not necessarily that much planning in terms of the roadmap. It was a hobby project essentially something would be this is interesting or maybe this is beneficial but no not necessarily as much direction as as you might hope for When I started at Cedalo, we decided what the plan was going to be there. The aim was really to improve the MQTT support, so get better coverage of the specs that are out there, because they've been the new version 5 specification came out, which wasn't supported. So that was a big focus, get that support properly into place and then to start to bring more user-friendly features in. So really trying to make it a more pleasant experience for people to use, make it so that it's just easier to use, easier to manage more particularly. So from the point of view of being able to make changes on the fly in terms of the authentication, authorization and having a bit of a bigger picture of what that looks like and how to make that nicer to use really. Since then we've been trying to put together features which are, I guess, for the paid customers which are interesting for paid customers. So we're interested more on the the enterprise side of things, monitoring, high availability. I've really tried to nail that stability and reliability kind of things. That sort of, as I say, real enterprise-driven side of things where it's not quite as interesting to the home market, but nevertheless is really very important.
So I'm curious about team, Roger, and this will be interesting because I think, Well, I won't make assumptions, but tell me about how you built your team. And what do you look for in those people to indicate that they're the winning horses to join you?
I guess I'm a little bit of a different case to most of your guests, because I've joined Cedalo as a co-founder rather than being either the founder or one of a couple of co-founders. So there are a group of us, and I've really been very much focused on the development side of things rather than on developing the company as an entity itself and developing the team. Having said that, we have been growing, so we have been recruiting, and generally our process has been to ensure that when we're recruiting onto a team, we want to make sure that there's a good fit for everybody, everybody, so we'll have technical interviews but also have a fit interview as possible to ensure that people can get on and are going to be able to work well together. I think that's worked quite well for us. We have a few different teams, a couple of development teams and marketing sales, all that kind of thing that you'd expect. Either we've been very lucky and everybody's nice and productive or we've just got really good processes to make sure that happens.
So let's talk about scalability. This will be super interesting. Was this built to scale efficiently from day one or with scale in mind, right? Or have you been fighting this as you grow and gain traction in any sort of capacity?
I guess the answer there is that it's not really been built with the scale in mind in the first instance. as I've suggested this was this started off as a side project where that wasn't really going to be a consideration but it turns out that the design decisions that I took as part of that as part of that process have been pretty efficient in terms of performance if you You compare to similar MQTT brokers that are out there. We do pretty well, actually, when you're comparing single instances against one another. If you talk about scaling horizontally, so going into cluster mode, then that's something that we are currently working on, but it's not there at the moment. I've done benchmarks in the past and Mosquitto running on a single core compared to competitors that are then running on six, seven, eight cores, and Mosquitto's outperforming it, outperforming them. We don't have that scale in quite the same way but nevertheless what you're getting with the performance of the broker is still outperforming other instances it's one of those things that But for many of our customers, most of our customers, the kind of performance that we can offer is more than adequate. It's one of those things that's really interesting, actually, when you talk to a customer as to what their expectations are in terms of performance. Some people will come along and be saying, we've incredibly fast message rate we've got. And it turns out in their industry that a thousand messages a second is like absolutely blistering. And at that point then, you say, okay, fine, this is no problem, we can do that without breaking any kind of sweat. We could do that on a Raspberry Pi. We're not going to, but we could do it on a Raspberry Pi and it'd be fine. So as I say, we've got the plans for the cluster. We are have also got plans for scaling to multi-thread, and at that point then we should absolutely knock everybody else out of the water, I think.
so as you step out on the balcony and you look across all that you've What are you most proud of?
I am astounded every day by how widespread Mosquitto use is. As an open source project, there's so much interest out there. And I've been to some trade shows and you talk to other companies there and they let slip that they're using Mosquitto. And OK, that's nice. When you find out things that's being used in just really cool places, It's just such a nice feeling to say, actually, that's the thing that I built. So some of the signalling on the UK Rail network is running off Mosquitto, which is just awesome. There's so many other things that people have told me that I can't remember. There's so many cool things. And then this is really trivial in some ways, but it made me so happy that I was away on a weekend with some friends. And there's a group of people I play some sport with and some of them I don't know as well. I was chatting to one of those guys, and he was mentioning how he was building some project or other, some electronic project. And he got some sensors, and he was using this thing called Mosquitto. And I was like, oh yeah, that's my project. I wrote that. And he thought that was the most amazing thing ever. And that kind of personal interaction that you can get unexpectedly someone's using your project is just so awesome. Absolutely love that.
Let's flip the script a little bit. you made and how you and your team responded to it.
So I've been thinking about this and already mentioned the big mistake of the design mistakes. And in terms of Cedalo, I can't think that there's a particular big mistake that we've made yet. It must be coming around the corner at some point, but we've done okay so far. Yeah, it's a bit of a tricky one to answer.
Okay, well, this will be fun. Tell me what the future looks like for the product and for your team.
Busy. I think that's something that is true. We've got more and more customers coming through. And if it's not every customer, it's certainly quite a few customers say, oh, it'd be nice if we could do X, Y, Z. Can we have that as well? And maybe we have a bit of a chat about it internally and say, actually, that would be a really useful feature. We should definitely do that. And so then it gets added to the list and we have our own plans, as I've said, like the high performance kind of things, which is a quite a big topic. So we want to focus on that, but it'll take quite a bit of time to get right. And you've got these little interesting things that come along. That was quite fun. I'd quite like to do that. Can we almost just take a couple of days of time just to go and do that one, please? Because that'd be quite good fun. So, yeah, I mean, there's just so many things we want to do. The high performance is a key thing. that we want to work on. Extending the idea that I already mentioned of making things easier to use. So adding in better controllability, adding in more integrations to other platforms so that you can get your data from the broker to MongoDB, Kafka. Those are things we've already got, but that sort of thing. The list is endless, really, about what we could be working on.
Okay, let's switch to you, Roger. Who influences the way that you work? or many persons or something you look up to and why?
You look around and there's loads of inspiring people. A lot of people who have done really impressive work and produced something just very impressive. The one that I would call out is Nick O'Leary, who used to work at IBM. And in his work at IBM, he was working in the MQTT technologies he was in, the lab there. One of the things that he developed almost on the side as well was Node-RED, which is the incredibly popular no-code tool for MQTT and Internet of Things. And he's managed to turn that from being this side project into an incredibly popular project. They have a conference for it. They've got their company, used to be called Flowforge, Yeah, so he turned it into a company, had apparently really good success, and he's just a thoroughly nice guy and does a lot of good work, it seems. And I'd like to be that good. It'd be quite nice.
Okay, we've got one more question, Roger. So you're getting on a plane, and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world. They can't wait to show it off to you right there on the plane. What advice do you give that person, having gone down this road a bit?
Maybe I could answer a slightly different question, because I think the person who is a young entrepreneur who's built the next big thing is already thinking about how they're going to take that thing that they've built and go do something with it. And I think there are probably a lot more people that are in the situation that they have built or have the idea for something that they want to build, but that aren't necessarily looking to be an entrepreneur in the first case. And that's, that was the situation that I was in. And if I was able to go back then and say, how could I do this differently, I might go back and say, okay, maybe I ought to take this idea that I've got and maybe try and start some of that commercialization myself and maybe try and develop that a little bit. I might be in a different situation now and so I would say to that person, not necessarily the entrepreneur, but the person sitting next to me on the plane who says, look at this cool thing that I've made, I would say maybe do consider taking that and trying to do something with it. It might be that if it is the next big thing but you're not necessarily thinking about it as that, you want to try and take advantage of that while you you can. And if you put that effort in, you may get a lot more back out.
That's fantastic advice. Well, Roger, thank you for being on the show today. Thank you for telling the creation story of Cedalo. Thank
you very much.
And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, or the podcasting app of your choice. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.