# Shopify rebuilt an internal code system in a weekend

Markdown copy of https://realalpha.app/s/shopify-rebuilt-an-internal-code-system-in-a-weekend/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Tobi Lütke](https://realalpha.app/people/tobi-lutke/) · Tobi Lütke is founder and CEO of Shopify. · Co-founded Shopify, the Ottawa e-commerce platform, and has served as its CEO.
- Host: [David Senra](https://realalpha.app/people/david-senra/) · Host, Founders · Has read an entrepreneur's biography every week for Founders since 2016.
- Show: Founders
- Episode: [Why Founders Like Jensen Huang Are Irreplaceable | Tobi Lütke, Shopify](https://realalpha.app/v/w0oOxs0WKNk/), Nov 22, 2026
- Moment: 54:38 to 57:20 of the episode (3 min), playing on https://realalpha.app/s/shopify-rebuilt-an-internal-code-system-in-a-weekend/; the episode from there: https://realalpha.app/v/w0oOxs0WKNk/?t=3278

## Quote

> “merging pull requests at a rate which is like i don't know **10 to 100 times higher**”
> — [Tobi Lütke](https://realalpha.app/people/tobi-lutke/) at [55:19](https://realalpha.app/v/w0oOxs0WKNk/?t=3319) · Founders

## Takeaways

1. Pull requests were merging 10–100 times faster than before.
2. Shopify updated a production code system over a weekend.
3. AI makes previously impractical engineering work viable.

## About this segment

Tobi Lütke says Shopify's pull-request volume rose 10–100 times, prompting a faster repository system. An AI-era rewrite that might once have taken years became a weekend project.

From “Why Founders Like Jensen Huang Are Irreplaceable | Tobi Lütke, Shopify”, Nov 22, 2026. [Watch the full episode](https://realalpha.app/v/w0oOxs0WKNk/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[54:51](https://realalpha.app/v/w0oOxs0WKNk/?t=3291) again it's called building factories it's the dumb term and it will be renamed if you haven't like an authentic factory that like really works well in the problem domain you're trying to solve problems in you can make a decision on friday and you show up on uh like on on monday with production code i'm not making this up and literally just did this like i completely rewrote our entire like i mean not entire thing but like and i rewrote like it's a figurative like a term at this point not to be taken literally what was the system of our um internal source repository system um that uh hosts all the code in shopify quite better um sort of loosely based on a tool i shared called wargit a while ago yeah that's in production thousands and thousands of engineers plus the rest of the company everyone commits into this thing it's like i had to update it because

[55:30](https://realalpha.app/v/w0oOxs0WKNk/?t=3330) we are now merging pull requests at a rate which is like i don't know 10 to 100 times higher than it has been at any other point in history in the company because of the acceleration so it needed to be faster so it now it's now it's faster and that was a weekend project not a multi-year rewrite Okay, so that was a weekend project. Five years ago, it would have been taking how long? I don't even know if you would do it.

[55:54](https://realalpha.app/v/w0oOxs0WKNk/?t=3354) Because it's like, it's kind of why, like, you would use GitHub. And the reason why you would use GitHub is because GitHub was perfectly good enough for the pace at which humans were called. Which is like, you work for weeks and then you make a pull request. Maybe there's multiple pull requests at the same time. But it's like, it's bounded by the amount of engineers you have. and so the it never gets like that crazy but now if you decide i need to rewrite our entire database layer like a system because i have this beautiful idea that can cause millions of lines of simplification in the systems that we then have to rewrite in rust which is like doing pre-work basically to make the next task cheaper and more solvable then you can build all of that in a day you would never ever have done this because it's too hard it's like it's a too hard thing because

[56:45](https://realalpha.app/v/w0oOxs0WKNk/?t=3405) you'd have to find people with specialized skills to staff it you would then have to keep them being a really really jiving team for a year and at the end you get something that you then can check to figure out if your assumptions were right it's like in a company that makes software for entrepreneurs and commerce and and so on that's too much of a side quest but now it's like it's
