TOPIC 21/3712 MINNOT STARTED

Testing in production, safely

Some faults only show with real traffic. A tester can run safe checks on the live app, if they are read-only, flagged, reversible and use marked test data.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: asking guests how the meal was. A restaurant asks guests how the meal was while the restaurant is open. The staff watch the tables and listen. They do not experiment on food safety with the guests. They learn from the real dinner without putting anyone at risk.

Daily List is a to-do list app. Some faults only show on the live app, with real users, real phones and a busy evening. Tom cannot copy all of that into a test copy. So he adds a few safe checks on the live app itself.

One is a scripted visit that logs in with a special test account every few minutes. If it fails, the team knows before users complain. This is called a .

The picture has a limit. A restaurant cannot undo a bad meal. A software team can, if the checks are flagged and reversible.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PLAIN WORDS · 1 in this section
reversible
able to be undone or turned back

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Learning from the live app through authorised, monitored and bounded checks or experiments, while controlling impact and data use.

  1. Watch the tables
  2. Ask a safe question
  3. Fix what you hear
  4. Leave the guests safe
Listen, don't experiment

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Asking guests how the meal wasA synthetic check on the live app
Watching the tablesReading logs and signals
Not testing food safety on guestsNo risky tests on real users
A guest who is not servedA real user who gets a fault

WHERE THIS PICTURE STOPS

  • A restaurant cannot undo a bad meal. A flagged change can be undone.
  • Guests tell you at once. A script reports only what it was told to check.
  • A restaurant has one dining room. A product has many users and devices.

HOOK

Watch live, do no harm.

REMEMBER IT THIS WAY

A rule of thumb: if you see this, think that.

If on the live app touches real users, usually run it as a scripted visit with a special test account.

What each part of the trick stands for
In the trickWhat it stands for
Scripted visita scripted visit that logs in with a special test account every few minutes
Real usersdo not experiment with the guests, no risky tests on real users

Some faults show only for real users and real phones, so a test account can miss them.

TELL A FRIEND

A restaurant asks guests how the meal was, without experimenting on food safety.

OFTEN MIXED UP WITH Feature flags and canary releases. The flag lesson shows how to release in small steps. This lesson shows safe checks on the live app once it is out.

PRACTISE AND KEEP

Sources for this topic — 5 sources
  1. Market practice

    Site Reliability Engineering: How Google Runs Production Systems — "Monitoring Distributed Systems" ↗ — Google (Betsy Beyer, Chris Jones, Jennifer Petoff, Niall Richard Murphy, eds.) · Black-box monitoring checks symptoms that are happening now; white-box monitoring uses internals such as logs; the four golden signals are latency, traffic, errors and saturation (search excerpt, page not opened)

    Google's chapter on monitoring a service people use. Cited for two things: the argument for measuring in percentiles rather than an average, because an average can look healthy while a real fraction of requests breach a deadline. Also cited for the four golden signals (latency, traffic, errors and saturation), the counting of policy-based errors such as an answer slower than a promised time, and the advice to alert on symptoms more than causes. Cited for these practices generally, not as evidence about how any payments platform is built. · Checked 2026-11-08

    Freely published in full by Google at sre.google — not a paywalled or excerpted source. Verification boundary: sre.google answers a network egress block through this environment's proxy, so the chapter's argument was confirmed via search summarisation of its publicly indexed content rather than a direct fetch of the page. 2026-10-11: confirmed by search excerpts from sre.google (page not opened): the four golden signals. Timing failed requests separately. Explicit, implicit and policy-based errors. Saturation and the 99th-percentile early signal. 'spend much more effort on symptoms than causes' and 'only worry about very definite, very imminent causes'.

    6 November 2026: opened primary chapter, especially The Four Golden Signals and Worrying About Your Tail. Inspected latency of successful versus failed requests, errors, traffic, saturation and percentile monitoring. This does not establish a deployed payment-system SLA.

    8 November 2026: primary Chapter 6 Definitions, Why Monitor, Symptoms Versus Causes, Black-Box Versus White-Box, Four Golden Signals and tail discussion opened; selected coverage, actionable alerts and separate success/error latency. Historical practice, not a universal detection guarantee.

  2. Market practice

    Site Reliability Engineering: Service Level Objectives ↗ — Google · An SLI is a carefully defined quantitative measure of service level; an SLO is a target for an SLI; an SLA is an explicit or implicit contract with consequences (search excerpt, page not opened)

    The Google SRE book chapter that defines service level indicators, objectives and agreements. Cited for those definitions. · Checked 2026-11-08

    A practice description from one company; the text was seen only as search excerpts. Seen as WebSearch excerpts on the access date; the page was not opened.

    8 November 2026: primary Chapter 4 Indicators, Objectives and Agreements opened; defined measurement/window, targets and consequences that may be nonfinancial. Historical examples are not current product SLAs.

  3. Market practice

    Testing microservices, the sane way: pre-production and in production (LaunchDarkly blog) ↗ — LaunchDarkly · Summary of Cindy Sridharan's talk: staging is often relied on far more than necessary, and production has safe tests of its own (search excerpt, page not opened)

    Summarises Cindy Sridharan's argument that staging alone is not enough and that production has its own safe tests. Vendor blog about a talk. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Canarying Releases (Google SRE Workbook) ↗ — Google · Canarying finds defects that testing frameworks such as unit or load tests, which are often more artificial, do not show (search excerpt, page not opened)

    The Google SRE workbook chapter. Cited for blue/green, canary and feature flags. · Checked 2026-10-11

    One firm's engineering guidance. Seen as WebSearch excerpts on the access date; the page was not opened.

  5. Market practice

    Site Reliability Engineering: How Google Runs Production Systems — "Postmortem Culture: Learning from Failure" ↗ — Google (Betsy Beyer, Chris Jones, Jennifer Petoff, Niall Richard Murphy, eds.) · Postmortem culture: write up what happened, the causes and the actions, and keep the review blameless (search excerpt, page not opened)

    Google's account of blameless reviews after an incident: written for every significant incident, focused on process and technology, asking what happened and what to do differently, with owned action items. Cited for the practice of a blameless review generally. · Checked 2026-10-10

    Freely published by Google at sre.google. The chapter was not opened; the points come from search excerpts, and the owned action items point from a USENIX (the Advanced Computing Systems Association) ;login: article by Google authors (Lunney, Lueder, Beyer) that surfaced in the same search.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.