tezvyn:

Shadow Deployment: Test in Production, Safely

Source: docs.aws.amazon.comadvanced

Shadow deployment copies live user traffic to a new "shadow" service for testing without user impact. It's used to validate new code versions with real-world load or to analyze traffic for security threats.

Shadow deployment, or traffic mirroring, is like a one-way mirror for your network traffic, silently copying live requests to a new service for testing. Use it to validate a new version with real production load or to feed a security appliance without affecting users. The shadow service's response is discarded; only its performance and errors are logged. The biggest mistake is allowing the shadow service to have side effects, like writing to the production database, which can cause data corruption.

Read the original → docs.aws.amazon.com

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Shadow Deployment: Test in Production, Safely · Tezvyn