Sanalda.comBETA

What is blue-green deployment?

Added: 25 October 2026

Blue-green deployment keeps old and new application versions in separate environments and shifts traffic between them.

How it works and where it is used

The new environment is checked before taking traffic. Error rates and latency are monitored after switching, with potential return to the old version. But a schema change or irreversible external action may make old code incompatible, so traffic rollback alone is not always enough.

Limits, safety and selection criteria

Plan for two environments, session behavior and duplicate background jobs. Design data compatibility for rollback. A small pilot can expose problems before a full switch; choose a release method according to product risk. While blue serves traffic, green is prepared and tested against compatible data. Routing may switch at a load balancer, while DNS caching can prevent an instant cutover. If both environments consume the same job queue, duplicate emails or charges may result. For schema changes, an intermediate format readable by both app versions preserves rollback options. Rehearse the switch and the return path before relying on them in production. A new environment that passes only a homepage check may still fail on checkout or login.

Related topics

What is a hypervisor?What is cloud computing?What is a cryptographic hash?What is a file system?What is firmware?What is a power inverter?What is computer vision?What is AI model evaluation?What is TLS 1.3?What is differential privacy?What is an AI agent?What is an IP address?What is distributed tracing?What is augmented reality?What is software testing?What is the Internet of Things (IoT)?What is virtual reality?What is HTTP/3?What is LiDAR?What is database replication?What is a photovoltaic solar panel?Artificial intelligenceWhat is a quantum computer?What is a software container?What is a VPN?What is two-factor authentication?What is HTTP?What is data encryption?What is generative AI?What is observability?What is a progressive web app (PWA)?What is Wi-Fi 7?What is an idempotent operation?What are internet cookies?What is a data lake?What is RISC-V?What is 3D printing?What are a GPU and a graphics card?What is a web browser?What is a feature flag?What is prompt injection?What is site reliability engineering?What is a data center?What is 5G?What is Wi-Fi?What is event-driven architecture?What is QUIC?What is a solid-state battery?What is IPv6?What are Git and version control?
Revision history

25 October 2026 — Article added.