Skip to content
Ask for a Budget
EngineeringNovember 24, 20266 min read

Why do changes take so long to ship? Nubank went from 90 to 15 minutes

In a 2020 account, Nubank said it took 90 minutes to put a change live and got that down to 15. What changed and what to ask your team.

Why do changes take so long to ship? Nubank went from 90 to 15 minutes
Índice do artigo
faltam 5 min de leitura

Nubank (a Brazilian digital bank) was growing so fast that putting each system change live had become a construction project. To publish a new version, the team needed to spin up an entire structure of machines, and the process got slower and more painful over time, says Renan Capaverde, then the bank's director of engineering. The way out was to change how each version went live, migrating little by little, with an internal team that looked after the technical foundation for the other teams. In a 2020 account, the bank said that, after the switch, putting a change live went from 90 to 15 minutes. The cost efficiency the bank expected only showed up much later, as an estimate by the team itself.

The case is from a company much larger than average, but it applies to anyone who pays for a system and waits days for each adjustment. The delay was not in the people who write the code. It was in the path between the finished change and the customer.

How Nubank changed the way it publishes

The account is in a case study published in July 2020 by a technology foundation that maintains the tool the bank adopted. The tool is called Kubernetes. It decides which machine each part of the software runs on and swaps versions gradually. The text comes from the company itself and does not say how the times were measured.

Your team calls this moment a deploy: it is when a finished change leaves the hands of whoever programmed it and reaches the customer. The bank was born with no old system to carry and ran almost everything on Amazon's cloud. The squeeze came with the growth of the team and the customer base: each release waited for a new machine to start up in the cloud. With the new system, according to Capaverde, you just started the program, without waiting for a new machine.

The migration was done in stages, and one of the plans was discarded along the way.

  1. The squeeze with growth
    Each release waited for a new machine to start

    With more team members and more customers, putting a change live got slower and more painful over time.

  2. Discarded plan to speed things up
    Everything in a single group of machines

    The idea of speeding things up by putting the entire test environment in a single group was dropped: a failure there would bring everything down, and the team still knew little about the tool.

  3. Test environment before production
    First, where no customer feels it

    The team installed a ready-made solution, took the configuration apart to understand how the tool worked and, from there, built its own automation. The teams started using the new system in testing, and feedback from users helped improve the tools before production.

  4. Production a few months
    A small slice of customers

    The team set up a new group of machines and put only a small slice of customers on it, as a test, until it trusted that the solution worked.

  5. The rest of the base one slice at a time
    The other slices, one at a time

    With the confidence gained in the previous stages, the team started moving the other slices of customers, one at a time.

The time to put a change live for customers dropped from 90 to 15 minutes, and engineers reached 700 releases per week. The account does not say how many times they released before.

Before the switch90 minutes
After the switch15 minutes
Time to put a change live for customers, before and after the switch. The bank's own numbers, with no published measurement method.

Capaverde acknowledges that, for a bank, releasing at that pace seems crazy, and explains why it is not. Each new version first went to a small portion of customers, so an error affected few people. And, since releasing now took minutes, rolling back to the previous version also became fast. According to him, people started releasing more often and with more confidence.

What took a while to pay off

The cost gain did not come right away. At first, the team had technical problems with CPU usage and, as a precaution, reserved spare capacity for each program. That prevented the savings the bank expected. Almost a year and a half later, with more tuning, the team estimated about 30% cost efficiency. The number is an estimate by the team itself, and the account does not show the cloud bill before and after.

In the same period, the team that looks after the internal tools used by the other teams grew from a small group, juggling several roles, into a large team dedicated to that foundation. Capaverde describes the tool as a monster that helps a lot, as long as the team learns to understand it and tame it. In the industry, this kind of team is called platform engineering: an internal team that gives the other teams ready-made paths to build and publish.

The idea is old. British engineer Martin Fowler, a leading author on the subject, sums it up in one sentence: if it hurts, do it more often. A team that repeats a task sees more clearly how to automate it, and each small change has fewer things that can go wrong and is easier to fix. The book in which Google explains how it keeps its systems running says the same: releasing frequently makes it easier to test and find the problem.

And in your company, why does every change take so long?

When a simple adjustment takes days to reach the customer, the temptation is to blame whoever writes the code. At Nubank, what the team rebuilt was the path to the customer. And that delay has a cost. If releasing is expensive and risky, the team releases less and bundles many changes into a single package, and each large package has more that can go wrong and more work to find out what broke.

This applies to you if any of these signs show up:

  • A small fix waits for the agreed day to push versions
  • Releasing depends on one specific person doing steps by hand
  • Nobody can say how long it takes to roll back to the previous version
  • Every change goes to all customers at once

Nubank's result is not a promise. The numbers are from 2020, from a company of a different scale, and the account itself shows that the cost gain took almost a year and a half of tuning. What you copy is the order of the decisions, not the size of the project: migrate little by little, test with a few customers before everyone and have someone responsible for the tools the team uses to release.

Questions for your team or vendor

Send these questions to whoever looks after the system. The answers show where changes get stuck.

  1. How long does a finished, approved change take to reach the customer, and where does it wait?
  2. Which release steps does someone still do by hand?
  3. If the new version has a problem, how long does it take to roll back to the previous one, and when was that last done?
  4. Can we release first to a small portion of customers?
  5. How often do we release today, and what prevents us from releasing more often?
  6. Who is responsible for keeping the release process working, and what happens when that person goes on vacation?

If any answer comes back as "it depends" or "I don't know", that is already the first finding.

Who looks after the path to the customer

Companies without the size to build such a team can hire that care. X-Apps does this work in its DevOps Operation service, a monthly partnership. It handles routine releases and fixes and checks every day that the system is up and responding well.

It all starts with a diagnosis of what is running: a conversation about the system, the access and what bothers you most today. It also works for a system built by another team. Code, documentation and access stay with your company.

In the previous piece in this series, Shopify spent a year rehearsing Black Friday and found in time a limit the plan did not show.

Sources: Nubank case study at the CNCF (July 10, 2020); Martin Fowler, Continuous Delivery (2013, updated in 2014) and Frequency Reduces Difficulty (2011); Dinah McNutt, Release Engineering chapter of the book Site Reliability Engineering, Google (2017). Accessed on November 24, 2026.

Previous post
Image AI in your app: how to cap spending per user and charge for usage
Next post
The AI in your system can be suspended without notice: what to ask for
Newsletter

One email a month, no noise

What we learn shipping custom software and applied AI.

Related articles

The update that takes everything down: why you should release to a few first6 min · Engineering
Staging vs Production: why separate them and how it affects your app7 min · Engineering
Vibe coding and AI: why new features break what already worked6 min · Engineering
System load testing: how many users it can handle and where it breaks17 min · Engineering
Old system with no vendor: AI helps decipher it, within limits8 min · Engineering

Accelerate your business with X-Apps

Ask for a Budget
X-Apps is an IT provider partner and advised by
Gartner
Receive our e-mails
News on software and applied AI.
Follow X-Apps