This is a free preview of a paid episode. To hear more, visit refactoring.fm
Todayโs guest is Malte Ubl! Malte is CTO at Vercel, the frontend cloud provider and creator of Next.js, the most popular React framework.
He has also been Engineer Director at Google, where he led Google Search for desktop computers.
๐๏ธ Episode
You can watch the full episode on Youtube:
Or listen to it on Spotify, Apple, Overcast, or your podcast app of choice.
๐ฅ Interview Summary
If you are a ๐ paid subscriber ๐ you will find my own summary of the interview below.
Itโs the 10-minute, handcrafted takeaways of what we talked about, with timestamps to the relevant video moments, for those who donโt have time to sit through the 1-hour chat.
Here is the agenda:
* ๐๏ธ Vercel's engineering culture (00:41)
* ๐ Development process (05:45)
* ๐ฅ Team structure and mgmt (12:51)
* โก Optimizing dev experience (32:44)
* ๐ค AI and the future of engineering (42:50)
Letโs dive in ๐
1) ๐๏ธ Vercel's engineering culture (00:41)
Vercel's engineers use the tools they build, creating a natural empathy with users.
This approach allows for intuitive product development without extensive market research. By starting with what they themselves would like, engineers often create solutions that resonate well with their audience.
Basically, the entire organization at Vercel uses their product daily - Malte mentions that CEO Guillermo Rauch has deployed an app on Vercel every single day for the past five years.
So, as we could expect, Vercel is an engineering-heavy company ๐
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_02And I think everyone can ask themselves, like, where am I the bottleneck? And what can I kind of do to no longer be the bottleneck? And the impact can be, like, if you're in a leadership position, the impact of that can be very substantial. And people kind of usually don't have that perspective.
SPEAKER_00Today's guest is Malti Ubal, CTO of Vercel, which is the front-end cloud provider and creator and maintainer of Next.js, the most popular React framework. With Malti, we deep-dived into how Vercel works as a team, what good developer experience looks like, and the future of AI-enabled applications. So let's dive right into it. Whether you are building the biggest public API or the smallest microservice,
SPEAKER_00SDKs turn the chore of API integration into the joy of effortless implementation. And with SpeakEC's platform, you can now automatically generate robust, idiomatic SDKs in over 10 languages in just a matter of minutes. SDKs are feature-rich with type safety, auto-retries, and pagination. Everything you need to give your API the developer experience it deserves. Visit speakeasyapi.dev and generate your first SDK for free.
SPEAKER_00Hey Malte, welcome and thank you so much for being here with us today.
SPEAKER_02Hey Luca, nice to meet you and I'm so excited to be here. Thank you for having me.
SPEAKER_00Thank you. So, Malte, you are the CTO of Vercel, which is, of course, the popular front-end cloud provider and also creator and maintainer of Next.js, which is the most popular React framework. So the first thing I would like to talk about with you is how Vercel works as a team. Because from the outside, Vercel has always moved pretty fast in the industry. And I'm thinking of all the things you do, of course, the cloud and then there's Next and how you started to support AI applications very quickly.
SPEAKER_00So when one thinks about elite engineering teams, Vercel is one of the names that comes to my mind. So my very basic question is, what does your team look like from a 10,000 feet view?
SPEAKER_02So the way I would describe it is we are a very unique mix of top-down and bottom-up culture. I think what is special about a company like Vercel, but we're certainly not unique in that fashion, is that because we built developer tools, And the engineers that build them are using them themselves. There is this like baseline empathy for what developers want, where you, you know, you don't have to do market research. You don't have to like ask someone else to ask someone what they want. You just kind of say, what would I like?
SPEAKER_02And kind of start from there. Obviously that's like, you're not, you know, you're not the center of the universe. You don't, you know, that might not be the perfect answer, but you start out with something that's pretty good. Yeah. And then you can go and iterate from there. So that's, that's part one. The other part is that, Throughout the entire organization, we use our product every day. Guillermo, our CEO, I think hasn't like not deployed an app on Vercel every single day in five years or so, probably more. The company is seven years old. So that's kind of the combination where kind of everyone really understands what
SPEAKER_02the product is and how changes would make an impact for our developer audience.
SPEAKER_00Yeah, that looks like really a superpower, being able to get so much feedback, not just from your customer base, but also from your own engineers. And so speaking of engineers, do you have like regular product teams with PMs or you are more like engineering heavy than other companies, for example?
SPEAKER_02I would say we are engineering heavy and that is because of what I was saying that there is a baseline like empathy in every engineer for the product that we're building and for our developer audience. But otherwise we are, you know, I think a modern product company that's like in the kind of built on the learnings from, I would say like Silicon Valley product company culture. And in a way, it's our mission to bring some of that ethos to the wider world.
SPEAKER_02So often we think about ourselves as kind of the meta product company in the sense that every time we, for example, see that there is a tool missing for our process, we ideally make that a product rather than fixing it only for ourselves and doing a one-off solution.
SPEAKER_00Yeah, it's great. And do people work on independent teams, for example, when it comes to Next, when it comes to Vercel, the developer experience platform and infrastructure, or there is rotation? How does it work?
SPEAKER_02Yeah, so generally speaking, we have three divisions in our engineering team, roughly equal size, but obviously that depends on the day. And we are trying to... not have this classic separation between infrastructure and, and product. And that's, I mean, it's easier for us to do because we like our product is infrastructure. And so we do have a division that, that, you know, like they, they own our primary communities clusters.
SPEAKER_02They, there's technically a small team that does company wide infrastructure and platform work. But primarily they are the product team. So there isn't like separate organization that owns like our managed infrastructure product. And that's has the infrastructure team as a customer they want team.
SPEAKER_00Yeah. Yeah, makes a lot of sense. And so I'm thinking that for many people, Vercel is synonymous with good developer experience, continuous delivery. You have been one of the first to make popular many concepts like preview environments and many ideas that are now a staple of many teams when it comes to DevOps. So how does the whole process work for you? So what's the journey of the code from when it peer gets submitted to when it goes to production.
SPEAKER_00I understand that it may vary based on your product or based on what you're doing.
SPEAKER_02Totally. So are you asking about what our customers experience or what we just experience? Your internal experience. We try to make it mostly the same. So we build as much as possible on the Vercel platform. There are some exceptions. So we do have a control plane that lives outside of Vercel because there are some bootstrapping issues where... If we put a bug and then we take down Vercel, but we need Vercel to deploy, you don't want that, right? So you have to have a little bit of a separation, but we try to make as much of the workflow kind of centered around the Vercel platform.
SPEAKER_02One thing that's really, really key to our workflow are obviously feature flags. We love them. We put them on everything. And we also are right now in the process of making them a first class entity in our product. And actually that starts in local development. So right now there's a Vercel toolbar and you can put into your project. And so it starts when you're on your local machine, you start Next.js and you put a flag and you turn it on.
SPEAKER_02Now the system knows for this branch, the developer put this flag. Now you push the production. Sorry, you push to the branch, to GitHub or whatever you're already using, and then Vercel starts making a preview deployment. And you go there and it says, well, you had this flag on during local development. You also want to have it on the preview. And you say yes, right? And then everyone who goes to the preview has the flag, and you push to production. There, the toolbar exists as well. Obviously, that requires authentication.
SPEAKER_02That determines whether you should see it. But then you can say, you know, you can put an override, you can make a cryptographic assigned link to your colleague that says, okay, here is my, here's production with the flag on. And then we have the flags kind of tunneling through the entire system so that the control plane, backend, et cetera, all kind of know about the same state of the world.
SPEAKER_00Yeah, that's exciting. So do you think that's the way that the development workflow should work when it comes to even branching and collaboration, like using feature flags from the very beginning on when you're creating a feature? So branches are maybe more short-lived and you push the production as soon as possible with the feature that is just disabled until it's ready to go. So is that how teams should work?
SPEAKER_02Yeah, absolutely. Like, you know, there's so much pain with long lift branches and so much kind of time to validation that goes away. If you can effectively ship with confidence as soon as possible, you know, you don't have to rebate all the time. Like there's all these reasons why having long death branches is very painful. It gets even more complicated if you have more than one contributor to a branch. And so we kind of trying to minimize that,
SPEAKER_02trying to keep the PR size as small as possible and have people be able to ship things like, you know, at very high velocity.
SPEAKER_00Yeah, I agree. And we're always talking about production versus preview environments, but you also use pre-production or staging environments or other intermediate environments in general.
SPEAKER_02So today, actually, this is not even supported on Vercel. Not really. I mean, people do it. Like you can just designate a preview branch and say, this is my staging environment. We support kind of environment variables that are targeted to certain branches. This is something we're actively looking at because we know that we have customers that do want to have this workflow and we're like, We're open to it and want to support them. But the workflow that we certainly have is you push,
SPEAKER_02you get a preview, you merge it, it gets auto-deployed to production, and then you use a feature flag to turn it on. And if you want to do QA, you do that on the flag. You don't QA on a dedicated environment.
SPEAKER_00Yeah, it makes a lot of sense. And are you opinionated in a way for one kind of workflow or another? Do you think it strictly depends on your product, on your team? Or can you see that the best teams work more frequently in one way or another, like skipping staging or going through different environments or using just preview environments? I mean, what do you see from your point of view?
SPEAKER_02Yeah. So, I mean, I'm definitely opinionated certainly for my own teams and what I would recommend if a customer asks like what they, what they should do, but I'm also, you know, very willing to accept certain realities. But yeah, so the, I mean, the workflow that again, we're, we're partial to is one that has very fast iteration cycles and that gets caught into production as soon as possible and enables people to test in production.
SPEAKER_00Yeah, okay. And so people, I mean, I'm thinking that last week we had the charity majors as guests of the show and she advised for the code to go to production as soon as possible, what you just said, so that engineers could test and things in production and see how the instrumented code would behave while retaining the whole context in their head. So is that something that you try to do, like minimizing the time that it takes for the code to go to production so that
SPEAKER_00people could follow the journey of the code to production as well?
SPEAKER_02Yeah, absolutely. And again, it's not, it's kind of starts with something you ship stuff to production that doesn't work.
SPEAKER_01Yeah.
SPEAKER_02That's not obvious, right?
SPEAKER_01Yeah.
SPEAKER_02But that's what a feature flag enables you to do. If you literally have this feature and it doesn't work. And yeah, but it's in right. And now you have this like small PR that does the last mile and that can get a focus review and doesn't have like the, you know, 500 lines of boilerplate that kind of put everything in place. And, you know, you kind of have to make that jump that that is a good idea, but that's the workflow that we're kind of proposing the world should adopt. But again, like, you know, it might not be for everyone.
SPEAKER_00Yeah, it's funny because it reminds me of the testing workflow, right? When you do TDD that you start with the test that fails and then you build the feature and feels like this is like the larger full stack version of that. So you push something that doesn't work and then you work until it works and you enable that on production.
SPEAKER_02Yeah, I love that analogy.
SPEAKER_00That's actually really good. So one thing that we have been discussing on the refactoring community recently is around engineering management. So it feels like with more and more good tooling and AI and engineers becoming more and more productive, you hear more and more stories of companies that deliver incredible things with very few managers, very few PMs or managers becoming more and more technical. So how is it for Vercel?
SPEAKER_00Do you have engineering managers at all? I mean, how is your company organized around that?
SPEAKER_02Yeah, we do have engineering managers. When I joined the company, we had just hired our first three engineer managers. Before that, everyone was reporting directly to our VP of engineering. And so I think they'd been there for like a couple of months. We were still kind of ramping up and you could kind of describe the company as kind of a beehive. So beehive have like emergent behavior, right? there's like structure, but the structure doesn't come from organization.
SPEAKER_02It comes from like people kind of following each other and, and, or like, you know, beast following each other. And it kind of felt a little bit like that, which is both kind of, I mean, it drives creativity. It drives good ideas and, and there's certain people that can thrive in that environment, but it doesn't scale to certainly not to hundreds of engineers. And so we've like since then transformed to more classic organization as we kind of were filling out the slots that we actually need to hire for. I do definitely think though,
SPEAKER_02that there is a, is a transformation of the role and of the, uh, of how people work together. The, the, in a way that's actually top of mind, um, we are in a, you know, we have a video podcast, but I don't have a slide, but the way I think about the roles is a spider graph. If you imagine EM PM tech lead TPM. So kind of the leadership roles in a project. Yeah. The square or like diamond that is like the whole spider graph,
SPEAKER_02that's the job that you need to do, right? And then there are people that do certain jobs. And like you have to fill the whole thing. But it's not necessarily that one, you know, that you have like the four people who have these very strict roles.
SPEAKER_01Yeah.
SPEAKER_02Like, for example.
SPEAKER_01Yeah.
SPEAKER_02I think a very powerful combination is a product-focused EM. So someone who has very, very, very deep passion and understanding and instinct for the product uses that to lead their team. But then you can have the very technical EM who has substantial technical contribution still, but does a little bit of the management side and kind of all these things going together. I think if you are kind of one-dimensional in that world, that...
SPEAKER_02you know, that can work, especially in more mature organizations. But I think it's good to kind of venture outside of the constraints of the role.
SPEAKER_00Yeah, that's very interesting. So you think in a way that it depends on the scale and the maturity of an organization, that is, the larger the organization, the more opportunity there is maybe for specialization and for people who maybe just fit one of the pieces of the diamond as opposed to smaller teams where people who can own more of these duties can really thrive. Is that correct?
SPEAKER_02That is correct, but I would say that only in the mature or larger organization can you specialize, but that doesn't actually mean that you necessarily need to. You can fill more of the space, even in larger organizations, and because organizations, even in large companies, are never perfect, there's always this opportunity. I was at Google for 12 years before I was at Vercel, and we... there was always someone,
SPEAKER_02you know, who like a role not filled or no head count for a program manager, right? Like it's definitely a thing that there is space for going beyond your current job.
SPEAKER_00Yeah. And may I ask at Vercel, how many engineers do you have on the team and how many engineering managers, for example?
SPEAKER_02So we are at like a, say 160 engineers. And I don't have the count of engineering managers at the top of my head. We are aiming, and I think this is a very kind of traditional way of thinking about it. We're aiming at the managers having... So, okay, there's two tiers. Either you are what Google... would be called a TLM,
SPEAKER_02where you're a technical manager, substantial technical responsibilities, and maybe you manage three, four people. And we definitely use that model as well, especially to get people into the role and to see how well it works. And then later, you know, you might manage eight to 12 people, depending on, again, like your spider graph shape, right? People manage focus, you can definitely do 12. If you do lots of other things, then probably seven is a more appropriate number.
SPEAKER_00Yeah, so you would say the main concern is to feel the duties, you know, the duties of the spider craft, the EM role, the tech lead role, the PM and TPM. It matters that somebody does them. It doesn't matter that each of them is done by a separate person. So maybe based on the team, on different teams, you may have the same people owning more of these roles than in other teams that may work differently. Is that what you're saying?
SPEAKER_02That's exactly what I'm saying. And certainly at Vercel, it's very... So we have people who work in these roles and But it's very common for a project to not have a TPM. It's very common for a project right now to not have a PM. And, you know, and it's, it also happens that there might not be like a designated EM because, you know, maybe it's a kind of a tiger team from all over the place. And so no one's like, like organically responsible for, for the particular project or product.
SPEAKER_00yeah and so do you have you seen that this is the result of an evolution of uh in recent years of you know tooling making people more and more productive and uh engineers so you have been 10 years at google now you're at the cell you you build developer tools so do you feel like there is less of a need for full-time managers or full-time roles that are not engineers. You have seen this ratios going more in favor of engineers. So do you think there are some evergreen duties that,
SPEAKER_00of course, they're never going away, but I don't know how much effort you have to spend on them.
SPEAKER_02Yeah, I think what would... I'm not actually sure there's such a trend.
SPEAKER_01Yeah.
SPEAKER_02But I certainly haven't seen really tooling make a huge dent in the sense that it would kind of make roles so much easier that they wouldn't be no longer necessary. It certainly makes people more effective, but it doesn't make them unnecessary. What I definitely... I think the main... property and there isn't a good word for this. So the,
SPEAKER_02like the property's ownership, right? So there has to be someone who truly owns the outcome and then just does whatever it takes. And that is a flexible role because sometimes you need to do some product management and sometimes you need to rally the troops. And sometimes you need to go through a ticket list and see what needs to be done to get the thing out next week, right? And it really is... It's flexible, but as an owner, you kind of naturally kind of gravitate to that way.
SPEAKER_02Unfortunately, we cannot use the word product owner because the scrum people stole it.
SPEAKER_00Yeah. You can never call that anymore. Yeah.
SPEAKER_02We cannot use the word GM because it's like general manager, but it's too undefined, right? At Google, that's a VP plus role. At AWS, they use it for something slightly smaller. And then there's other teams where they kind of use it for the EM plus PM kind of combination. But like, you know, it's not well enough. So I don't have a word, but like it definitely does come down to ownership.
SPEAKER_00Yeah. Yeah, I love this take. So I want to come back to something you said at the beginning that you said at Vercel is unique in the way that it blends top down direction with bottom up input from engineers, from people working there. So how does it work for you? So do you do like longer term planning and then you adjust and you say you keep some lanes for feedback coming from your engineers and customers. How do you reconciliate these different directions?
SPEAKER_02Yeah. So we do three months planning cycles trying to make and actually kind of going more towards half year plus like a mid half update. So that's how we're aligning kind of what we want to work on. And I think it's also important to understand that there is absolutely no kind of, like you can do quality planning and be very iterative, right?
SPEAKER_02These things are actually not in competition, even though people kind of sometimes think this. So that's one thing. The other thing is that we have on a team by team basis, something we call design your Friday where people every so often go and just do something. And, and then that is, you know, and also people just do things right. And then we have a, uh, a weekly demo day, which I'm, I'm the biggest fan of. It's like my really only must go meeting every Friday at 8 AM.
SPEAKER_02and people can just show things. And then it's very, very common that when you show it and it's working and you kind of see the impact and you see the response from the audience, that something that used to be like a one day hack kind of turns into the future strategy.
SPEAKER_00Is it like, in a way, the 20% self-directed time at Google where you can build anything and so you recreated that at Vercel?
SPEAKER_02Yeah, it's a very similar idea. And it's also something we itself have been iterating on, but what really works is to give people kind of the freedom to build working code. And then, you know, it doesn't really, we don't do like a pitch, right? People don't come to demo days to like with the expectation that it gets picked up, but they do come and then sometimes get picked up.
SPEAKER_00Yeah, love that. And do you have examples of great product features that have come from these demos from this 20% time?
SPEAKER_02Yeah, so there are a range of these. For example, we have a feature called SKU protection that we prototyped and then eventually shipped. SKU protection is something that I think your audience might find really interesting. SKU is a weird word, by the way. We can do this quick tangent. Everyone in big tech talks about SKU all day. It's like you have your client, you have your server, and they're not the same version. And you have to manage that. And especially if you are on really any technology, you have to make a deployment and
SPEAKER_02Maybe you have two versions running at the same time, but you certainly don't have N. But you have N clients which haven't updated. And so because Vercel has immutable deployment and is fully serverless, you can actually run every version of your software And so we have a technology where the client can kind of force the front end server to run at the version of the client so that there's zero skew between them. So that's a good example for something that we kind of prototyped and then turned into a full on product feature.
SPEAKER_00That's super cool. And it's incredible to think that it came out from, it's a bottom-up feature, you know, it's, yeah, it looks like a great example. And speaking of your team, so do you have any challenges or things that you would like to do better? I mean, what's top of your mind right now as a CTO of Reset?
SPEAKER_02Yeah, I mean, I think some of what we discussed today is absolutely top of mind for me. Like, we are figuring out kind of how roles fit together, how to actually ensure that, you know, we use the spider graph analogy, that it's built out. How to... guide people, I think, especially on the EM side, um, should they be more product focused? Should they be less product focused? Um, what is the role of the PM in that situation?
SPEAKER_02So that's definitely, that's definitely a challenge. Um, we, we try a different topic is that quality is, is very, very important to us and, and certainly kind of the. security, durability, performance side of our infrastructure business. I think we're doing a good job incentivizing this better than certainly Google did, for example, where it was all about the shining new feature and you didn't get credit for not
SPEAKER_02having an incident. And so we are trying to see how to optimize this and have the best outcomes. Because we are, like, I think you mentioned that we are, you know, we're well known for velocity. I think we're well known for kind of shipping things with high quality, but we're not, we're absolutely not satisfied. Like we would like to be better. We would like to have kind of, um, we, we have a very wide, like one of our big challenges is that we have substantial surface.
SPEAKER_02So we support 34 JavaScript frameworks. They obviously, each of these frameworks have N versions. We, we support Python, PHP, Ruby, Go, you know, very long list of programming languages on our platform. And it's, um, there, you know, over time our compute product has added certain toggles. Um, we hate every single one of them because that adds another dimension to the testing matrix here. Right.
SPEAKER_02And, and so we, we are, you know, we're, we're trying, we're working out on like how to, I mean, on the one hand, technical solutions to like getting the complexity kind of tested fully, the full kind of N dimensional matrix. And on the other hand, make better decisions that kind of over time minimize the number of dimensions of this matrix and the number of concepts that our users have to understand.
SPEAKER_00Yeah, I totally see your point. I think people underestimate the complexity of supporting such a diverse set of languages and stacks. And so how wide is the surface for everything from security to performance that you have to support? So maybe Vercel is more well known for velocity. But there is a tremendous technical work behind to make all these things work safely, fast. And so, yeah.
SPEAKER_00Is that what you would like Vercel to be more known for as opposed to maybe today?
SPEAKER_02Yeah, I think, I mean, I... I think we do want to be known for great developer experience, great velocity, and great kind of end-user performance outcomes. The other things, you know, I mean, the bar to, like, it's almost binary, right? Like the service has to be up. And I think that on the developer experience side, we are really trying to kind of
SPEAKER_02have the long tail be good. Because it's really easy. Next.js is the most popular framework in the world. We made it ourselves. Great experience on ourselves. Sure. I mean, just focus on that. Yeah, yeah, yeah. But everything else should be great as well. And so we are investing a very, very substantial amount of resources into getting that kind of matrix all figured out. And I think overall, the sentiment... is driven by the long tail in quite a substantial way.
SPEAKER_02Maybe the trauma and the frequent comment from our CEO Guillermo is, I think maybe it comes from an email, from a leaked email from Apple or something like that, where like someone commented, like download the app and it didn't work. And like, I mean, honestly, we sometimes have this where like we announced a feature And someone tries it and it doesn't work. And that's the worst thing, right? But it's extraordinarily common. Like people ship things that don't work all the time. And like, yeah, we try to not fall into that trap and have things work.
SPEAKER_02Again, like it's very easy to make the common case work, right? But like the... The weird gets set up with the weird backend and the very uncommon HTTP header. There's all these scenarios that we're trying to all kind of make work well.
SPEAKER_00Yeah, I guess it's very complex to keep compatibility and good testing and coverage for all these use cases, diverse use cases, as opposed to, of course, you know, you just focus on the most common, the happy ones, the most common ones. I mean, there is Next.js and da, da, da. But of course, it's another story when you have to test for all these other technologies, for all these other use cases. And maybe that's not what many people understand even from the outside. Right.
SPEAKER_00So another topic that I wanted to pick your brains about is developer experience and developer productivity. Because of course, you work on products that empower teams to ship faster and better velocity. We have talked about that. And we recently ran a survey on the newsletter about engineering productivity. What many people said is that sometimes what prevents teams from reaching their full potential is not technology, but process. Okay. So it's either too many meetings or too much work in progress, extra long code reviews, you name it.
SPEAKER_00Right. So do you have any lessons learned or advice for companies who want to create a good development process and developer experience holistically in 2024?
SPEAKER_02I think about this every day. It's our product to make it better. What's really worth it, and I think every engineering leader should do it, is write down the entirety of the process as a one-dimensional thing. Like, you can make a complicated gunshot, but don't, right? Like, say, okay, there's some kind of planning. We make some kind of ticket. The developer picks it up, and then the developer starts typing.
SPEAKER_02Yeah. And here's where it starts, because how long does it take from the developer writing code to being able to try it out on the local machine? Ideally, 50 milliseconds, but it might be, you know, 30 minutes. Yeah. Somewhere in between, right? But we are aiming for 50 milliseconds. Investing a lot kind of in hot code motor replacement and so forth. So you real time see as you type on the screen how your app looks. And okay, then you push. How long until you see a preview?
SPEAKER_01Yeah.
SPEAKER_02And it actually really matters whether it's 30 seconds, 2 minutes, 10 minutes, or 30 minutes. Because that really changes what people do in the meantime, if they have the context switch or not. Then, if people have feedback, how long until they get feedback? What's that process? How much context does the feedback have? That's why we ended up shipping our comments product where like in Figma, you can comment on the preview and say like,
SPEAKER_02here is a problem, right? Versus like screenshot paste into linear, whatever issue tracker you use, forgot the URL, forgot to say they're there in Safari, you know, whatever, right? Like there's all these things. Then you shift to production. How long does it take you to validate that it's a good change? How long... If it's a bad change, just take to roll back. So we shipped a feature really related to SKU protection,
SPEAKER_02but more broadly applicable called Instant Rollback. So on your cell, you can roll back to any previous state in under a second. And this is super powerful, and someone will ship a feature in our toolbar to make it even easier. We have a bisecting feature. Because we have immutable deployments, you can bisect your production environment to find where a bug was introduced. And that can, in an incident, can save you literally hours.
SPEAKER_02If you're on a more traditional Kubernetes, you would have to deploy them all. and then hopefully you think yourself that you bisect the git. But it would be an extraordinary effort, right? And here you can do it in real time. So that's all these steps. And it goes even further. But it really makes sense to write down what the process is, what the interruptions are, and then go micro-optimize. Because it's really worth optimizing each part in an independent fashion.
SPEAKER_02Obviously, I was focusing very much on the software development side, but once you go into how to get feedback, how to do the planning, meetings, et cetera, are very key. We can also go to that side, but I think that's what I'm focused on.
SPEAKER_00Sure. I think you can map those as well, especially if you have some parts of the process that are about meetings or other things that are not software development but are always the same. Maybe you write a design doc for new features or you have you know, the human part of the code review. I mean, there are things that are recurring that belong to the software development, but are not about software itself, you know, the tooling. So I think it's beneficial that you map everything basically, and you can to get awareness of where the waste of time is,
SPEAKER_00I think.
SPEAKER_02I'll give you a, like some semi sad anecdote, but again, like I was leading, um, the desktop search team at Google. And one of my jobs was, was experiment for, uh, sorry, approvals for launches. And it was an email-based process where the team would write a pretty substantial narrative because there would always be an experiment, right? And so they would always kind of, their analyst would write down in, you know, kind of two-page length reasoning why the outcome is positive.
SPEAKER_01Yeah.
SPEAKER_02And, you know, and then the product manager would write why it's a good feature and I would have to say, cool, great. And, you know, not to be too unfair to my peers, but it was kind of, it kind of showed that you were busy, but taking a while to improve. In fact, often there was, it was actually just this random person and they were really busy. And so they would come back with a question after two weeks. And a team would scramble, answer it, and two weeks later, it gets approved. And so it literally takes, that's four weeks now.
SPEAKER_02And that easily escalates to six weeks. So I just said to myself that SLA, I want to approve everything within 30 minutes. Even if I am in the middle of the meeting. So I'm going to have to like multitask. But the velocity when you get from that is so insane. I think everyone can ask themselves, where am I the bottleneck? And what can I do to no longer be the bottleneck? And the impact can be... If you're in a leadership position, the impact of that can be very substantial. And people usually don't have that perspective.
SPEAKER_02I think there has been a good development in the attitude towards code reuse, for example. When... know 15 years ago they were not a thing outside of big tech and then they kind of took the world by storm and now they're really normal but then it it's like it gives this opportunity for for people to slow things down yeah with it that weren't there before and i think that that the world has been trending towards being like
SPEAKER_02more on the side of if in doubt the proof and giving people also the benefit of the doubt. So I think if you make a nit on a code review and you don't approve it, now you make the company sore. That's very bad. It's also very normal. Very normal behavior where you don't trust your colleagues to correct your spelling error that you found in a comment. But those are the little things and it's really worth optimizing.
SPEAKER_00Yeah, totally. So I wanted to keep the last part of the interview to talk a little bit about AI. And I have to start by asking you because you have said you have led the desktop search at Google, you've worked 10 years there. And just yesterday, you know, we had the Google IEO and there were some of the biggest changes maybe in a decade about how search works and AI is changing how search works in the web. Are you excited about this? I mean, as an insider who has worked on that for so long,
SPEAKER_00you had talked about experiments there while you were working there. So are you excited about everything that is coming out just in a few months out of the whole AI shift?
SPEAKER_02So I am excited. I feel it's Google is still, you know, I obviously have a lot of background there. I actually feel this is very conservative change that they announced yesterday, which might be a bit of a hot take, but it's so the search engine has been on a trajectory and they are not changing the trajectory. It's more that AI is additive. And which probably, like, that's not necessarily a bad idea, right?
SPEAKER_02And they do have to take into consideration the ecosystem impact. So if you would change to a model where you almost never have to link through to the underlying web page, then at some point that web page will die and then that's not good. And so Google does have to have that responsibility in mind. And so certainly this used to always be top of mind because it's a symbiotic relationship, right? Where you do need to have the content to link to so you can be in the search engine.
SPEAKER_02And if you're the scale of Google, then your actions can have an impact, right? Whereas with Flexity, like... they can focus only on the user experience because they, nothing they can do at this point has any particular ecosystem impact. Right. And the, so for now I feel Google has stayed, like, I think they, they did a good job finding a course that kind of on the one hand addresses the threat that comes from the pure AI search engines,
SPEAKER_02but on the other hand, kind of keeps the ecosystem being a relevant player in that overall equation.
SPEAKER_00Yeah, I think it's especially hard for a big player because any change you make, you're under scrutiny. And of course, there are already articles that have come out just today about the threat that Google will not link to external websites to the same extent as before. But on one side, to the other side, you can think, It's conservative because the UX doesn't change much. There's opportunity to do more. So I think it's always hard to strike a balance.
SPEAKER_00But instead, speaking tech-wise, I think Vercel has been one of the first to support AI application very practically with streaming, with many things. What's your take about what good AI applications will look like tech-wise? And I'm not talking of the Googles of the world of the open AI. I mean, the rest of us who are not creating our models from scratch, but are building on top of these models. I mean, what are the building blocks and what will this AI enabled application look like?
SPEAKER_02Yeah, I think the notion of the AI engineer is really helpful, who is a person who doesn't build a model, who calls model APIs, who maybe does a fine tuning, but who does have to do things like evals that... you know, we were talking about search, search has been using for 20 years plus, but they were not a mainstream thing that you had to do because normal computer
SPEAKER_02systems were deterministic and had like finite inputs. And so you could QA them, right? AI systems and a search engine, you can't really QA because there's too many inputs. And so there's some, some of that coming, but yeah, I think the, um, to, to answer your question more directly, you already mentioned streaming. So that is a big mindset shift. Like in the traditional program model, you have like call API, get an answer, you do some post-processing, right. That kind of changes as these AI APIs are just too slow to wait for the full response to come back.
SPEAKER_02Yeah. Um, and then we have to think about multi-modality. But I think in a way that's maybe different from what people have top of mind. They think about maybe audio input, video input, photo input, text input. So that's obviously important. But on the outside side, the thing that we've been investing in, I think which kind of puts the ecosystem in a way back together is what we are calling generative UI, where you combine your existing UI
SPEAKER_02with the AI, which is a very powerful concept. People ship these chatbots left and right. Let's say you have your support chatbot and you say, I want to change my password. What the current generation can do is say, okay, here's the link to change your password. But your password change thing is probably a React component. And so what we've done is we have said, okay, the AIs now support function calling. React components are just functions.
SPEAKER_02Why can't the AI call the React component and draw to the screen? It makes a lot of sense. And then there's a mechanism to kind of put state back to the AI, which in this case would be just password change successful or something like that. And here you go. And so now you have a fully interactive application that uses your existing UI investment and kind of really ties these things together, which I think is... you know, it's,
SPEAKER_02it's an answer to, I think, question that many of us have to answer for our businesses today. So it's like, what is my role as an engineer, as a company in the, in the disrupted world of AI in a way, this kind of starts to provide an answer, right. Yeah. Because it shows, yeah. I mean, if I want to book a flight, I still need seat map because it's a better UI modality than the AI telling me, well, seat 15B is open.
SPEAKER_02Would you like that seat? No. Okay. How about 17A? Makes no sense, right? And I think that's like, yeah, so they're basically a path being chartered that combines some of the work that we've been doing in the past with the work that we're going to do in the future.
SPEAKER_00Yeah, that's very interesting. Do you think that applications are going to adapt to make themselves more easily usable by AI agents doing things? So exposing, I mean, we have function calling and all these things, so we are going to adapt applications so that AI gets better at using them?
SPEAKER_02Yeah, exactly. Like it's a symbiotic relationship and things are kind of, you know, things are obviously developing, but yeah, we're going to give the AI the capability to hook into existing business process as existing, you know, like I'm talking about UI, but really obviously that UI is hooked to your business, right? Like that's kind of the, because the AI, the way people interact with it, that's a user interface, right? And so the question is how to put these things together.
SPEAKER_02Yeah, I think the agent world is really interesting. It's early, early days. I'm definitely thinking about the world in which many applications are used by AI. So that puts top of mind, first of all, bug protection. So bug protection today is I don't want a non-human to use my thing. That would probably not stay, right? Like if I have an AI device and I say,
SPEAKER_02you know, book me a flight and the flight website said, well, you're not a human. You can't book a flight here. That's not great. So we're kind of more in the speculative realm, but I think OIDC as a distributed signing mechanism is really interesting. And so one of the things that I want to drive in the future is some notion of like, non-human players on the internet, having a way to cryptographically sign their identity into the work they do so that
SPEAKER_02the parties can kind of, you know, professionally manage their relationships and build trust. Right. Um, and, and, and, and, and so forth.
SPEAKER_00Yeah. I mean, this is so interesting. I know it's speculative, but thinking about how. equivalent of APIs and specs and can change to be consumed not by developers and humans anymore directly, but by agents and what this world looks like and the challenges, as you said, designing all the things. It's very, very interesting. And do you think also on the backend side, we will use LLMs to replace part of what we used to do with declarative code?
SPEAKER_00I mean, will we have at some point some backends that are just LLMs that output JSON and push them through API?
SPEAKER_02Yeah, I actually don't think so. I mean, maybe that's too bold and too general of an answer, because obviously that will exist, right? But especially if the AI is good, it will decide that it's better to write a program and have the program execute the task than to have the next work prediction LLM predict the output.
SPEAKER_02which is extraordinarily inefficient, right?
SPEAKER_01Yeah, I agree.
SPEAKER_02And so, you know, obviously the AI will help you write the program. It will help you write the backend. But it makes, you know, from an execution model point of view, it makes sense to kind of keep things in a way the way they are, right? Not saying there won't be any change, but I don't actually think that for many common tasks, it makes sense to use the LLM as the execution model.
SPEAKER_00Yeah, I agree. It's also the slowest and most expensive thing you can think of. I suppose maybe the only thing that is more expensive is making things done by people. But if you can do it with code in any other way.
SPEAKER_02If you're at Google scale, you no longer talk about compute. You talk about electricity usage. Yeah, exactly. And if you are already at some measurable percentage of world electricity usage, you cannot buy more. And so you cannot actually, even if technically it would be possible, move to a technology that uses 100 times as much electricity. Like that's just not possible, right? So they're at the limit, unless you make, you know, the AI more efficient, which isn't impossible.
SPEAKER_02Like our brains are dramatically more efficient than current generation LMs. So that could happen. But certainly for the time being, there are just kind of limits around what's possible.
SPEAKER_00yeah yeah and i have a final question also about ai because you are a maintainer of a very popular open source framework so are you more concerned or excited about the role of ai in in the development process uh with respect to open source model which is changing in a way right with copilot and the things the ai is taking what we have written so far and and maybe there is not really feedback loop ai may may turn bugs or things and we are not able to to
SPEAKER_00improve how things are done i mean are you concerned about ai changing how open source works or how this model is what has worked so far are you more excited by the productivity gains and how and about all the things we can achieve.
SPEAKER_02I'm definitely more excited about it. I think one interesting aspect is how to optimize a framework like Next.js to be a better target for LLMs. Yeah. And I wouldn't say that we have an answer for that yet, but I think it's a really interesting question. It kind of comes down to what we also discussed earlier, where in the future, your user is not necessarily a developer. I think the one big change is that the cost distribution of certain tasks around
SPEAKER_02software engineering changes. So the marginal line of code, writing it goes down, the cost goes down. There is a possible future in which the cost of maintaining code goes down quite a bit. And So that's why I have this hot take that we're like going to the opposite future of low code. Right. We're going to have a lot of code and we're going to have amazing tooling to like
SPEAKER_02maintain all that code and to like make sense of it and to understand it.
SPEAKER_01Yeah.
SPEAKER_02And that's kind of like, uh, you know, so that's, and that's a somewhat different world. And I think that the. as the role of the human changes, the comprehensibility of code becomes very important. Obviously that was always important, but you know, if I'm like the author and I'm like the primary consumer, like, I mean, there was always like the, the poor maintenance program. I had to like read it three years later, but you know, that was the, like, maybe I wasn't thinking about this, but now, now, like, um, there's a more immediate kind of challenge that,
SPEAKER_02that, uh, comprehensibility of what is being authored. important. And on the other hand, because it's so cheap to write the line of code density of writing becomes almost irrelevant. And that's actually good. Like it's a good combination. Like you don't want it to be too verbose. That's hard to read, but you can, if you make trade off in like micro API design, you can focus more on, on the read time than on the, on the right time where the passive thing people do have focused quite dramatically on, on the right time. I'll give you a very,
SPEAKER_02I mean, this actually has nothing to do with AI, but like, um, people used to optimize how much code you had to write to import a function. Like in, in, um, in JavaScript, for example, you can package things together. So it's all coming from the same file. Yeah. And then you only have one statement and you add a line like Who cares about that when you never write that thing by hand, right? And even like VS Code can do it just from autocomplete, right?
SPEAKER_02And it'll pop it up there. But like, it's a change where you, you know, where previous constraint kind of goes away. And I think we'll see a lot of that type of change in the future.
SPEAKER_00yeah i mean you gave me a lot of food for thought i mean thinking of how many language features are there because they're optimized for the human experience and how languages can instead change when the bulk of the code is written by machines
SPEAKER_02for example that's right i think one for now right these things can change but because of the knowledge cutoffs of the lms that actually puts a very very awkward kind of path on API evolution. Yeah. You know, because the LM doesn't know about the new API and you can kind of feed it with some kind of rack or, or fine tuning mechanism, but that's, that would always be kind of somewhat targeted.
SPEAKER_01Mm-hmm.
SPEAKER_02And, but you know, in the grand scheme of things, but then also if no one used the new API, because the LLM doesn't know it yet, then there isn't any training data for when it finally kind of catches up on the major training. And so I am kind of interested in if we kind of get stuck in a way on, on like November, 2021. Yeah. Yeah.
SPEAKER_01Yeah.
SPEAKER_02Yeah. API design, but yeah, we'll see.
SPEAKER_00I used to make a joke that, I mean, it would. We don't know if we had AI back then that were able to write perfect jQuery, would we have ever invented React, for example? Maybe we would have got stuck, as you said, because we wouldn't have cared.
SPEAKER_02Yeah. I'll give you one example where... So generally speaking, I actually don't agree with that because everything that's good for humans is also good for AIs. They are very... similar in certain ways and um the the most extreme example i think is tailwind so which is a maybe the audience says no but it's a it's a cs a way of writing css where you um rather than having the styling be separate from the markup which would
SPEAKER_02be the old best practice you just put it in line and that you know without going too much into detail That's amazing for LLMs because they don't have to do reasoning across large blocks of code. And they don't have to like, maybe they write the style first and then later they kind of have to fit like, you know, it's all one thing. And that is, that works remarkably well. And like, that's one of the reasons why like our vzr.dev generative UI tool that makes you,
SPEAKER_02gives you UI for your prompts. That's why it works so well because the LLM happens to be extraordinarily good at tailwind.
SPEAKER_01Yeah.
SPEAKER_02And, um, so I think that's like maybe the most, the most extreme API, API example for an API that just, you know, that was loved by humans. Yeah. But also hate it. Right. But from an LLM perspective, it's like, it's the absolute best.
SPEAKER_00Yes. Loved by many. Yeah. I think it was a great example. And so I'm mindful of your time, Malte. So thank you again for being here with us today. It was a fantastic chat that took so many notes. And so thank you again.
SPEAKER_02Thanks for having me. This was super fun. Thank you.
SPEAKER_00Thank you so much for listening. If you found this chat valuable, you can subscribe to the show on YouTube, Apple Podcasts, Spotify or your favorite podcast app. Also, please consider giving us a rating or leaving a review as that really helps other listeners find the show. You can find all past episodes and learn more about the show at refactoring.fm. See you in the next episode.
This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now: YouTube | Apple | Spotify Todayโs episode is brought to you by: TRM Labs Criminals are scaling with AI. Build the technology that...
This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify - Todayโs episode is brought to you by: TRM Labs Criminals are scaling with AI. Build the technology that...
This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify Todayโs episode is brought to you by: TRM Labs Criminals are scaling with AI. Build the technology that...
This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify Todayโs episode is brought to you by: Notion Learn more about Notionโs Developer Platform today at...
This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify Todayโs episode is brought to you by: Notion Learn more about Notionโs Developer Platform today at...