Non-Fiction, Informative, Educational

Backend Systems Engineering

A Coursebook on Backend Systems Engineering

by Battaglia Summer

  • English
  • 139 pages
  • 2026
  • SamEnrico

A Coursebook on Backend Systems Engineering

Formats

About this book

A Coursebook on Backend Systems Engineering

Free sample

Chapter 1: The Great Shift--–- On the morning of November 29th, 2014, a senior backend engineer named Sarah watched a graph turn vertical. It was 2:47 AM Pacific Time, and the checkout service she had personally designed for a major online retailer was failing in a way no load test had predicted. The green line representing successful requests plummeted toward zero. The red line for latency climbed past 30 seconds. The incident page filled with a single repeating error: "Connection pool exhausted."What happened next would determine the next five years of her career.

She could have blamed the database team for a slow query, or the Dev Ops team for under-provisioned servers, or the marketing team for launching an unannounced flash sale. Instead, she did something that, in retrospect, separated her from every other engineer in the room. She asked a different question: "What assumption did we make that turned out to be wrong?"The assumption was subtle but fatal. The checkout service had been designed to handle 10,000 concurrent users, but the flash sale brought 110,000. The load balancer distributed traffic across ten service instances, each configured with a database connection pool of 100 connections.

The math seemed sound: ten instances times one hundred connections equals one thousand total database connections, well within the database's configured limit of 1,500. The assumption was that users would complete their checkouts quickly. They did not. They lingered on the payment page, held connections open while deciding between shipping options, and triggered a cascade of timeouts that turned a slow checkout into a completely broken one.Sarah's team spent the next six hours manually restarting services, killing hung connections, and redirecting traffic to a backup database that had not been tested for failover. By 9:00 AM, the system was stable again.

The company had lost an estimated $12 million in revenue. The post-mortem meeting lasted four hours. The room was full of blame, finger-pointing, and the quiet resignation that this would happen again.But something changed in that meeting. Sarah did not defend her design. Instead, she walked to the whiteboard and drew six boxes.

She labeled them Service, Worker, Queue, Relational Database, Key-Value Store, and File Store. She said, "Our mistake was thinking like…

This is the end of the free sample. Get the eBook to keep going. Buy now

Read a sample →

Contents

  1. Chapter 1
  2. Chapter 2
  3. Chapter 3
  4. Chapter 4
  5. Chapter 5
  6. Chapter 6
  7. Chapter 7
  8. Chapter 8
  9. Chapter 9
  10. Chapter 10
  11. Chapter 11
  12. Chapter 12

Details

Author
Battaglia Summer
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Informative, Educational
Released
2026-06-02
Pages (approx.)
139
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Battaglia Summer

See all