S8 E30: The Modernization Factory: Overcoming a $1.5 Trillion Technical Debt and Automating Monolith-to-Microservice Extraction with Moti Rafalin, Co-Founder & CEO of vFunction [0:00:01] Moti Rafalin: The nature of software is that it accumulates technical debt over time. If you look at the portfolio of applications, the agility, the value goes down over time, while the cost, complexity, and risk go up over time. And the reason for that is really the accumulation of technical debt. The applications become more and more complex. And that is sort of the fundamental problem that we want to help organizations deal with. Identify, manage, and help remediate architectural technical debt in applications. My name is Moti Rafalin, and I'm the co-founder and CEO at vFunction. [0:00:46] Noah Labhart: This is Code Story, a podcast bringing you interviews with tech visionaries. [0:00:52] Clip: It's 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. [0:01:00] Noah Labhart: Who built the teams that have their back. Keeping scalability top of mind. The stories you don't read in the headlines. [0:01:18] Clip: It's not an easy thing to achieve. Dry [0:01:22] Noah Labhart: the ups and downs of the startup life. [0:01:26] Clip: It's not just about technology. [0:01:30] Noah Labhart: on Code Story. I'm your host, Noah Labhart, and today how Moti Rafalin is building you a way to understand your software by enabling you to continuously modernize your architecture. Moti Rafalin was born and raised in Israel. He spent half of his life there and the rest of his life in the States. He's a father of three kids, two of which are in college, and his family and and he lives in the Bay Area. He likes to play tennis and travel. In fact, he's been to over 65 countries in his life and has lived in two continents. After attending AWS's reInvent, Moti left with the knowledge that the amount of innovation happening continues to grow and grow. And in the past, there wasn't a good way to ensure that applications weren't just lifting and shifting, but were fully taking advantage of proper functionality during their modernization process. This is the creation story of vFunction. [0:02:38] Moti Rafalin: At vFunction, we started by developing a platform to help modernize applications. So we use artificial intelligence to observe the architecture of applications and then automate the modernization of that architecture. is relevant to any application that is out there. The nature of software is that it accumulates technical debt over time. If you look at the portfolio of applications, the agility, the value goes down over time while the cost, complexity, and risk go up over time. And the reason for that is really the accumulation of technical debt. The applications become more and more complex. and that is sort of the fundamental problem that we want to help organizations deal with. So we identify, manage, and help remediate architectural technical debt in applications. We founded the company about six years ago after we attended reInvent. Every reInvent, the CEO of AWS presents a chart that sort of shows the number of features and functionalities that were released that year on AWS. And it's basically a hockey stick chart. And if you think about it, that is a proxy to cloud innovation. So there's a lot of innovation that's happening in the cloud, and that is a good way to represent that innovation, just the number of features and capabilities that are released. So that is one side of the equation. The other side is how quickly can organizations really adapt to that innovation or take advantage of that innovation? And when you think about enterprises, they still have a lot of legacy applications. They need to modernize those applications so they can actually use the capabilities that the cloud has to offer. So if you only lift and shift or you just move applications as is to the cloud, you're not going to get the maximum value from the cloud. You really need to modernize those applications. that we decided to focus on. [0:04:46] Noah Labhart: 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 did you use to bring it to life? [0:04:56] Moti Rafalin: vFunction is a non-traditional company or at least the way that we built it and the way that we're developing the company. The first thing that is not traditional is that the premise or the thesis before founding the company was that this is the problem, is a technological solution to solve it. And it's not traditional because VCs usually like to invest in market risk, not in technology risk. And so we raised a relatively large seed round off to the races and started building this. For three and a half years, we built the technology without actually getting to market. So that's not a traditional trajectory, obviously. Because you just need a lot of technology to deliver the minimum viable product here, to provide you sufficient value that you would want to use it. And when we hit the market after three and a half years, yes, we got some of the largest banks in the world to use it. So that was the first phase, building a basic technology that can first understand the architecture of applications, combination of dynamic analysis and static analysis and a lot of data science and machine learning that really helps you understand the architecture of your business logic. And then it allows you to identify domains within the application that you may want to decompose into microservices. And then we have an automation piece that takes those domains and basically extract that code into microservices. [0:06:28] Noah Labhart: So then you've got your MVP. It's working. You're gaining traction. How did you progress the product and mature it? Tell me about that evolution there that you mentioned. And I'm curious about how you went about building your roadmap. map and you know what sort of process or criteria you use to determine that okay this is the next most important thing to build or address with vFunction there [0:06:51] Moti Rafalin: is first order of issues that you need to solve and then there is second order okay so the first order you need to build a product that actually solves a real pain point right you want to make sure that customers are willing to pay money for it that it actually solves a real pain point that there's market for it just first order it doesn't mean necessarily that you have a sustainable business yet and in fact that's what we happen to us so we build the product and it was solving that problem but we haven't gotten to nirvana at that point because the challenge that we had there was that it was a one-time thing obviously what investors and everyone wants for a sustainable business is to have a recurring kind of revenue business so how do you make that something that is sort of recurring. So initially we focused on first let's solve the initial problem that we have a product that solves a problem but it doesn't mean that we have sustainable business yet. We got some really large deals but those were one-time deals as part of modernization projects but so we were still struggling in terms of building business around it and it took us some time then to solve the second order which is okay how do we build a sustainable recurring revenue business from this And that is when we understood that by simply changing sort of the packaging, positioning and pricing of this product, you can actually address a much bigger market. And that is where we basically split our platform into two products. One, which is what we call architectural observability manager. And the second product, which is the refactoring engine. If you think about it, the architectural observability is something that you need for all your applications always, before you modernize them and also after you modernize them. Because every application that you modernize, you don't want to fight that war a second time. Because they would accumulate technical debt and then you need to refactor them again. So if you observe the architecture and the platform can alert you whenever there's drift in the architecture, that there's more complexity, let's say there's more cross-domain pollution, whatever the architectural issue might be, we're able to alert on that. So we can actually sell architectural observability for every application on an ongoing basis. And then you can add the refactoring engine add-on whenever you want to maybe extract services or decompose applications. And now we're building this much wider platform that actually gets us to a sustainable business. [0:09:17] Noah Labhart: Let's switch to team then. So tell me about how you went about building your team. What did you look for in those people to indicate that they were the winning horses to join you? [0:09:27] Moti Rafalin: So first company I founded in 2008. I was fortunate to sell it to BlackBerry in 2015. So the core team was basically the team that worked with me in my previous company. So my two co-founders worked with me in my previous company, a company called WatchDox, that we sold to BlackBerry. And then many of the initial developers were also people that worked with me in the past. Some of the other management team, it's again people that I knew throughout my career. I've been doing this for quite a while. Before my first company, I spent seven years at EMC. So I did the corporate thing before jumping into the entrepreneurial world. Before that, I spent seven years in the Israeli Air Force. So I accumulated a pretty big network of people that worked with me and that I appreciate. And so when I founded vFunction, basically it was all people that worked with me in the past. Some people worked with me at EMC and some even from my military days. So I'm going back almost 30 years. [0:10:34] Noah Labhart: Let's flip to scalability. And this will be interesting given what you're building. Did you build this to scale efficiently from day one or with scale in mind? Or have you had to fight this as you grew in any sort of capacity? [0:10:49] Moti Rafalin: One of the biggest mistakes or challenges in enterprise software is obviously building the go-to market. And assuming that it's not a product-led growth or some kind of self-serve product. But let's talk about the classic, heavy and high-touch enterprise software products. And that is the world that I'm familiar with. And that is also the world of vFunction. Scaling that, or at least the go-to market, that is the biggest challenge, right? Because it is so expensive. And when you hire salespeople, each sales team, you need to hire a salesperson. And sometimes a sales engineer and an inside sales. So the entire team costs a good few hundreds of thousands of dollars. And of course, maybe half of the people that they hire are not going to pan out. So there is a lot of margin of error there. You're going to burn through a lot of cash before you get to a well-functioning go-to-market team in enterprise software. And again, you don't have a lot of margin of error unless you raise, let's say, $100 million, which is not our case. The way that we're approaching it is that we're only growing based on business results. So it's not that we hire, let's say, 15 salespeople and we spray and pray and we divide the territories and go hunt. We actually started with two salespeople, head of sales, salespeople, and then building the infrastructure around them to make sure that every salesperson that we hire meets or beats his or her quota. I don't believe in pre-hiring when it comes to sales. And I know that many VCs and others may disagree with this approach, but that is my conservative approach to build and go to market. And only when they hit or meet their quota, then we hire a second, like a third, fourth, fifth person. I'd rather miss some opportunities than pre-hire. Because if you pre-hire and your salespeople are not meeting their quota, that leads to a negative spiral. Morale is down. You're not able to recruit additional people later, obviously. People start leaving the company. So I'd rather miss opportunities and not scale as fast as I could than guaranteeing the success of the salespeople. [0:13:18] Noah Labhart: So, as you step out on the balcony, you look across all that you've built, what are you most proud of? [0:13:26] Moti Rafalin: There's satisfaction when I go back and I meet people and they're still using the product of my first company. Oh, you're using that product and you're happy, yes. Wow, we built this 15 years ago and people are still using it and benefiting from it. One thing that I'm proud of, and maybe another thing is with what we're building here at vFunction, it's a really difficult problem. And people are sometimes pretty frustrated with their inability to modernize the application, understand the complexity. When they see what vFunction can do, there is a sense of hope. They see that, oh, there is hope. I can actually fix this problem. I can actually modernize it with this type of technology. So it's selling hope versus selling fear is also something that I'm proud of. [0:14:25] Noah Labhart: Okay, so 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:14:33] Moti Rafalin: Even when we started vFunction, our initial thesis was that maybe we can break applications in runtime So people can take advantage, let's say, of serverless and other advanced cloud capabilities without actually modernizing them. So if we can break them in runtime and run them in a distributed manner and then can get the scalability and reduce costs, that might be something that people would want. And first of all, technologically, after working on it for a few months, we realized that it's more or less impossible or will take decades. But the second mistake was that we eventually realized that people want to modernize not because of cost or scalability. It's really about engineering velocity and that you actually need to enable them to access the code. So you need to really break it at the code level and not in runtime. It's a mistake in the thesis of building the product, right? initially. And how we went about it was simply change our direction of what we were doing, going deeper into serving the developers and the architects and not the DevOps people in runtime. [0:15:53] Noah Labhart: So this will be fun to ask. What does the future look like for vFunction, the product, and for your team? [0:16:01] Moti Rafalin: We still have a lot of work ahead of us because we're essentially creating a category. Some people are proud or happy or strive to create a category. It wasn't necessarily something that we wanted to do, but we ended up in a position that is what we're essentially doing because no such category or product existed until now. The future is that we're able to, that we're successful in creating this category, that people understand that there is this notion of architectural observability. that is not something that exists today there is obviously devops like performance management there is in a network management but there's no architectural observability meaning observing the architecture on an ongoing basis and being able to manage it remediate it and so forth so creating this category that that is where we're headed and i think everything else will follow in terms of growth of the company, team. Of course, we would love to take this as far as we can in terms of standalone company. But when people ask me, what is your exit strategy or whatnot, I dismiss this question because I don't think that's something that as a founding team we should be thinking about. We need to focus on delivering value to our customers. And then how you realize it eventually that will just happen, right? Usually you would sell when you see some sort of a ceiling to the potential growth of the company. And currently I don't see it. We'll take it as far as we can. [0:17:42] Noah Labhart: Okay, let's switch to you, Moti. Who influences the way that you work? Name a person or many persons or something you look up to and why. [0:17:50] Moti Rafalin: The first one is just my military experience that helped me shape myself as an entrepreneur and a CEO. experience it's two things from it okay one which is leading by example that is something that i took from the military to the startup world which i think is super critical if you're running a startup if you're the ceo you you're the one that will also do the dishes take the trash do whatever it takes and then once you do it everyone else does it right or a flying coach versus business or anything that you do. I don't believe in writing the values of the company on the website. I believe in just being who you are and leading by example. So people will see how you behave and you act and they will follow. Second thing that I took specifically from the Israeli Air Force is sort of the culture of debriefing. Before a mission and after a mission, you first brief and then debrief. And the concept there is that it's all about improvements, right? How can you do things better? It's not about blaming anyone, right? So people feel comfortable sharing their mistakes and sharing what they did wrong because that's the best way to learn and to improve as an organization. So it's never about pointing fingers. It's never about blaming anyone. It's really about improving as a team. and so that's the second thing that influenced me in terms of how we're building our company [0:19:26] Noah Labhart: we talked about a mistake but this is a little different spin if you could go back to the beginning what would you do different or where would you consider taking a different approach that had to be something that you know didn't work or it could have worked it could have worked even well but maybe you tweak it a little bit [0:19:40] Moti Rafalin: if for example there is someone that is toxic to the the culture don't wait in letting that person go and that's another thing that again in the beginning i know that it's almost a cliche right always people in the beginning of their career that they are slow to fire right the cliche is that you never regret firing too soon or too early but that's definitely something especially not necessarily on if someone is not performing well that I do have patience and I think people should get additional chances to improve. But if it's a cultural thing, like if someone is toxic to the culture, no excuses to keep someone like that around. You need to act quickly. Again, that's something that I probably didn't do in the early days. Today, hopefully, I'm more aware of this. [0:20:37] Noah Labhart: All right, Moti, last question. So you're getting on a plane and you're sitting next to a young entrepreneur big thing. They're jazzed about it. They can't wait to show it off to the world and 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 several times? [0:20:55] Moti Rafalin: That it's all about product market fit until the fact that I get excited about it or you get excited about it doesn't necessarily mean you have product market fit. Until you feel that you have product market fit, be very frugal in terms of your spending. I like the analogy that one of my investors mentioned to me, which is, it's like you're driving in a dark city, no lights. Your car doesn't have lights, the city has no lights, so it's completely dark. When you're driving in such a situation, you're not driving fast. You're going to drive very, very slow, right? It's not pedal to the metal, right? But once you have light, once you see what's happening, that's when you actually can increase the speed and meaning right the analogy is obviously the spending and then burn so once you actually get a product market fit that is when you should increase the burn you shouldn't have a 50 people team before you have product market fit that is a mistake you burn through the cash you don't have a chance to correct course at the end of the day getting product market fit yes there are those that sort of just stumble upon But more often than not, it's a series of hundreds and sometimes thousands of changes and adaptations that you make to the product, to the positioning, until you get there. And by the way, even once you get there, it's not necessarily a stable equilibrium, right? So you need to keep working at it and make sure that the market doesn't shift and you stay out of it. [0:22:33] Noah Labhart: That's fantastic. Well, Moti, thank you for being on the show today. Thank you for telling the creation story of vFunction. [0:22:39] Moti Rafalin: My pleasure. Really enjoyed our conversation. [0:22:46] 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. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.