Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M6243

Shadow Testing

Shadow Testing
BusinessHigh supportManagement
Included
account_tree

Updated 2026-08-10

Loading revision record…

INTRODUCTION

English translation pending.

CORE DEFINITION

Shadow testing duplicates live production traffic and routes it into the new version of a system in parallel with the existing one. The shadow system executes its logic but its responses are discarded, so users are unaffected while the new version is exercised against real data and real load. Differences between the two systems are compared before any traffic is switched, which makes it a low-risk way to validate a replacement under conditions a test environment cannot reproduce.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

- Rehearse in parallel: run the new approach alongside the current one without letting it take effect. - Compare outputs: check where the two diverge on real inputs before switching anything over. - Build experience cheaply: simulate decisions in advance and compare them with what actually happened.

anchor

Anchor fast decisions

A test environment approximates production, so it misses the data distributions, load patterns and edge cases that only real traffic contains. Replaying live traffic through the new system exercises exactly those conditions while the shadow's output is ignored, so any failure has no user impact. Divergence between the two systems becomes the evidence for whether the replacement is ready.

MINIMUM ACTION

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more

Source support: Explicit

  • link
    istio.iohttps://istio.io/latest/docs/tasks/traffic-management/mirroring/ZH · Explicit
    verified

RELATED MODELS