We also had SDK engineers, people who were supposed to write those cool and fun SDKs that are supposed to go into the interpreter, into the JVM runtime, and change stuff. I'm not sure about you, but I'm not familiar with many companies who have those kind of people, or with a clear job description for those. So we've hired from nearby areas. We've hired a lot of cybersecurity engineers, we've hired some embedded engineers. years, we've mostly hired people we felt were talented and knew enough about taking stuff apart and putting it back together to help us figure out together how do you change running code on the fly. I'm Liran Haimovitch. I'm a co-founder and CTO at Rookout.
This is Code Story, a 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 I'm with Liran Haimovitch, created a way for your development team to get real-time data from their production systems. All this and more on Code Story. Liran Haimovitch is 34 years old and recently married. He and his wife enjoy traveling and eating delicious foods together and, of course, taking care of their awesome dog. Although it's been a while, Liran loves to scuba dive and enjoys a great whiskey, scotch, or fancy cocktail now and again. He's recently gotten into trying to make them at home or seeking out the latest bar to try something new. Just over five years ago, Liran and his co-founder realized Every time you need to change the way you observe or log your application, you have to fully release that application. They applied their cybersecurity way of thinking and built a platform to enable the instant change to logging and observability. This is the creation story of Rookout.
Rookout, at the core of it, it's a dynamic observability platform, which is a long word. and you know it's very fancy sometimes marketing speak but for now let's think of Rookout as a live debugger as a kind of debugger that you can use in any environment not just on your laptop as you're writing code but you can use it in the cloud you can use it even for Kubernetes or serverless and you can go as far as using it in production in a safe and secure manner and that's kind of the magic and the concept behind Rookout. So Rookout got started about five years ago just just over five years ago, when me and my co-founder tried to make a huge dent, make a huge difference in how we develop code and how developer tools are built. And what we've seen is that the way you monitor your applications, the way we all monitor applications, is defined when we write them. Everybody's talking about observability and the three pillars of observability. And for the most part, you have to define your logs, metrics, and spans as you write the application. change them, you have to essentially write a new version of the application, you have to get it tested, you have to get it deployed. This can be a bit, I know, odd, because, you know, you've written a logline, and now all you want is one more variable to write, or that logline is in the wrong verbosity. And all of a sudden, you're deploying an entirely new version of your application. Now, whether it's a monolithic application, or a microservices application, or a SaaS or not SaaS, there is a lot of risk, a lot of work, a lot of toil that goes into delivering a new version. And at the end of the day, sometimes all you really want to do is flip a single bit in the application memory to get that piece of information you need. We've kind of taken our ex-cybersecurity mindset, skill set, approach to life and programming and kind of said, we can do it differently. we can build a tool, we can build a platform that will allow you to change a running application so that you could instantly get new logs, new metrics, new spans. You can even get full snapshots of the entire application state with a click of a button and without having to go through this tedious cycle of rebuilding and redeploying.
Tell me about the MVP, So that first product you built, how long did it take you to build and what sort of tools did you use to bring it to life?
I still remember that MVP, it was, you know, my co-founder and me in garage mode, just the two of us in his living room. We spent somewhere between two and three months building that MVP. And we actually pretty much built everything from the ground up in Python. We were fairly knowledgeable with Python. It felt like a good place to start. about 80% of that code base at this point in the company's life, and actually very little today, is still written in Python. But back then, it was good enough for us. So we started by writing an SDK for Python, a Python package that we dig into the interpreter, use various black magic, native extensions, unknown APIs, and kind of figure out how can we make that concept I've just shared with you a reality, something that can go into the interpreter and get a snapshot, of every little piece of code as it's running. Back then it was an MVP, it was just the two of us, so we actually focused a lot on code sharing. So a lot of the code for the SDK was also used for the server side components that managed it and provided the backend for the orchestration and that span up the UI, which we've written up with JavaScript, React, web-based. Now that front end component is pretty much one of the biggest pieces that are still remaining. Now, obviously, we've made tons of changes and tons of optimizations and various stuff, but still at the core of it, there is tons of similarity between that original React.js MVP and what we currently have today is the core UI for the platform.
With any MVP, you've got to make certain decisions and trade-offs about what you're going to start with, what you're not going to build, you're going to take on technically. Tell me about some of those decisions and trade-offs you had to make and how you coped with those decisions.
I remember early on, we were wondering a lot about the protocols. How is that SDK that has to be deployed everywhere is going to be communicating with the backend that has to be managing it? Now, there are tons of restrictions that you have to think about and tons of considerations. Some of them we didn't think of well ahead of time. be about how do you embed that code in somebody else's application after all it's an SDK so you have limited control of the environment how do you encode how do you know how much data is going to end up running on those protocols how fast are they going to be what's the latency we've made some good choices we've made some bad choices for instance we've opted in for using gRPC back then Then, gRPC was not only less popular than it was today, but it also brought to light a few challenges. Some of them had to do with termination of gRPC at the edge, which is easier to do today, but back then it was a real problem. And second, and even more importantly, is that gRPC uses native extensions for certain runtimes such as Python and Node. Now those native extensions create a lot of overhead, which is not that bad if you are running your own application in your own container on your own OS. But if you have to build an SDK that has to run on every arbitrary OS, that has to do various packaging requirements, you'll often find that those native extensions are a headache because it's kind of breaking the abstraction. So instead of just installing your application and getting it up and running, then you have to worry about, am I using an operating system that's going to have those native extensions available, or I'm going to have to recompile the native extensions. What happens with cross compiling? What happens if I'm building my Python application on Windows and then I'm running it on AWS server as Lambda? All of the sudden these things can get messy. That was actually a kind of a decision that was decent for the MVP, but later on we had to spend a lot of time and effort migrating all of the SDKs and then having all the customers upgrade. Now, other dilemmas we've been facing with were again around the protocol. How do you manage control of the process? Here we've opted for JSON, a combination of JSON and protobuf. Early on we viewed Thrift. It was pretty popular in 2017, so we've opted for Thrift at a certain point, and then we had to remove that because we figured out it wasn't doing us any favors. I think those are the kind of decisions in an MVP-wide that are more complex and have longer term implications. Because if you're looking at other decisions that are more local, that have only one component, then those decisions are much easier to change later on. Let's say I've mentioned that we aren't using Python as much as we used to. We've actually rewritten about 70% of that code base into Go and a bit of Node. we did each of that one component at a time, it actually wasn't such a big deal. And we could do it easily along the way as we were moving forward.
So you've got your MVP, you're getting some traction. How did you progress the product from there and mature it? And I think to give context where I'm going with that is, you know, how did you build your roadmap and decide, okay, okay, this is the next most important thing to build?
So I think that's one of the most challenging questions ever because it's challenging. I mean, I've been doing software engineering for over 15 years now as an engineer, as a team lead, product lead, tech lead, product manager. It's one of the most challenging things. I can say that for the most part, we tried to focus as much as possible on a customer feedback whenever it was available, was readily capturable. But there are a few screens you have to take. We've taken that feedback and tried to adapt it to our needs. So first is kind of how much are we going to get paid? Now, it's not always, you know, foolproof. But if somebody is telling you, I'm going to pay $50,000 or $500,000 for that feature, that's a pretty good indication that both that it's important going to help you achieve your business goals. Even if it's going to end up not an important part of your long-term roadmap, it might help the company achieve short-term goals. Again, depending on the size of the company and your revenue goals and all of that. But if you can see a customer paying you upfront or after the fact for a feature, then that's obviously a good consideration. Sometimes a customer won't pay you directly for that feature, in which case you have how much is this going to impact my work? How much is this going to impact my deals? But even more importantly, is this feature request, is this complaint just about one customer saying it's a problem? Or is this the third time I've had this problem this week alone? Now, as things mount up, as you're meeting more customers, as you're getting more feedback, you should be able to pinpoint those areas where you're getting more negative feedback time after time. deserve a prioritization. It's important when talking to customers to separate the problems for the solutions. While it's nice to get ideas for solutions from customers now, and my customers are developers, so they always know how to fix everything that's broken within my application, it's more important to focus on what they're trying to solve rather than how they're trying to solve it. Once you've identified what customers are complaining about, what they're trying to to solve, leave aside their ideas, which might be great, but think through the problem yourself and kind of try to figure out how can you solve the problem? What's easiest from an engineering perspective? What makes most sense for the roadmap from a product management perspective? What creates great synergies with other stuff you have in mind versus what might be stopping you from launching future initiatives? And then take into account also what the customer wants but don't overly focus on that. It's always super important to keep your vision in mind. That's often the tricky part. On the one hand, you do need to have a vision. You do need to know where you're going. You do need to think about where am I taking this and how is this, how are all of those little pieces combining into a bigger picture and what's going to be the next big things I'm going to do and not just small things. But at the same time, it's important to stay reactive and keep listening to what people around you are saying. You shouldn't be overly focusing on your vision to the extent of ignoring the world around you.
So let's switch to team then. So how did you go about building your team? And what did you look for in those people to indicate they were the winning horses to join you?
Early on in the days of Rookout, while my title was CTO, I was also pretty much mostly doing engineering management. So I was the VP of engineering, if you will. And I've started hiring the first engineers. And we've grown to about 10 engineers with me managing all of them directly before I've hired the VP of engineering, which is pretty much a focus question. I would say I can talk plenty about that. The bottom line about hiring a VP of engineering as a co-founder, as an entrepreneur, as a startup, is focusing first and foremost on what you can do versus what you can hire for. And what I found potentially a bit late is that I could hire for a VP of engineering, potentially even hire someone who was better than me at the job. And there were other stuff I couldn't hire out for, other stuff that were more important, and I should have been doing them myself. But back then, as I was hiring, especially for core team members, I focused a lot on initiative, experience, on people who knew enough to prove that they are talented, that they can learn, that they can execute, but not necessarily requiring everyone to know everything they need to do for the job. For instance, our head of DevOps, our first DevOps engineer, actually came from backend engineering. He had some knowledge, some very basic knowledge around DevOps. He had seen it being done at a previous role, but he wasn't very much hands-on with it. Now, it brought a set of challenges, the fact that he was more of a backend engineer, but it was also a great learning opportunity for him, which both helped him develop his career, but also allowed him to be much more passionate and much more push the role way beyond. We also had SDK engineers, people who were supposed to write those cool and fun SDKs that are supposed to go into the interpreter, into the JVM runtime and change stuff. I'm not sure about you, but I'm not familiar with many companies who have those kind of people or with a clear job description for those. So we've hired from nearby areas. We've hired a lot of cybersecurity engineers. We've hired some embedded engineers. We've mostly hired people we felt were talented and knew enough about taking stuff apart and putting it back together to help us figure out together how do you change running code on the fly?
Well, let's switch to scalability then. And this will be interesting given the nature of your product. Did you build this to scale efficiently from day one? Or are you fighting this as you grow and gain traction?
I think we planned to have it scalable from day one, and we made tons of mistakes along the way. Mistakes that, for the most part, I would say, stem from differences between a theory and real world. And in areas where we've had more experience, we made better judgment calls. calls, but in areas where we didn't have as much experience, we actually made some pretty bad judgment calls along the way. Giving a few examples, we've kind of taken Python in our, as I mentioned, we've taken Python for our backend. And without thinking about it too much, we actually built heavily on REST APIs, tons and tons and tons of calls, even at a very, very, very small scale. we already got to the point where we are serving dozens of requests, dozens of REST requests every second, which is not that bad, you know, if you're a large scale. But if you're starting to see that it's a very small scale, then you're seeing that you have a problem. Especially for Python, the way a concurrency is managed is not that great. It's not the strength of the language. And we've put it at a very tight spot, thought trying to get tons of concurrency out of something that wasn't made for it. Now there are various ways to squeeze some extra concurrency, whether it's a libraries such as gevent or Greenlet, whether it's using web servers to manage the load, but those things each have their own disadvantages and they're a bit finicky, especially when you try to combine them. And we actually ran into a lot of problems into that. We've also shifted from rest to GraphQL. GraphQL allows us to reduce the number of request we're making somewhere between an order of 10 to an order of 100 per client, per service, per user. And we found that it was enabling us to do way, way, way more in a much simpler manner. And I honestly can't recommend it enough. GraphQL is awesome. I would also mention that we ran into problems around performance of the SDKs. Early on, it's very challenging to figure out how am I gonna run with in someone else's code without impacting his performance how am I gonna collect data from running applications at scale very high concurrency challenging thing is to figure out not only the differences between runtimes but also the weak spots for each runtime as well as how are different people using them if you take then you can find Java servers that are very light, that are running microservices-oriented architectures, that are using Spring Boot, that have just a handful of Java files, potentially dozens of them. You can also have Java enterprise application servers, such as WebLogic. And we've seen customers all of a sudden spin those up with 50 to 100 WARs or EARs, and with 5,000 threads or more. Now, obviously, the edge cases you're going to face are very different. For a small container, start time might be important. We saw that some of those customers had start times of over 40 minutes for their servers. And the way you impact small servers, medium servers, and large servers is entirely different. Now, besides Java on the JVM, we also have customers using us for Clojure or Kotlin or Groovy or Scala. and each of those compilers create a slightly different version of those Java class files and those changes end up with different performance profiles and along the way we found a lot of stuff we found how to work better for different runtimes how to work better for different versions of the JVM how to work better for small versus large servers and how to build safeties in place so that if things don't work perfectly creating any adverse effect anywhere.
As you step out on the balcony and you look across all that you've built, what are you most proud of?
I think I'm most proud of the team and the product we've built and the business we've built around it. As we're finishing 2021, we're seeing a lot of companies that raised tons of money on the hype that was in the market over the past year. we're seeing a lot of teams that are having something around and don't care all that much and we're seeing it in corporates we're seeing it in startups i think we have something unique in the fact that the team is very dedicated to the product to the to each other even more importantly that they truly care about the company and our customers and that they're always focusing on doing their best even sometimes it puts them in clashes with each other because for each of them something different, but they're all working together and striving for something real. And the fact that we've taken these technologies that used to be science fiction just five years ago and have built it and are running it at scale in dozens of companies, Fortune 500 companies, some of the biggest banks in the world, is a huge achievement that was made possible first and foremost by the team just getting things done, whatever it takes.
I love how you put the point about five years ago, this was all science fiction. And I think that's just a testament to how fast things move and how fast your team has moved to build it. So kudos. That's really cool.
One of my favorite things about Rookout, which I've been doing a lot over the past couple of months as COVID started to subdue, has been conferences. conferences. Now, when I go to a conference and I walk the floor or I stand at the booth, I get to meet so many people and I get to demo them and I get to show them what Rookout is about. And I've seen so many jaws drop that it's amazing. It's the best experience showing people what can be made. And also that seeing that week after week, month after month, the same experience becomes easier to demo, easier to use. And the wow effect is only growing every time we meet a new customer, every time we meet a new engineer that's new to what we're doing.
Let's flip the script a little bit. So tell me about a mistake you made and how you and your team responded to it.
So I know it's an engineering podcast, but I think we're all people. And especially as managers, sometimes our challenges are not so much about tech. I think one of my biggest mistakes early on at Rookout, and I'm wondering if the person I'm going to talk about is going to hear this episode, it's going to be interesting, is raises. Now, as people, as engineers, as managers, we often think of salary incrementally. So if somebody started a company making, I don't know, 80K a year, then the next year they should be making 10 or 20% above that. But early on in Rookout, we had a DevOps engineer join us. It was pretty much his first gig. Man, he learned fast. He was one of the most talented engineers I've worked with. He learned super fast. And at the time, we pretty much focused on the raise, you know, incrementally raise as it goes. We've raised it quite often, I think three times a year. they gave him some nice raises but still it's still i don't know he got from i don't know 50 60 percent more within a year and a half but once he kind of started getting offered from the outside all of the sudden he got offers for almost double what we were paying him at the time as much as we admired him and as much as we thought he was an amazing engineer and wanted to pay him we were kind of fixated on we're raising him pretty high because we're giving him that 10 20 every three to six months and at the end of the day it wasn't that high and he kind of at some point he came to me and said he got this crazy offer and he's leaving i actually got him to stay i talked to him i asked i told him he deserves it i told him we can pay him he stayed for a while longer he also did great since then but i have to say our relationship since then hasn't been the same since he came to me saying i took another job because you are underpaying me and i've kind of taken that lesson to heart since then and i try to focus as much as possible on what people should be making rather than what they are making today which also kind kind of brings a different topic of compensation in general. And where as a company or as an employer, you want to be on the salary bench. Do you want to be someone, a company that's underpaying or overpaying your employees?
Well, this will be fun to ask. What does the future look like for Rookout the product and for your team?
So the future is going to be super fun. We've got tons of conferences over the next few months. by a conference, let us know, we might be there. We're tons of cool swag and even better demos. We also have a free tier that everybody can hop on and use and just go to rookout.com and start using the product and experimenting with it and have fun with it. We've recently launched our live logging component. I've mentioned that we have these things called dynamic observability, which is kind of our way of saying you should be able to determine the data you get on the fly without having to change the code over and over and over again. We've talked mostly about how do we do that for live debugging, how do we set non-breaking breakpoints on any line of code and collect data from that, but our story goes beyond that, our vision goes way beyond that, and we believe that all forms of data should be dynamic, It can be logging, it can be metrics, it can be spans, it can be BI data. With live logging, we're taking that mindset to the logging area. We want engineers to be able to decide in real time what logs they want versus what logs they don't need. So it can be about adding or removing or changing verbosity, but it can also be smarter and more focused. So let's say you have a customer you're very interested in. So why don't you get debug level logs for that customers without turning the entire system into debug? Why don't you get debug level logs for specific environments you care about or for specific Accounts or even just for yourself if you're just you know running a unit test or a manual test on a remote environment Staging production whatever why don't you just get debug level logs just for you without without impacting the environment as a whole. And that's the kind of things we're working on, making more and more parts of observing our applications dynamic rather than static, so that we can just focus on the data we want and instantly get it, instead of constantly having to walk backwards from the data we happen to have.
Let's switch to you, Liran. Who influences the way that you work? Name a CEO, CTO, an architect, really any person you look up to and why.
I would say I'm looking up to more often than anyone else to my wife. She's also working in tech. She's a product manager. She's very not techie. And yet she's extremely techie at the same time. But I think I look up to her first and foremost because people love her. People always love her. She always knows what's going on with other people. She always knows what to say. how to approach things and she has this amazing capability of blacking out whatever is going on with her whatever is going on inside and just step into a room be the best with the people there no matter what's going on and i think this is something i often envy as i'm managing people as i'm walking late nights as i'm finding myself in tons of weird and difficult situations with with people I know and people I don't know, it's always something I try to live up to.
That's a great answer. I 100% love and support that answer. Well, we talked about a mistake earlier, 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?
The most important thing by far is to focus on impact. Know what your business is doing, know how it is being measured, as possible on that. If whatever you're doing is going to make a big impact on that, then it might be worthwhile doing. If it's not, then it's probably not worthwhile doing. And even if it's going to make an impact, ask yourself and be true to yourself. Is this the thing that's going to make the most impact right now? Now, this idea is something that can make me reevaluate pretty much every decision I've made since founding Rookout, whether it's about hiring roles, who I hired, when I hired, it can be about changing product tasks, architecture tasks, but truly that's the most important thing. Now, when you're doing things day to day, when the phone is ringing, when Slack is pinging you when bugs are coming in, when you already have a vision in mind. It's very easy to get into the nitty gritty details and just get stuff done. But it's way, way more important to focus, keep focusing on the bigger picture, keep focused on the impact. No matter what business you're in, try to distill to yourself this one thing that matters the most and do as little as possible that doesn't affect it and do as much as possible possible that affects it greatly.
Well, last question, Liran. 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?
Nobody cares what you've built. Focus on the problem you're solving and the people you're solving it to.
that's fantastic advice straightforward, direct and the right message well Liran thank you for being on the show today thank you for telling the creation story of Rookout thanks
for having me it's been fun
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 ten bucks a month. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.