Skip to content

Resource · Guide or article

Shadow Testing

Explains shadow testing, where a candidate release receives a copy of live production traffic but never answers users, so its responses can be compared with the current version. Useful background for backend and SRE candidates asked how they would release a risky change safely.

Reviewed

Open the original: Shadow Testing (opens the original site in a new tab)

Add to a roadmap

Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.

Source content: English

Shadow testing is one approach to reduce risks before going to production. Shadow testing is also known as "Shadow Deployment" or "Shadowing Traffic" and similarities with "Dark launching".

PrepKit overview

PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.

Suited to
The source does not state a level
Format
Article

What it covers

  • Describes the V-Current and V-Next setup: traffic is replicated to both, and only V-Current responses reach users.
  • Relates the idea to Dark Launching and Feature Toggles, with links to Martin Fowler's write-ups.
  • Lists comparison tools including Diffy, Envoy, McRouter, Scientist and Keploy, and summarizes how Diffy multicasts requests and diffs responses.
  • Names three areas where it applies: production deployments, infrastructure checks and observing behavior at scale.

How to use it

PrepKit study advice, not a claim made by the source.

Sketch a shadow setup for a service you know on paper: where the traffic copy is taken, where responses are compared, and what a mismatch triggers. You are ready when you can contrast shadowing with a canary or a feature flag in a short spoken answer.

Scope and limitations

Team engineering guidance, not interview material. The advantages section lists only benefits; it does not discuss costs such as duplicate side effects or write traffic, so reason through those yourself. Claims about which companies use Diffy are the page's own and are not verified by PrepKit.

Access and format

Free English web page in the ISE Engineering Fundamentals Playbook on microsoft.github.io; the text comes from the CC BY 4.0 microsoft/code-with-engineering-playbook repository.

Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 016770e43d8a

Evidence behind this overview
  • docs/automated-testing/shadow-testing/README.md

Pages that include this

Get the PrepKit newsletter

Optional. You don't need it to use PrepKit.

How we handle your email