Normally, when you're doing regular backend software, you need to have a server, and then you need to have a second one for resilience. And normally, you're going to have another two servers in another region or another availability zone. So we're starting with four servers, each one costs $20 per month, even before doing But if we can spin up a server in 100 milliseconds, then you don't need them live. When a request comes, you spin it up, do whatever you need, keep it live for a few minutes, and then shut it down. And that means that the cost of server per website goes down by a factor of about a thousand. But that means that it's free. We can give you a server for free. My name is Yoav Abrahami and I am Chief Architect at Wix and Head of Wix Code & Products.
This is Code Story, a podcast bringing you interviews with tech visionaries.
It's six months moonlighting. There's nothing on the backhand.
Who share what it takes to change an industry. I don't exactly know
what to do next. It took many goes to get right.
Who built the teams that have their back.
The company is its people. The teams help each other achieve. Most proud of our team.
Keeping scalability top of mind.
All that infrastructure was a pain. Yes, we've been fighting it as a group. Total waste of time.
The stories you don't read in the headlines.
It's not an easy thing to achieve, mind you. Took it off the shelf and dusted it off and tried to begin.
Deride the ups and downs of the startup life.
You need to really want it. It's not just about technology.
All this and more on Code Story. I'm your host, Noah Labhart. And today, how Yoav Abrahami is architecting the way towards the creation of your website without any limits. Yoav Abrahami was born and raised in Israel. Currently, he lives in Tel Aviv and has spent 30 years in technology. He studied high-energy physics in college, and today he finds similarities in how you solve problems in building products and physics. Outside of tech, he is the father of two children and enjoys hiking and mountain biking in the diverse climates and terrains that Israel has to offer. In 2006, Yoav helped his brothers get Wix started up and build it to what it is today. Fast forward, Wix has collected infrastructure and application partners allowing them to offer these integrations to Wix users. What they figured out next was that people wanted it done for them, turnkey, without having to learn how to spin up a server. This is the creation story of Velo by Wix.
In 2006, Avishai Abrahami, which is my older brother, and Nadav Abrahami, which is my younger brother, they came to me and said, we have that idea of a website builder. And they also had Giora Kaplan with them. We were going to build a company, so help us hire the first backend developer. And I did. And that turned out to be Wix. Four years ahead, I'm coming to Wix to figure out what to do with the iPhone. Because at the time, Wix didn't support mobile or the iPhone. And since then, I'm at Wix already for 14 years. In 2012, we built the Wix App Market. It's allowing partners to create applications that you can install into Wix website. website. Now that's interesting for partners because Wix has a huge reach to users. We are now over 300 million users, a significant part of the internet running on Wix. And the target that we set out was to build a solution where anyone can create their own online presence using Wix. What the App Market allowed us to do is to let partners leverage that infrastructure and sell their applications on top of that infrastructure for Wix users. But what we is that to build an application required quite a lot of effort. You needed to start by bringing your own database, reading your own server, setting up quite a few different things with your application, with the interaction with Wix and so on. That's actually quite complicated to do. That is where Velo came out. And the idea of Velo is to give you a cloud-based development environment, one that is connected to Wix on one end, you want on our platform. And you get a database, you get a server, you get the ability to code client code. And so it gives you all that freedom. And it is all in a fully managed environment. And you actually can create an application start to finish in five minutes. And once you click on the publish or deploy button, it's live globally, you know, in minutes.
Tell me about what would be the MVP for Velo. So that first version of the product you built, how long did it take to build? And what sort of tools were you using to bring it to life?
Velo is running for millions of websites. And when you have a solution that runs a server, you give each one of those million websites their own server, you have a big challenge. No one can do that. So we needed first to find a solution for that. And keep in mind, the product we're giving is we're letting any user code their own code, their own backend code. And now we have a million sites that each one has a different backend code, and we need to run them in isolation, each one in a way that they cannot interfere with each other. So what we've understood is that we needed a way to make it work in a very efficient way and a very cost-effective way. and that way was to be able to spin up a container or a server in 100 milliseconds. That means that if you have a website, and most websites don't really have a lot of traffic, you have 100 million websites in the world, the website number million ordered by traffic is a few visitors each day. Most of the time during the day, there's no traffic, there's no one on the website. And normally when you're doing regular backend software, software you need to have a server and then you need to have a second one for resilience and normally you're going to have another two servers in another region or another availability zone so we're starting with four servers each one costs $20 per month even before doing anything but if we can spin up a server in 100 milliseconds then you don't need them live when a request comes you spin it up do whatever you need keep it live for a few minutes and then shut it down and that That means that the cost of server per website goes down by a factor of about a thousand. But that means that it's free. We can give you a server for free. Obviously, there's limits and there's terms and conditions, but there's lots of users that don't need to pay. So the MVP, or the first version of Velo, was basically create that very fast to spin up server that you can code against. Same thing for a database that you also get it at a price of zero, basically. And the ability to just write simple HTML pages that show that. That was the first version, and that took about a year and a half to build.
In that year and a half, when you're building that first version and figuring out how to solve that problem, which sounds like an amazingly fun engineering problem to solve with spinning up servers that fast, you got to make certain decisions and trade-offs, right? About how you're going to approach the problem as you discover new information. Tell me about some of those you had to make and how you coped with those decisions.
I think the way that we did it was first to define criteria for what would be a successful product. And that 100 milliseconds was one of those criteria. Now, as we started to do that, we started to try different approaches. One approach was to take one of the big cloud vendors platform and try to see if it works for us. and it didn't. It took about two seconds to get a call start. And then we started looking at using containers. And container, which just in a low-old application, takes about two seconds to spin up. So again, that was a dead end. And then we looked at process hibernation, and we looked at some other alternatives. And then we found the right alternative that works for us. But it was trying to fail fast on different approaches by that KPI that we've set, and then find the one that works for us.
you've got the mvp it's working it's been that year and a half you you're excited about the product how did you progress it from that point how did you mature it and i think what i'm curious about there is how do you go about building your roadmap for velo and what you know what sort of criteria or what sort of process are you going through to decide okay this is the next most important thing to build or to address when
we started velo there were two other similar similar products in concept of a backend as a service, Firebase and Parse, Parse.com. What happened is that both of them were taken towards support mobile applications. Parse was shut down a few years later, and Firebase is still strong on mobile in Google Cloud. At that time, we had a product, and it has the ability to render basic HTML pages, but it had all the database and the Node.js backend. And we need to decide what we want to do with it. Do we want to try an approach of let's make it a generic platform for websites, but we're only generating basic HTML? Or maybe we'll take a different route and connect it with Wix. And with Wix, you get a drag-and-drop experience to draw websites similar to PowerPoint. And we asked ourselves, what if we connect the two? You draw your UI using Wix, but then you can code against it using Velo. That is actually something that no one actually ever tried before. Keep in mind, that is not a low-code tool. It is a cloud platform with Node.js and database connected to Wix, which is a drag-and-drop website builder. So that's the direction we've chosen. It was an harder direction simply because that becomes a big integration effort. Fort. About a year later, we went and did a usability for that product with 12 Wix partners. And we were sitting in a room. We were not going to try to announce the product. It was just, hey, we want to show you something cool. Let's see how you react. What do you think about it? And I couldn't talk anymore at that point because they were like, yeah, amazing. Do me off and so on. And at that point, what was the point? We knew we have something that's really cool.
I'm hearing you say we. Tell me about how the team was built around Velo. And what were you looking for in those people to indicate that they were the winning horses to join you?
So when I started Velo, the first thing I did was create the founding team. And I've taken two people with me, Ziv and Gil. One is a very experienced manager. And Gil Tayar is a very experienced anything techie. Both a great speaker, a great engineer, a great architect, and both of them amazing people. And with those three, we started hiring more people and creating the product. And that team got us all the way to launching the product to a point where all of Wix transformed from thinking just do-it-yourself consumers to also think about developers, which was amazing. Amazing.
This will be really interesting given what has been built for Wix, what you're building and the engineering problems you've already mentioned that you had to solve. But I'm curious about scalability. Did you build this to scale efficiently from day one or has there been any interesting areas where you had to fight it as you grew?
We did build it for scalability from day one, but still there were some challenges. in Velo, Kubernetes didn't exist. So we had to build our own infrastructure to scale out servers, and then on each server to run multiple containers with the unique setup that we have. Now, keep in mind that we have a system that when you need a server, it's there. You get it immediately. And we had a system to try to figure out where when a host doesn't work, when you have a problem in the host to kill it. And that system had a malfunction in that it would kill hosts which run in servers of users randomly. and we didn't know about it for four months. And the reason why we didn't know about it is because you would kill a host that runs 100 user servers, and they just get their servers from some other place immediately. So we don't even see that on any metric because there's no impact on users. But you have a critical problem in your system. It turned out that maintaining that system is tough, and then we actually have rewritten it on top of Kubernetes. On our database side, what we did in order to give you a database at zero cost is basically a shared database. It's like a logical database on top of a physical database. That works pretty well when you have lots of small databases. Right now we have over 140 million tables. But when one of them starts becoming large, you can't really optimize because they're all on the same physical table, just logical partitioning. So what we've done, we actually created different tiers of databases. So today in Velo, we actually have the basic database, which is free, and you can scale with it to about 10,000 items, depending on the workload. As part of Wix Elite plan, we have a database which is a dedicated table. It's basically a physical table, and that can scale more. We're having the option for you to bring your own database, database so you can decide that you're going to install your own MySQL or whatever and just connect it to our system and then scale it as much as you want. We don't care at that point. When you have a long tail distribution, a lot of the times the product for one edge is not the same product for the other edge. A product for lots and lots of small users is not the same as a product for a few large users. And trying to build them together as one doesn't really work out.
Yoav, as you step out on the balcony and you look across all that you've built, what are you most proud of?
I think Velo is definitely number one. Definitely number one. It's the one that I've taken from an idea all the way to where it is today, which is just amazing. There are quite a few other things that I've created and grew and are successful. The Wix App Market is, again, just another one. But I think Velo is definitely the one.
Let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.
One of my employees reminded me when we launched Velo. Actually, we actually launched it to everyone. We were 12 people at the time, and that guy was an engineer. And we were all in a circle, and I told him, I don't know how or when, but I do know that we're going to create a downtime of two days for weeks because of velo. And I have no idea when, how, why, or how to prevent it, but I just know that it's going to happen sometime next year. And that's the risk we're taking. That's okay. Let's just be prepared for that. And actually, we didn't create a downtime for all of weeks for two days, but it put us in the right mindset. I can share one example that we had was that we had two servers. One was a proxy server and the other one was some application. And the first one was Java. It was using a Java HTTP client, which is set to follow redirects by default. And the other server, it had a great idea. If there is a problem, there is an exception, it would just return a redirect to the homepage. page and that other server at some point had an exception on the home page so what happened is that the request came went through the proxy got to the second server had an exception got a redirect to the home page got it back to the first server which would follow redirect went out to the router and to the load balancer got to another server which got to the first application proxy to the second application again got an exception on the home page got a redirect to the home page back to and basically it dropped the whole data center in one request. That was really funny.
Okay, Yoav, what does the future look like for Velo, the product, and for your team?
I think Velo right now is in a very good place. Velo is well accepted in the Wix developer community, Wix partners community, and we're trying to ramp up Velo Velo to support more and more complex use cases like enterprise companies. We're introducing VS Code as part of the Velo Online IDE. More tools around the pro-development workflows. And at the same time, we're investing quite a lot in Wix Blocks, which is, if you remember, when we started Velo, we wanted to build applications for the app market. And Velo turned out to be the website. So Blocks is actually the option to build applications for the app market using the same Velo and the same Wix. of that as well and it's starting to get more and more traction and getting lots of growth the future for velo is going to be a better and larger in what it does in making building websites and building web applications easier and easier and to be able to support larger and more complex teams and larger and more complex projects basically getting that point where your next it's going to be obvious you're going to use Velo.
Yoav, let's switch to you. Who influences the way that you work? Name a person or many persons or something you look up to and why.
One definite influence is my brother, Avishai, which is the CEO of Wix. There's lots of stuff I have learned from him. There's lots of stuff that I brought to the company. I think that's definitely one. I think more than that, I'm trying to take and learn from almost anyone I'm working with. Today, I have a partner that is Avi Gozhansky, which is managing three of our groups. We're managing together those three groups, and I'm learning from him a lot about being a manager, being a better manager. And I think those are things that I'm taking on a day-to-day basis. There's also the superstars, Uncle Bob and other people like that, that you're learning a lot from, especially in terms of attitude and how they approach problems and being fearless about challenges. Two people that really influenced me a lot in 2011, Avishai again, was challenging me about working in Java in Wix and it took us four months to make a release. That was 2011. The quality was really bad. How do we solve something like that? And at the same time, I met a person called Ishai Smith. He was working in a company that was just managing stock options and doing 50 releases a day. And so I asked, how can you do that and release so fast? And that was basically a continuous delivery. And there's lots going on behind that. And basically, long story short, Wix today is working in that concept of continuous delivery. and is a test-driven company with 20,000 releases a year to 30,000 releases a year, something like that. I think that was one amazing influence. Another part of that was I went to QCon at the time, I think the same year, and did a workshop with Marty Friedman and I forgot the name of the other one. They wrote the growing object-oriented software guided by test, which kind of was a complement, complementary to what Ishai was talking about. again something that I brought back was a big influence about the culture in Wix and actually if you go into Wix offices you'll see this book everywhere.
Yoav, I have 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 they can't wait to show it off to the world and can't wait to show off to you right there on the plane what advice do you give that person having you know gone down this wrote a bit with Wix, but also with Velo.
The best advice is that if everyone is telling you that you're hallucinating and you're wrong, you're probably right. You're probably doing something that no one thought about. And I think after that, I would just listen to him and try to give him the best advice I can from my experience.
I love that. I really appreciate that. That's fantastic advice. Well, Yoav, thank you for being on the show today. Thank you for telling the creation story of Velo by Wix.
Thank you very much. Glad to be here.
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.