RREWORK
← All episodes
15 January 2019

Big Integer

5Frameworks
7Insights

Listen

Frameworks in this episode

Insights & moments

The myth-busts, hot takes, explainers, and tools worth keeping.

Hot Take· 1

Hot Take24:04

Reliability Teams Must Learn to Value the Days Nothing Happens

Operations work resembles both firefighting and fire inspection: teams respond to visible emergencies while spending much of their time preventing incidents customers never see. With a seven-person operations team and unavoidable trade-offs, perfect preparedness is impossible, so preventing uneventful days must provide its own satisfaction.

  • Reliability work includes response and prevention.
  • Successful prevention is usually invisible to customers.
  • Reliability and availability involve resource trade-offs.
  • Small teams cannot prepare perfectly for every possible failure.
  • Nothing happening can be a meaningful operational success.

“And so a lot of our work is looking forward for things that might happen, and then looking at how we can make sure they…”

Jeremy Daer · 24:35

“the idea that I can be perfectly prepared, you know, is is pretty foolish.”

Jeremy Daer · 25:27
#site reliability#operations#prevention#trade-offs

Explainer· 2

Explainer02:46

How a 2.1-Billion-Row Integer Limit Took Basecamp 3 Down

Basecamp 3's events table recorded nearly every activity in the application, but its ID column used a finite integer type. When the table exhausted that range, Basecamp could no longer insert new events, forcing the application into read-only mode until the column could be migrated to a big integer.

  • The events table stored activities such as messages and to-do updates.
  • Its integer ID column had a finite capacity of more than 2.1 billion rows.
  • Exhausting the ID range prevented new events from being written.
  • A big-integer column offered capacity in the quintillions.

“Once the table maxed out that number of rows, new events could no longer be written to the table.”

Narrator · 03:19

“We needed more rows. And there's a column type called Big Integer, which allows more numbers.”

Taylor Wibely · 03:45
#databases#integer overflow#basecamp#outage
Explainer19:17

Full Trust Batteries Made the Emergency Feel Calm

The outage response stayed cooperative because colleagues already trusted one another's competence and intentions. People left space for assigned responders, volunteered useful help, and communicated smoothly without creating internal pressure between teams.

  • Competence and expertise reduced uncertainty about colleagues' work.
  • Existing trust prevented cross-team requests from becoming internal friction.
  • People helped voluntarily rather than waiting passively.
  • Responders respected one another's incident roles.

“A lot of it's just competence and expertise and trust.”

Jeremy Daer · 20:06

“Of our trust batteries with each other are very full.”

Jeremy Daer · 20:09
#organizational trust#teamwork#culture#crisis

Story· 2

Story04:20

The Most Painful Part: Basecamp Already Knew About the Risk

The outage was not caused by an exotic failure but by a known database-capacity issue that had already been flagged. Basecamp had begun addressing it but misjudged how much time remained, making the incident a humbling example of a preventable risk becoming urgent.

  • The underlying issue had been known for years.
  • Work to address it was already underway.
  • The remaining time before failure had been miscalculated.
  • Experienced teams can still make elementary mistakes.

“And we just we had either not calculated or not calculated correctly how much time we had left.”

David Heinemeier Hansen · 05:00

“That's also I mean, in some ways it's just the ultimate humbling experience that it's such a rookie mistake, and it evaded not only me,…”

David Heinemeier Hansen · 05:18
#technical debt#risk estimation#failure#humility
Story11:27

The Three-Hour Database Migration Failed at the Moment of Truth

Basecamp attempted to alter an offline replica, return it to service, and promote it to primary so the live primary would not be blocked. After hours of waiting, the migrated replica initially could not catch up, confronting the team with either complete downtime or the loss of recent customer data. Investigation revealed a disabled replication capability that their database version supported and staging confirmed would work.

  • The team migrated a replica to avoid blocking the primary database.
  • The initial attempt could not apply recent primary-database updates.
  • The apparent options were total downtime or losing two to three hours of data.
  • A configuration change enabled the replica to catch up without either outcome.
  • The team verified the configuration in staging before using it.

“Either have Basecamp 3 go completely down, even worse than read-only, or lose the most recent two to three hours worth of customer data.”

Narrator · 12:40

“It's just the moment of like enormous relief. We've just averted this like impossible decision.”

Jeremy Daer · 13:32
#database migration#replication#data loss#incident recovery

Takeaway· 2

Takeaway14:24

Why Customers Responded to a Five-Hour Outage with Compassion

Basecamp's customers were unexpectedly supportive despite the severe disruption. The support team attributed that reaction to years of reliability and fast, personal service that had made the company recognizably human before the crisis occurred.

  • A major outage was extremely rare in customers' experience.
  • Basecamp had accumulated trust through years of reliability.
  • Customers normally received prompt replies from real people.
  • The absence of impersonal barriers made customers empathize with staff.

“So we've built up all this trust. Like they know this doesn't happen with regularity.”

Kristin Aardsma · 14:57

“And so we've built up a lot of trust with people, and they know that we're human beings or answering these emails.”

Kristin Aardsma · 15:32
#customer trust#support#reputation#relationships
Takeaway25:50

The Strange Pride of Handling a Bad Event Well

After the outage, team members described a paradoxical emotion: feeling good about their conduct despite feeling bad about the event itself. They were proud that the group stayed organized, acted gracefully, and avoided panic under pressure.

  • A failed outcome and a successful response can coexist.
  • The team evaluated not only what happened but how people behaved.
  • Grace, organization, and composure became sources of pride.
  • A crisis can reveal cultural strengths without making the crisis desirable.

“feeling really good despite a bad thing happening.”

Kristin Aardsma · 26:09

“So we were all really proud of ourselves and we handled it with with grace and were organized, and nobody lost a shit.”

Kristin Aardsma · 26:28
#resilience#team pride#culture#reflection