S8 Bonus: Bypassing the Staging Queue: Hooking Local Processes into Live Kubernetes Clusters with Aviram Hassan, Co-Founder & CEO of MetalBear, Creators of mirrord [0:00:00] Aviram Hassan: It won't be so much fun for people to try and give feedback because they would feel that you already made your mind, you already know what you wanted to build and they aren't going to really change what you're going to build. But when you say, hey, this is just the beginning, this is barely working, we just want the feedback to understand what to build better, then they can say, oh, I can really have an effect on this project. I can really shift it towards my needs. They provide tons of use cases and experiences that we can build on top. So basically the idea was to trigger that and we did it successfully. My name is Aviram Hassan. I am CEO and co-founder at MetalBear, where we build mirrord. [0:00:46] Noah Labhart: This is Code Story, a podcast bringing you interviews with tech visionaries. [0:00:52] Clip: Six months moonlighting. There's nothing on the back end. [0:00:55] Noah Labhart: Who share what it takes to change an industry. [0:00:58] Clip: I don't exactly know what to do next. It took many goes to get right. [0:01:01] Noah Labhart: Who built the teams that have their back. [0:01:04] Clip: The company is its people. The teams help each other achieve. Most proud of our team. [0:01:09] Noah Labhart: Scalability top of mind. [0:01:11] Clip: All that infrastructure was a pain. Yes, we've been fighting it as a group. Total waste of time. [0:01:15] Noah Labhart: The stories you don't read in the headlines. [0:01:18] Clip: It's not an easy thing to achieve. Took it off the shelf and dusted it off and tried to begin. [0:01:22] Noah Labhart: To ride the ups and downs of the startup life. [0:01:26] Clip: You need to really want it. It's not just about technology. [0:01:29] Noah Labhart: All this and more on Code Story. I'm your host, Noah Labhart. Today, how Aviram Hassan created a company that created a product. to make cloud development local and faster. Aviram Hassan started hacking his way into stuff at a young age, primarily from online multiplayer games. The first game was a fan-based game for Pokemon when he was 8 years old, which was helpful for him to learn English. He served in the Israeli military prior to becoming a startup solution architect and back-end developer. man with a six-month-old, born around the same time as his startup. He also really enjoys coffee, but he admits he's not obsessive or overly enthusiastic about it. Given their background, Aviram and his co-founder wanted to build a product-based company. In their last company, they didn't really have a developer environment, as it was hard to maintain and didn't represent real data in the production environment. They started thinking about how they they could solve this sort of problem. This is the creation story of MetalBear and mirrord. [0:02:47] Aviram Hassan: Me and AR, we both wanted to build a product that people use, like we both came from more experience in the vacant area and also in companies that sell more so services and not really product-oriented. We wanted to do something that people use to do very well in C-World because that wouldn't really leverage our background. So we started thinking about what we could do that can be a product company and also speak to our strengths. So one of the challenges we had at our last company and we faced together was actually, we had a long iteration time between when you change one line of code until you actually saw how it affected the whole system. So imagine you've got a small ticket, just change an effect in one UI, but the the UI gets from one microservice, goes to another, and then it gets processed from Kafka, and then it is pulled into a database, and then you have another backend and a frontend serving that database. You need tons of microservices and tons of different data to see how it reacts in the real world. And in our last company, we didn't really have any developer environments because it was hard to maintain and really have a developer environment that meant anything. You could set up the stack quite easily, but then to bring real data would be a real problem because we have many different customers with many different features, and we just wanted to see the effect on, let's say, the average environment. What happened is that the time you got to see how it affects the whole system was when you deployed it to the staging environment. And in order to deploy to the staging environment, you didn't want to deploy a broken version, So you had to go through CI/CD and part of the CI/CD is also called review. So you do the change, you write a test, you get peer-reviewed, what we call code review, and then it gets merged to the main branch and then someone cuts off a release or every PR is a release. But in our case, it was, we cut versions and then the version goes to staging, testing staging, then production. And only in staging you could really see the effect of your new change. So you either went like blindly or add a lot of mocks and tests. But in many cases, you would have to add some more iterations against the staging environment because there you faced a lot of situations where you didn't anticipate. Then you had a lot of slowness and then also the staging environment was shared. I'm going into it because I think both me and Yael and also the team was very traumatized by the process. It's just a first world problem. It's not a real problem, but it was really the most painful point we had. And from there, we started thinking about how we see the solution to this kind of problem. [0:05:34] Noah Labhart: Let's dive into the MVP then. Tell me about that first product you built, how long did it take to build, and what sort of tools did you use to bring it to life? [0:05:45] Aviram Hassan: Okay, so I would say we had two MVPs. One was the real traction MVP, like the equivalent of a landing page for a developer product. And the second one was a real MVP that really solved the problem for developers. So the first MVP took one month and real MVP took about, I would say, six, seven months of team working on it, like six people working on it. The first MVP was more like to show that we can gain traction and we can go on, build this company and product from bottom up with the open source approach. And like if you look at, let's say, all the standard startups, at least in Israel, where it's mostly common to do B2B, we wanted to show that we can do it bottom up and go with the open source. When you do top down, usually to get the first investment, you get design partners and then you show some kind of federal intent or just get them interviewed with potential VCs and then they show that, they explain why they would love to use your product when it will be available. And then usually that's enough to get the first round of investment. But when you do top-down, bottom-up in open source, we believe that you need to show traction and the ability to really bring users into the product without them being your friends and showing that you can really pull it off. So the only way to do that is by showing the traction. And the Lean MVP was basically to give some idea of what we want to build, but have one feature of a real product and show it to the world and see how they respond to it, to the messaging, to what we say. So we spent, I would say, around two weeks mostly on coding and other two weeks just on messaging, marketing, documentation, implementation and just like making sure that people understand what you want to build. And that's like a walk in progress. And we want them to stay tuned. So basically, I would call it a landing page for the real product. So that got off and got very good traction, like compared to being a tool that isn't really useful to anyone. It got well received also in different message bulletins, Reddit, iCanUse, etc. And that also led to our first round of investment. Based on that investment money, we wanted to build a real MVP. [0:08:08] Noah Labhart: In building any MVP, you have to make certain decisions and trade-offs. And you're kind of talking at them at a high level. But I want to hear a little more in depth about those decisions and trade-offs you had to make. In feature cut, tech debt, things like that. And how you coped with those decisions. [0:08:25] Aviram Hassan: The idea was to have enough code and functionality to make people try to use or consider using it and discuss it. didn't want to work on all the use cases or even our real use case that we wanted to solve wouldn't be solved with our tool. And the idea was to build something as lean as possible, like a skeleton of a bicycle and say to people, hey, this will be a bicycle. Would you love to be it when the skeleton evolves into the bicycle? The idea was to build anticipation and not to be really something that solves anything. And also being very rough brings a lot of feedback, like good feedback. So if you build a very, let's say, world solution, it won't be so much fun for people to try and give feedback because they would feel that you already made your mind, you already know what you wanted to build and they aren't going to really change what you're going to build. But when you say, hey, this is just the beginning, this is barely working, we just want the first feedback to understand what to build better. Then they can, oh, I can really have effect on this project. I can really shift it towards my needs and what I want to have. And then they're more engaged. They provide tons of use cases and experiences that we can build on top. So basically, the idea was to trigger that and we did it successfully. a lot of feedback from different people and they said, yeah, so this is going to be like this. And we said, yeah, exactly. And then they just wrote us a user story that we wanted to have. But of course it's better to get an external validation. I would say someone from another country that doesn't really know us, doesn't care about us, but is really into the product and wants it to be the best it can be for them. And that kind of feedback was really helpful to know how to prioritize the next MVP. [0:10:14] Noah Labhart: So from that point, you've got your MVP and I hear you saying you built another one. And in doing so, you probably had to create some sort of roadmap to build that next MVP or to get that MVP done and then progress it from there. I'm curious about that MVP, that process, and also how you go about deciding this is the next most important thing to build for mirrord. [0:10:42] Aviram Hassan: Once we saw the initial interaction and we got users to provide feedback and ideas to what exactly they wanted to be, it made it a lot easier. We knew the first features we would have. We weren't sure how they would look like because at least from the very basic solution, the basic functionality it provides, it's very easy to understand what we need to add. So maybe let's see run a local code in the context of the remote environment. It doesn't do any mounts, it doesn't use VPN, it's just on the process level. And we do a lot of low-level hacking to do that. And not really hacking, but like hacking in terms of doing stuff that usually people don't do. We don't want to build an operating system as day one, so we just need to choose which parts we need to implement. And then to understand what parts exactly we need to build, we try to make as lean as possible user service. For example, I want to run a Python Flask server that receives traffic on a specific port and is able to connect to a remote port in the cluster. So then we know that we need to support this use case, and then we test that specific use case to see exactly what we need to implement for that. And that was like the basic milestones. And that's how we really spread and split the very big and ambitious solution into very small parts. And each time we added more support, for example, for SSC Python class, we just released that. And maybe we didn't support Go with a specific framework or we didn't support another language and framework for some reason. At least we could see that it works for that use case and also build on top of that validation and go ahead and reach more users, see more use cases and build for them. [0:12:25] Noah Labhart: Okay, 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 that they were the winning horses to join you? [0:12:35] Aviram Hassan: Since we are an open source company with open source projects, we decided that the company needs to be remote first. And also we said, OK, if we're remote first and we're open source, let's make it global. And the idea with making it global is that you're able to reach many communities, many different countries around the world and make the project and the product more inclusive for all people. We had a lot of time zone coverage in terms of support, in terms of community. So anyone coming into our Discord channel can have someone talking to them from the team without anyone doing overtime or working outside of the world. And once we decided that's the way to go, we said, okay, what was the best place to gather engineers from around the world? We have written like 99% in Rust. When it's not Rust, it's because we can't do it in Rust. We knew that the Rust community is quite amazing. I was part of the Reddit community and many different Discord channels. So I saw that there were people looking for Rust jobs and they can't find any. It's dominated by cryptocurrencies or security. And usually it's not product oriented, I would say. And still, even when there are companies, it's not the most appealing ones or they're not global. engineers looking to shift and warp and rust. We basically answered anyone that messaged us even if it was too many and it was like they didn't match like we we had like a policy where we said there's no one, don't ignore anyone even if they don't pass even on the CV level. What we primarily looked for is open source experience because we want people who know how to work in an open source community in an online world and they're able to communicate well in a That's one of the most important things we need at MetalBear. You walk across different time zones, you don't always have anyone helping you. So you need to be able to manage yourself, to work your own hours, to make sure that you don't get stuck on stuff for any reason, and also to be able to communicate what's going on without going on a daily meeting. We don't have many meetings at MetalBear. We have only software meetings. Everything else is asynchronous, like Discord or GitHub or Notion. So mainly what we looked for is the ability to evolve and work efficiently alone in an online team, like asynchronous online team that you can rely on. [0:15:08] Noah Labhart: Let's talk about scalability. Did you build this to scale efficiently from day one or were you fighting this as you grew and gained traction? I suppose from MVP one, MVP two, there was probably some changes there. Tell me about that progression. [0:15:27] Aviram Hassan: We have the luxury that it doesn't have any scale problems because you run it on your own environment. So we don't have any constraints on that. We don't need to serve many users at the same time. We are not a classic SaaS in that manner. We did need to improve in terms of being able to answer all the people and manage the community and in terms of the team to be able to manage it efficiently because it's not so common to have remote first, global, different cultures, different countries, startups. So we also needed to understand how to do it. And still, it's not such a big scale, but I assume that would be the next problem. But when we did anything that needed to scale, like some of the backend services we had for telemetry, licensing and such, was always like the most basic solution. and then see how people react to that and see if they use it. And if they use it unlikely, then we implement the more advanced use cases, the more advanced scale, support their needs. The idea is always to be as minimal as possible because when you go bottom up and you work with, let's say, the online world and you can't really know what people would want, so you have to make a lot of guesses and you have to always validate yourself time to ship around one month of solution when it might be useless. So you have always to get more external validation. So you always need to build very efficiently and just what's needed to make sure that you want to invest more in that bank. [0:17:03] Noah Labhart: Well, as you step out on the balcony, look across all that you've built. What are you most proud of? [0:17:09] Aviram Hassan: The first thing is the team. Like, I really love our team. It's very diverse. Like we got people from Germany, Brazil, Canada. People are really different. It's like a team of superpowers. Like I can see each one of the team having their own more focus area, more experience, more skills. Like very diverse in that sense. So we have some people who are more efficient on delivering code and other people who are more efficient. Not efficient, but good at maintaining the code and keeping it in high quality. and you have people more product oriented, like what the customer is going to feel, what the user is going to feel. They really complement each other. So I think in terms of that, we, the team, me and Yara, I'm really proud of the team we have and how well they work together and the good things we have for each other and the little fun we have together. I think, at least from my perspective, you can see that many of them have great work-life balance. We can work when we want breaks when we want to. And I think that makes it a lot more efficient because you don't have the work time that you have to work in. So if you're not efficient at work right now, you can just go to the beach, drink some beer, come back and work when you're efficient. Don't work when you're not efficient. Manage your time. We trust you. And of course, when things are urgent, we let them know and then we expect them to be more available and respond faster and not take their time. But like the average day, work is more balanced and very respectful of their time. So I'm not sure if it's one or two, but in terms of team and work-life balance, I'm really proud of that. [0:18:50] Noah Labhart: Okay, 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:18:58] Aviram Hassan: So early on, we had an idea of the first product. We look at mirrord as a project, and you have a product. mirrord is basically a project you can use. It's an open source, but it's not a product we offer. going to monetize by people using mirrord directly. We had an idea of what to monetize and to naturalize and that idea got thrown into the bin, but we worked on it for about, I would say, three months, maybe less, and it was very intensive work and we thought that would be the smart move of the first phase of monetization. And then luckily the idea was when we look at a bottom-up company, we start then we want to convert you into a paying user. And you can look at the possible funnel from two ways. So open source then paying, but what kind of paying customer are you? Are you a company or are you an individual? And we thought that it would be easier to convert open source users to individual customers. So we started building a solution for individuals. It wasn't the same use case as mirrord, it was like something that really relates to the same audience and would make sense to use with mirrord. to sell to companies at our stage. And when we released, and we did an intro to working on the mirrord MVP, and then when we released the MirrorDMVP, and then when we released the mirrord MVP, hey, we want the paid version of it. And we were saying, well, we're working on versions for individuals, not for companies. And of course we said, okay, if we see this kind of traction, it's way better to just convert open source users and teams to customer teams and companies in terms of validation, in terms of revenue scalable because making a scalable B2C, and as you said, that's a, maybe it's a good answer to your scale question. Making a B2C company is very hard in terms of scale. Like even if you have only 1,000 users, you have to support the use cases and you have to have a very efficient way of helping them. Because if you have 1,000 paying users and each one is individual and they have issues, that's a lot of problems to handle. And you need a very efficient way to tackle that. If you have tens of paying customers and each one is a company, it's way easier to build that and do it more efficiently when you're small. So we decided to, let's say, pivot into converting companies first. Right now, I say it's a mistake that we focus on the individual because we really try to think what's better to focus on the individual or companies. And we made the wrong decision and then we changed it very fast once we realized that. [0:21:34] Noah Labhart: So what does the future look like for the product and for your team? [0:21:39] Aviram Hassan: So the future looks like rolling more globally, having more regions, let's say, unlocked, having more people in different regions. So in terms of product, we want to make lots of more people use mirrord, the open source project, and lots of more companies using mirrord for Teams, which is the commercial offering for companies. We want to make the mirrord for Teams a self-serve experience so people can go in, buy a license without going through us as it's done right now. Later on, start building other open source projects and also commercialize those. So we see ourselves as a company that builds products and software for backend engineers and mirrord is just the start. We want to be able to be the company that resonates with back-end engineers. And each time they have a need or they don't like their daily experience when they develop software, they can reach out to us and use one of our existing tools or let us know and we'll try to figure out how to enhance the productivity. But right now, of course, our focus is mirrord. [0:22:42] Noah Labhart: Okay, last question. 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. world can't wait to show off to you right there on the plane what advice do you give that person having gone down this road a bit don't [0:22:57] Aviram Hassan: listen to anyone i'm joking like listen to everyone take advice from everyone but don't do what they say that's like i think what i see others doing and i think we don't do it like and i think that's been the benefit for us and when every time we try to follow an advice exactly as people tried taught us it was the wrong decision because Because no one has the best context as you. As you, I mean the entrepreneur. And each one has their own state and understanding of what's going on. And no matter how good you explain your state and your situation, they probably lack two bits that missing to understand the better decision you can make. So you have to listen to everyone. You need to get advice. You need to get as much more perspective as you can. So, of course, network, talk, ask. Don't be shy. child, but when it comes to taking a decision, never do something because someone told you to do so. [0:23:50] Noah Labhart: That's fantastic advice. Well, Aviram, thank you for being on the show today, and thank you for telling the creation story, not only of MetalBear, but of mirrord. Thank [0:23:59] Aviram Hassan: you for the time, and thanks for the show. I really like it. [0:24:02] 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, 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.