S5 E6: Streaming Video from the Edge: How Raven Built a Real-Time Telematics Platform with Braden Stenning [0:00:01] Braden Stenning: And so we had some UX problems with our initial product. Where we went to is we moved to having a tablet that we could attach to the process that would have a very lightweight UX. And this is where maybe one of the bigger trade-offs happened, which was just how simple we wanted to make that user experience. experience. We use a lot from lean manufacturing, and in lean, if you're not doing something value added, then you're losing time, and an operator typing something into a computer, you know, you have to question whether that's value added or not. My name is Braden Stenning, and I'm the co-founder and CTO at Raven. [0:00:47] Noah Labhart: This is Code Story, the podcast bringing you interviews with tech visionaries who share in the critical moments of what it takes to change an industry and build and lead a team that has your back. I'm your host, Noah Labhart, and today, how Braden Stenning [0:01:06] Clip: built the best system [0:01:07] Noah Labhart: to account for every second All this and more on Code Story. Braden Stenning has always been interested in technology. His earliest memories include the desire to be an aerospace engineer, to be the guy to build the spaceships. He spent a lot of time exploring computers, being interested in math and science, and even founded a high school robotics team. This really opened his eyes to software development as a career side of him. He's a curious person who often has a plan and keeps his eyes open for what is happening around him. He did his undergrad at Carleton University studying aerospace engineering and he realized he really loved school, so much so that he got his PhD from the University of Toronto. At school he met his wife and they decided to stick around Ottawa. They love to spend time outside in the green space, as he puts it, getting their two boys outside or walking the dog. Through some project ideas he was working on and networking in the tech space of Ottawa, he was introduced to his co-founder, Martin Cloake. Together, they combined ideas around machine telemetry and the next level of insight into continuous improvement. This is the creation story of Raven. [0:02:29] Braden Stenning: Raven, we are helping manufacturers and people that work at manufacturing manufacturing be more productive, more efficient with their time. We help them understand what actually happened, get a record, the truth of what it was, and then be able to understand how they can improve or what they can do to, you know, avoid losses in the future. So if we think about manufacturing, one of the ways we can think about it is how are you spending your time? Time is always ticking. You know, once you've lost a second, you've lost that second. And so manufacturing, it's often very focused on how do you build a really stable production process, producing high quality at the target rate and how do you keep it going? And that means understanding when it stops. So we have a framework that we work with our customers on how they think about losses, helping fill out those losses, helping provide that instantaneous feedback, helping do reactive and proactive work with them so that they can make more efficiently with the same people, same processes, or when they're looking to scale, they can maintain their productivity that they have. When we moved to Ottawa, I was actually still working at U of T. I was a postdoc. I was an instructor for a fourth year space systems design course. and I was sort of halfway between Toronto and Ottawa. I was commuting back and forth and for those not aware it's about a four hour, four and a half hour drive. That wasn't working for me and so I started to kind of work on some problems that I was interested in and I was doing autonomous systems for my research and one of the things that was interesting was how do we monitor the state of one of these things if there's nobody around or if there's nobody around who sort of is paying really close attention to it. And so I started working on some project where I was doing a state estimation. Is the machine or the thing that makes sound, you know, which was what I was primarily using, operating well? Or does it have a problem? And so there are some really, you know, challenging things about that because the idea here was that I wasn't connecting into like a direct signal I was trying to infer. I think thought there was, you know, it was sort of a half half kind of hobby project, half thinking, hey, this could be actually something. I started to connect with the community here in Ottawa. There's a really great tech community, lots of founders helping other founders. And I eventually got introduced to my co-founder, Martin Cloake, who's our CEO here at Raven. And the person that introduced us said, hey, you should talk to Martin. He's an old friend of mine. He sounds like, you know, sounds like you're sort of thinking about something similar to what he's working on. And so Martin and I met up, we chatted, we met at some, you know, we crossed paths at events and sort of started thinking about collaborating. And sort of in the background, I was trying to see, OK, well, if I was going to turn this thing that I was working on into a product, I need a whole lot more than just me. And that was one of these things that really got me excited about meeting Martin, is that he was, you know, he was one of those complimentary people. bunch of other complementary people in his circle. He had a few people working on what was then called machine telemetry and it was largely just collect on off from machines and put it on a dashboard. We started talking and he recognized the value of that next level of insight into what was going on and we started sort of collaborating before he knew it. We were kind of working together on on the same product and it is one of those examples of where kind of I kind plan. But, you know, something better came along while I was working on what I thought I was, you know, going to be working on and realized that that was what I should move to. And so I made the decision to join up with Martin. And that was in 2014. And it's been it's been awesome. [0:06:34] Noah Labhart: Well, tell me about the MVP, that first version of the product you built, how long did it take you to build? And what sort of tools did you use to bring it to life? [0:06:45] Braden Stenning: Martin has a background in manufacturing and he always sort of had this vision for, he wanted to be able to see what was going on on the shop floor. And what we found is this is something that many, many people who work in manufacturing have thought about over the time. With us, we always have taken this approach where we want to be delivering code and new features, new functionality quickly. quickly. Martin had actually, when I joined, hired some people to help build a little bit of an MVP and they had sort of this dashboard built in Python that was able to collect data from, they had these Arduino based data collection devices that they could attach to machines. And so that was sort of the starting point, but those were sort of a couple, that was a couple months worth of work to prototype it and try to get it into some places. When I came in, I wasn't looking to replace that directly. My expertise was more in the algorithms, the data side rather than the infrastructure side. So we took that Python web server and we tried to make it work. Very quickly we ran into some scaling problem. problem. Couldn't process the data fast enough, couldn't load the data fast enough. And it became clear that we kind of needed to revisit that infrastructure piece. Our attitude on this stuff is what can we do to incrementally deliver results, incrementally improve and what do we have, what are the skills or the tools that we have ourselves to prove out the idea. We recognize we weren't at product market fit at that time. So it It was all about trying to find that product market fit. [0:08:33] Noah Labhart: With any MVP, Braden, you have to make certain decisions and trade-offs, right? Either feature cut or technical debt. And you kind of touched lightly on a few things in there, but I want to dive in a little more. Tell me about some of those decisions and trade-offs you had to make in the short term and how you cope with them. [0:08:54] Braden Stenning: You know, I think we've had sort of several passes at the MVP here. what I described was sort of the very, very first pass. And the next pass, we sort of recognized where, you know, not only were we having performance problems, we were having engagement problems. We always sort of envisioned our product as being something that helped operators, helped supervisors, helped people on the shop floor do their job better. And it was about lifting those people up and, you know, this idea of what can software do well that helps people do the thing that they do well, better. And so we had some UX problems with our initial product. And where we went to is we moved to having a tablet that we could attach to the process that would have a very lightweight UX. And this is where maybe one of the bigger trade-offs happened, which was just how simple we wanted to make that user experience for the operators. We use a lot from lean manufacturing And in lean, if you're not doing something value added, then you're losing time. And an operator typing something into a computer is, you know, you have to question whether that's value added or not. If it's not something that is physically in the product or something, you know, one of the tests would be like, do your customers pay money for this? You know, it's like, do your customers pay money for your operators typing something into the screen? The answer is usually no. know, they pay money for the product, right? So we really wanted to have almost no effort on the operator's part, which meant just quick taps and we didn't get necessarily full context, but we would try to make up for that full context by making it really easy and getting more complete context. The way that we dealt with that is we convinced ourselves that that was a reasonable take. cake. We crafted that story and then we worked on making the thing that we decided to make work well. So from [0:11:06] Noah Labhart: that point, you've got the product and you decided what you wanted to make work well. And then at that point, I'm sure you started to progress the product. How did you go about that? How did you go about maturing the product? And I think I'm also interested in how did you build your roadmap and decide, okay, this is the next most important thing to build? [0:11:32] Braden Stenning: So we've always been very responsive to our customers. And the way we've done that, we've kind of two main approaches, listening to our actual customers, working closely with them, And also adding people to our team who would be our actual customers. And, you know, Martin being one of these sort of like examples, you know, he would have been a customer of Raven had Raven existed before he started it. And we've got a bunch more people like that, too. So we, you know, we have that strategic vision inside the organization and we validate that against what our actual customers want. So we've always had kind of a roadmap of the sort of strategic items that we want to do. we're very kind of fluid or flexible on that to the extent possible, you know, technically, to try to pull pieces forward for specific customers to get them kind of succeeding in the way that they want to succeed. It's been, you know, an effective way to do it. And I think we've learned a lot along the way. And there are some things that have not changed in all the years that we've been working on this in terms of the vision. And then there are other parts that have have absolutely changed. I think both of those, you know, the things that haven't changed are proven that, you know, we got it right. And the things that changed, you know, we want to be listening to what people actually want. [0:12:57] Noah Labhart: Okay, we've talked about roadmap. Tell me about team. How did you build your team? And what did you look for in those people to indicate that they were the winning horses to to join you. [0:13:09] Braden Stenning: This is something that is one of the most important things that we've done and the reasons why, you know, Raven is successful right now. And that's that getting those right people on the team. First of all, I say like, we have a lot of really kind people, really smart people, really kind people, really motivated people. We've really emphasized ownership throughout the team. not always quick to kind of see the results of that, but we do see the results now and it's incredible. So when we're looking to add to our team, we're looking for people who have that potential for leadership, that ownership of the particular area of the technology or the organization that they're going to be working in. People who are motivated and curious to keep going, people who are flexible thinkers, people who can communicate well and communicate in a way that lifts people up and encourages more communication. So we want people who encourage other people to provide their input, right? So if you're well-spoken and have great ideas, that's wonderful. But can you help the rest of the team get their ideas out there in a way that's understood and it's effectively contributed? Of course, we do want to see some technical, you know, a high level of technical skill. to have worked with the specific stack that we work with. That's not, you know, we don't look for specific technologies because we do figure if somebody is, you know, effective problem solver and smart and can be productive in one ecosystem and they care and they're motivated, then they're going to pick it up quickly and work with the tools that we work with. [0:14:57] Noah Labhart: So in what you're talking about, as far as bringing people in to fit your team as a specific type of culture, How are you going about protecting that team culture and ensuring that people that come in the door adhere to that? [0:15:12] Braden Stenning: You know, the last years have been, I think, really good from a perspective of organizations and societies talking about culture and values. And how do we, you know, how do we mold an organization that we're proud of? We are proud of our organization and how our team works and we are also constantly trying to improve it. You know we look hard at our values and when we look to somebody joining the team you know we used to use the kind of the phrase is it a cultural fit and now we don't use that one we kind of think of it as a cultural add. You know we're always looking to grow the culture in a way that everybody wins you know we're not looking for people who think exactly like the way we already needs to be, you know, a certain amount of overlap. But it's really exciting when we bring in people who kind of share those common values of respect and continuous improvement, who come in with some different perspectives on other things and challenge the rest of the team in an effective way to improve. So, you know, we are looking to push our culture to grow it, to evolve it from that common core. And part of that is that we talk about culture. We talk about the things that are effective or that are not effective, both in general terms and in our specific teams. And we continuously work on it. It is a conscious, deliberate practice. [0:16:46] Noah Labhart: Let's flip to scalability. Did you build this to scale efficiently from day one? Or were you fighting this as you grew and gained traction? [0:16:58] Braden Stenning: One of the things that we wanted to prove was that we had a product that was worth building. And from a technology perspective, I think it's a very large stack that we try to do. We try to do the end-to-end thing from data collection to data cleaning to get to the truth, to the analytics, to the insights, to the feedback, to operators. And so there's just a very large technology stack. So when we build our technology, we would try to pick an architecture that is extendable or extensible and that is flexible. And we wouldn't necessarily build all the scalability into start, but we would try to leave ourselves the options. From a product perspective, when we built our product, we did think about scalability absolutely from the beginning. We wanted to be able to help operators at an individual process. We wanted to be able to help the corporate executives overseeing 100 plants that might have hundreds of production processes each. And so thinking about that product scale was something that we did from the beginning. Thinking about the technical scale was something that we considered but didn't necessarily always implement. When we'd hit the limits, and that was through continuously monitoring the performance of the system, we would go back and we would adjust. For our particular case, it's an appropriate way to build it. You know, small team looking to move quickly, deliver quickly. And it's about that speed of providing value to our customers. So [0:18:25] Noah Labhart: it sounds like you started out building in such a way that you could prove out the product, but you architected it to where you could scale easier later on down the line. Is that right? Yeah, [0:18:38] Braden Stenning: and we're continuing to do that. changes and we're continuing to make those changes. In the last couple years here we've really found a lot of great product market fit where our customers are you know they want they want things they want them they want them quickly and building in that flexibility into the technology is something that we you know we now architect in that flexibility and that quick you know that speed of being able to adapt and tailor it to them you know we're building a build the product that's flexible because that's what we need in this market. [0:19:19] Noah Labhart: Well, as you step out on the balcony and you look across what you've built, what are you most proud of? [0:19:26] Braden Stenning: So I think there's two things. And the first is absolutely the team. I think the growth of the team has been amazing and seeing the individuals, how they've taken on new responsibilities and how the organization itself, the culture, that kindness, that curiosity, that drive to be better people, better engineers is really amazing. And also, our president likes to post these things. He gets text messages from some of our bigger customers talking about when they hit records in terms of their productivity for a day. you know, their effectiveness going from single digits to high 70s in the course of, you know, less than 18 months, which is amazing, right? And so seeing those cases where our customers are so excited that they call our president and say, Max, look at this, what a day we've had, that's pretty exciting. Because that's the other thing, which is like, we're making those people's days better, right? When we help them produce like that. [0:20:33] Noah Labhart: Let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it. [0:20:40] Braden Stenning: So this is one of these things that we specifically talk about in our culture. We've all made mistakes of varying degrees and I can think of cases where we've accidentally deployed wrong pieces of software or deleting a node where we intended to upgrade a single pod or something like that. The amazing thing, whenever we have one of these issues that comes up, I love jumping in, whether it's a Discord room or a Slack call or whatever, or back when we could, it was over the shoulder. The team is just very focused on solving the problem in a non-judgmental way. after the fact we do failure causes inquiry where we go through what happened and realizing that we're part of a system here and it's not the individuals, it is the system. You know, when you mess up, your heart starts beating and you feel that anxiety, but you've got a whole bunch of people who are there with you trying to help get the system back up and then support you as we all learn from it and try to make the system more robust doesn't happen again. I [0:21:56] Noah Labhart: like what you said there about, you know, it's the system. We're a system, we're not an individual, so how do we fix the system? That's a good way to scope it when you have to have hard conversations or, you know, retros on an issue. So what does the future look like for Raven, the product and for your team? [0:22:18] Braden Stenning: Well, I think it's really bright. It's at a really exciting time for us right now. So we've grown about 30% in terms of the team in the last six months. And we're delivering features, functionality improvements at a faster pace than we've ever done before. The potential is enormous in this industry. There are, and I forget the number here off the top of my head, there are hundreds of thousands of manufacturers in the world. it's a it's a huge part of the economy and there is huge potential for improvement so we see a lot of a lot of great things happening here in addition neat story here at the beginning of the pandemic one of our first employees or i think he was technically the first employee gave us a call and he's now a surgeon and he said hey i think i think raven could be you know useful in our our operating rooms, at our hospital to help us with our, you know, COVID protections to keep our staff safe and also to just help us be more productive or, you know, use this sort of scarce resource more effectively. And so we've been, you know, looking at how that works and we now have sort of a variation of our product installed in an operating room, which is pretty neat. And we do see, you know, at its core, we're trying to help people use their time better, They use their resources better, and that's not just manufacturing, but it's also a lot of other areas. Manufacturing stuff is super exciting, and that's our core, but we do see this potential for growth and expansion into these other areas as well. [0:23:56] Noah Labhart: With the product, you're surfacing a lot of really important information for manufacturers or medical places to understand their equipment and understand what's going on in their environment. Do you see a part of your product hooking into an ecosystem that could automatically trigger other, you know, systematic operations based on that feedback? [0:24:29] Braden Stenning: You know, it's something that we're curious about. So we, you know, coming back to trade-offs and deliberate choices, you know, we've to date not done a lot of direct feedback into the manufacturing systems. control machines directly, that helps us with our, keep the architecture simpler and reduces certain types of risks. That said, that's something that is always been sort of this eventual endpoint, that deeper integration, because there's just so much information that is available on the shop floor that feeds into other parts of the business, whether it's planning and scheduling or supply chain or the broader financial perspective of a business, right? These are all obvious extensions of what's happening on the shop floor. So we do see it. It's exciting, exciting potential. [0:25:24] Noah Labhart: Let's switch to you, Braden. Who influences the way that you work? You know, CEO, CTO, architect, really any person. Name a person you look up to and why. [0:25:36] Braden Stenning: Well, I think that, you know, like one of the people that really does it a lot of influence on me is Martin Cloake, so our CEO here. You know, Martin and I didn't know each other before we started working together, which I think is an unusual or maybe not the typical advice for co-founders where, you know, you sort of say, make sure, you know, you know this person and you can work with them. Starting a business is hard and stressful. But Martin and I have found a really fantastic way of working together and, you know, those core values of wanting to make something that's excellent and really respecting the people that we're working for, working with. I also think we've sort of established some really neat ways of communicating and I appreciate when Martin presents me with or challenges a view that I have and lets me shift gears in my brain. I think there was a time I remember recently here where he kind of challenged me on a particular thing. And, you know, it's not always easy to change your mind on something that you're sure about. But, you know, we can do that with each other. I appreciate that. [0:26:55] Noah Labhart: Well, we talked about mistakes, but a little bit different spin. If you could go back to the beginning, what would you do differently? Or where would you consider taking a different approach? [0:27:06] Braden Stenning: I think there's some technology decisions that we made. In hindsight, we had more time in those early stages than perhaps it felt like we did. And so some of our technology shift over the last couple of years, we've moved away from Python. It's still a big part of our back end, but we've moved a lot of our data pipeline to Elixir and saw some of these performance issues, optimizing for developer joy, which is also a good way to get more productive. Things like that, that I actually recall somebody suggesting Elixir to me a long, long time ago, and I kind of didn't get it at the time. And I regret maybe not digging deeper to understand why they were suggesting it. As a consequence too, too, we've sort of drifted to more microservices that I think are necessary. And we've been over the last couple of years sort of cleaning up some of that to make it simpler. Again, coming back to the small team, when you have a small team and a whole bunch of services, you end up not having necessarily a lot of coverage, a lot of people that are really familiar with each part, which makes it more difficult to be productive and share that load. And so we've been moving to more, you know, still keeping these loosely coupled elements of the system as much as possible for flexibility and sort of ease of changing one piece, but also pulling things into fewer repos. And I think we, you know, coming back again, we didn't deliberately make the emphasis on ownership until, you know, a couple of years in. And it was there and we definitely had it happening, but we weren't consciously working on it. And I think that's sort of this like, well, I wish I could be the person I am today, you know, a long time ago, right? With those insights and experience and maybe even more so, I wish I could be the person that I am, will be 10 years from now. [0:29:12] Noah Labhart: Well, last question, Braden. 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 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 [0:29:29] Braden Stenning: first i would i'd like to listen i always you know like to i there's there's like seeing that when somebody is excited about something that they're on, then I just, I like to, I like to see that excitement and hear about it. You know, I'm also cautious about giving too much advice. I think I tend to prefer kind of relating my experience and recognizing that, you know, it doesn't necessarily apply to, to everybody. And in fact, the exact opposite may be better for an individual, but, you know, I think kind of recognize that for for me, some of those most impactful things that have happened in my life and in my career have happened while I was working, you know, towards one goal and then a new opportunity came up. And yeah, at the balance of, you know, I would want to make sure that that person who's built that next big thing, if they are building it and going forward and they are committed, that is great. If they are building something great and there's other new things that come up along that are more more important, whether that's career-wise or life-wise, don't miss out on those elements. That said, there is also the time where, you know, you stop looking around. You just got to focus on the thing that you want to get done. More generally, keep growing as a person. Keep building empathy. Stay curious. Keep learning. [0:30:58] Noah Labhart: That's great advice. Well, Braden, thank you for being on the show today. creation story of Raven Telemetry. [0:31:06] Braden Stenning: Thank you, Noah. It's been my pleasure. [0:31:09] Noah Labhart: And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. Support the show on patreon.com slash Code Story for just five to 10 bucks a month. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.