Tagged articles
zero-downtime
63 articles · Page 1 of 1
A comprehensive engineering guide to zero-downtime database migration covering cursor-based stock migration, incremental sync via binlog or dual-write, CRC-based chunked validation, field-level diffing, gray read cutover with dual-read verification, write-switch patterns, and rollback procedures — all implemented in Spring Boot with production-grade patterns and pitfalls.
CRC validationDatabase MigrationSpring Boot
0 likes · 27 min read

This article details a practical blue-green deployment workflow using Nginx and Docker on a single Linux server, covering health checks, version verification, candidate validation, atomic Nginx upstream switching, rollback procedures, database compatibility, static asset versioning, and graceful shutdown of old instances.
DockerOperationsblue-green-deployment
0 likes · 34 min read

This article explains Kubernetes PodDisruptionBudget (PDB) as a critical safety mechanism for voluntary disruptions, detailing its core principles, differences from Deployment maxUnavailable, common misconceptions, best practices for core services, and provides production-ready YAML examples for zero-downtime maintenance.
High AvailabilityKubernetesOperations
0 likes · 13 min read

This article details a zero-downtime model update strategy using immutable artifacts, a model registry, canary deployments with readiness probes, traffic shifting via service mesh, and optional in-process generational hot loading, demonstrated with a GPU ranking service handling 600 QPS and 7 GiB models.
GPU InferenceIstioKubernetes
0 likes · 32 min read


liandkSep 9, 2026 · Backend Development
This guide demonstrates how to use Arthas, Alibaba's open-source Java diagnostic tool, to troubleshoot production issues without downtime—covering installation, core commands (dashboard, trace, watch, stack, logger, redefine), three real-world case studies, and critical production safety rules.
ArthasHot ReloadJava
0 likes · 12 min read

Many teams mistakenly believe that a simple `kubectl drain` guarantees safe node shutdown, but in production the risk spans the control plane, service discovery, long‑lived connections, load balancers and observability; this guide presents a repeatable, auditable, production‑grade process that turns node maintenance into a zero‑interruption engineering workflow.
KubernetesOperatorgraceful shutdown
0 likes · 41 min read

In a SaaS analytics platform with a 45‑billion‑row, 1.2 TB events table, the author shows how moving to native PostgreSQL range partitioning by event_time, combined with zero‑downtime migration steps, reduced the typical P99 query latency from 43 seconds to about 0.3 seconds while enabling easier data lifecycle management.
PartitioningPostgreSQLmigration
0 likes · 27 min read

This article details a production-verified zero-downtime database migration strategy using Spring Boot and Flyway, covering why DDL causes outages, Flyway configuration best practices, the expand-migrate-contract pattern for smooth schema changes, script writing and rollback techniques, Kubernetes deployment coordination, monitoring with circuit breakers, and a post-mortem checklist.
DDLDatabase MigrationFlyway
0 likes · 18 min read

This guide details a step‑by‑step, zero‑downtime expansion of a 3‑master‑3‑slave Redis Cluster to a 4‑master‑4‑slave setup, covering node standardization, network checks, big‑key handling, full backups, monitoring, slot migration planning, progressive migration methods, replica addition, post‑expansion validation, rollback procedures, and practical lessons learned.
ClusterExpansionHash Slots
0 likes · 13 min read

The article explains how to achieve zero‑downtime code updates for SpringBoot applications by detecting port usage, launching a new instance on an alternate port, swapping the servlet container back to the original port, and terminating the old process, with a complete code example and a live demo showing sub‑second interruption.
Embedded ServerHot ReloadJava
0 likes · 9 min read

The article explains how to update a Spring Boot application without stopping the service by letting two processes share the same port, detailing the underlying Tomcat and ServletContainerInitializer mechanisms, the step‑by‑step implementation, and a demo that shows sub‑second downtime during hot swaps.
BackendHot ReloadJava
0 likes · 10 min read

Zero‑downtime releases require coordinated control‑plane and data‑plane actions—proper RollingUpdate settings, pod lifecycle handling, service‑mesh draining, pre‑warm of dependencies, capacity safeguards, and automated monitoring/rollback—otherwise brief spikes of 502/503 errors and duplicate consumption will appear.
Argo RolloutsHPAKubernetes
0 likes · 41 min read

This article dissects a real‑world e‑commerce deployment failure, identifies common misconfigurations in Kubernetes Deployments, and presents a comprehensive, production‑ready guide that covers controller principles, rolling‑update sequencing, readiness semantics, capacity planning, HPA tuning, graceful shutdown, progressive delivery, GitOps integration, and a checklist of best‑practice patterns to achieve zero‑downtime releases capable of handling million‑level concurrent traffic.
GitOpsHPAKubernetes
0 likes · 43 min read

This guide walks through installing HAProxy 2.x, configuring L4 TCP and L7 HTTP/HTTPS load balancing for web, MySQL, and Redis, setting up health checks, session persistence, monitoring, high‑availability with Keepalived, performance tuning, security hardening, and step‑by‑step zero‑downtime deployment and rollback procedures.
HAProxyHigh Availabilityhealth-checks
0 likes · 36 min read

This guide explains why traditional fixed partitions are problematic, introduces LVM's flexible storage pool architecture, lists five zero‑downtime expansion techniques—including adding new disks, resizing partitions, one‑command lvextend ‑r, thin provisioning, and VDO compression—and provides step‑by‑step commands, scripts, best‑practice tips, troubleshooting, and monitoring recommendations for reliable online storage growth.
Dynamic ExpansionLVMLinux
0 likes · 29 min read


转转QAJan 5, 2026 · Operations
This article presents a fully automated, zero‑downtime deployment solution that integrates Jenkins pipelines with a set of shell scripts to handle code checkout, image building, seamless container switching, health checks, rollback, disk monitoring, and resource cleanup, providing a reliable end‑to‑end workflow for fast and stable releases.
CI/CDDisk ManagementDocker
0 likes · 14 min read

This guide explains the core principles and four essential techniques—accurate probes, proper deployment strategies, lifecycle hooks, and advanced modes like blue‑green or canary—to reliably perform zero‑downtime releases on Kubernetes clusters.
KubernetesLifecycle HookReadiness Probe
0 likes · 7 min read

Learn how to achieve zero‑downtime Nginx log rotation using Logrotate, covering prerequisites, environment matrix, step‑by‑step configuration, compression strategies, advanced slicing, automated cleanup, monitoring, performance tuning, remote archiving, security hardening, and troubleshooting to ensure continuous logging without service interruption.
Linuxlog managementlogrotate
0 likes · 30 min read

This guide walks through installing HAProxy, configuring both layer‑4 TCP and layer‑7 HTTP/HTTPS load balancing with health checks, session persistence, advanced algorithms, high‑availability via Keepalived, monitoring with HAProxy stats and Prometheus, performance tuning, security hardening, and step‑by‑step rollback procedures for zero‑downtime deployments.
HAProxyHigh Availabilityops
0 likes · 36 min read

Learn how to execute a zero‑downtime, risk‑controlled database migration across data centers using pre‑expansion, cross‑room master switch, intelligent domain scheduling, and step‑by‑step operational guides—including VIP handling, global vs. zone‑specific domains, and post‑migration validation—to ensure continuous service and optimal resource elasticity.
Database MigrationDomain SchedulingHigh Availability
0 likes · 13 min read

This article explains how Alibaba Cloud Lightweight Message Queue (formerly MNS) enables lossless, zero‑downtime service releases by redesigning the network entry layer, using load‑balancer draining, injecting HTTP close frames, and providing CI/CD scripts that work across ECS and Kubernetes environments.
Alibaba CloudMNScloud-native
0 likes · 12 min read

The article explains why traditional branch‑based deployments cause service outages, introduces Header routing as a logical, zero‑downtime gray‑release solution, details its core principles, benefits, implementation with Nginx Ingress, and provides practical code examples for seamless version switching.
Gray ReleaseHeader RoutingKubernetes
0 likes · 10 min read

This guide explains how to upgrade a Kubernetes cluster from v1.30.0 to v1.30.1 without service interruption by backing up etcd, checking health, planning the rollout, upgrading master nodes and Calico, and using rolling updates and Istio canary releases for seamless application migration.
CalicoIstioKubernetes
0 likes · 8 min read

This article explains how to achieve lossless releases for Spring Boot microservices by deregistering old instances, handling shutdown hooks, configuring graceful shutdown in Spring Boot 2.3+, and integrating custom interceptors for various containers and registration centers.
JavaSpring Bootgraceful shutdown
0 likes · 15 min read

This article explains the network interruption issues of VM live migration in 360's VPC overlay (V1), analyzes the root causes, and presents a V2 redesign that eliminates downtime through pre‑loaded forwarding policies, traffic redirection, and streamlined component collaboration.
Overlay NetworkVM live migrationVPC
0 likes · 12 min read

This article explains how to achieve seamless code updates for SpringBoot applications by allowing two instances to share the same port, detailing the underlying Tomcat embedding mechanism, DispatcherServlet handling, and providing a complete Java implementation with step‑by‑step instructions and test results.
BackendJavaPort Sharing
0 likes · 7 min read

This article explains how to enable two SpringBoot processes to share the same port for seamless code updates, covering the underlying servlet container mechanics, the required initialization flow, and providing a complete Java implementation with a demo that achieves near‑zero downtime during deployment.
Port SharingTomcatbackend-development
0 likes · 9 min read

This article explains how Kubernetes rolling deployments affect pod lifecycle, detailing the startup and shutdown phases, the impact of readiness probes and endpoint updates, and how to prevent connection interruptions by using preStop hooks and proper configuration for zero‑downtime deployments.
KubernetesPod LifecycleReadiness Probe
0 likes · 8 min read

This article provides a comprehensive overview of Elasticsearch, covering its distributed architecture, key features such as JSON RESTful APIs and multi‑tenant support, core functionalities like full‑text search and aggregations, comparisons with Solr, advanced mapping techniques, various query DSLs, suggestion mechanisms, and practical zero‑downtime reindexing strategies.
DSLElasticsearchIndexing
0 likes · 13 min read

This article examines why most incidents occur during application rollout, analyzes the Kubernetes pod lifecycle for both startup and shutdown, identifies common zero‑downtime challenges, and presents concrete strategies—including active notifications, adaptive waiting, delayed registration, and readiness probes—to ensure lossless service upgrades and rollbacks.
KubernetesSpring Cloudservice registry
0 likes · 11 min read

This article presents a comprehensive guide to planning and executing MySQL version upgrades—including industry version statistics, performance benchmarks, migration challenges, stability guarantees, detailed upgrade strategies, compatibility testing, and post‑upgrade validation—to ensure zero‑downtime and minimal operational impact.
Database MigrationMySQLcompatibility testing
0 likes · 18 min read

Learn how to configure Kubernetes for zero‑downtime applications by syncing container images, ensuring multiple pod replicas, using PodDisruptionBudgets, selecting appropriate deployment strategies, setting up liveness/readiness probes, handling graceful termination, applying pod anti‑affinity, and enabling autoscaling and proper resource limits.
KubernetesProbesautoscaling
0 likes · 12 min read

This article explains why and how to use Kubernetes features such as multiple pod replicas, PodDisruptionBudgets, deployment strategies, health probes, graceful termination, anti‑affinity, resource limits, and autoscaling to build zero‑downtime, highly available applications.
Deployment StrategiesHealth ProbesKubernetes
0 likes · 12 min read

This guide explains how to combine Kubernetes and Spring Boot to implement zero‑downtime releases by configuring readiness and liveness probes, defining graceful shutdown, applying rolling update strategies, setting up horizontal pod autoscaling, integrating Prometheus monitoring, and separating configuration via ConfigMaps for reusable images.
PrometheusRolling UpdateSpring Boot
0 likes · 13 min read

This guide explains how to achieve zero‑downtime releases of a Spring Boot application on Kubernetes by configuring readiness/liveness probes, rolling‑update strategies, graceful shutdown, horizontal pod autoscaling, Prometheus metrics collection, and externalized configuration via ConfigMaps.
ConfigMapKubernetesPrometheus
0 likes · 11 min read

This article analyzes why Kubernetes rolling updates can still cause service interruptions during pod startup and termination, explains the underlying mechanisms of Kubelet and Endpoint Controller, and provides practical steps such as readiness probes and preStop hooks to achieve smoother, near‑zero‑downtime deployments.
KubernetesReadiness ProbeRolling Update
0 likes · 7 min read

The article analyzes why most production failures stem from new version rollouts, examines a real e‑commerce microservice architecture, and presents detailed gray‑release strategies—including full‑link canary, logical isolation, and warm‑up mechanisms—to achieve zero‑damage upgrades in cloud‑native environments.
Dubbocanary-deploymentcloud-native
0 likes · 16 min read

This article explains why zero‑downtime releases are essential for modern services, defines three maturity levels, compares common release patterns, outlines the required technical components, and provides step‑by‑step Spring Boot/Eureka procedures—including configuration and graceful‑shutdown scripts—to keep applications available during deployment.
EurekaOperationsdeployment
0 likes · 20 min read

This article explains why traditional application releases cause downtime, introduces maturity levels for nonstop deployment, compares release patterns, details essential technical components such as load balancers and service registries, and provides step‑by‑step graceful‑shutdown procedures using Spring Boot Actuator and Eureka.
EurekaSpring Bootdeployment
0 likes · 19 min read

This article details the challenges, strategies, and step‑by‑step procedures for upgrading a 1,000‑node Kubernetes cluster from version 1.10 to 1.17 without service interruption, covering compatibility checks, in‑place versus replacement upgrades, container‑restart avoidance, pod eviction handling, and TCP connection issues.
CNCFKubernetesVersion Skew
0 likes · 22 min read

Vivo’s internet team performed a zero‑downtime, in‑place upgrade of a 1,000‑node Kubernetes cluster from v1.10 to v1.17 by analyzing changelogs, backporting fixes, adjusting kubelet hash validation, adding tolerations, ensuring node labels, and using staged binary rollout, completing the process in roughly ten minutes.
K8s migrationKubernetescloud-native
0 likes · 19 min read


DevOpsNov 23, 2021 · Operations
The article explains why traditional three‑step application releases cause service interruptions, introduces three maturity levels for zero‑downtime deployment, compares blue‑green, rolling, and canary release models, and provides concrete technical components, load‑balancer architectures, and Spring‑Boot/Eureka shutdown procedures to achieve uninterrupted service.
Operationsload-balancingrelease
0 likes · 22 min read

This article details a step‑by‑step, zero‑downtime migration of a Zookeeper cluster supporting ClickHouse from Hong Kong to Singapore, covering background, challenges, dynamic‑config upgrades, expansion, configuration changes, encountered issues, and the final rollout plan.
ClickHouseData Center MigrationDynamic Configuration
0 likes · 15 min read

This article compares popular zero‑downtime deployment strategies—including Blue/Green, A/B testing, Canary (gray) release, Rolling updates, and Red‑Black—explaining their principles, advantages, drawbacks, and ideal scenarios for modern cloud‑native and DevOps environments.
A/B testingBlue-GreenCanary
0 likes · 9 min read

This article details the end‑to‑end process of expanding a high‑traffic ride‑hailing order system on Alibaba Cloud, covering capacity planning, database sharding from 256 to 4096 tables, custom data‑sync middleware, validation, repair, and a gray‑release migration that achieved zero incidents.
Shardingcapacity-planningcloud-computing
0 likes · 17 min read

This article describes how Coffee Meets Bagel upgraded a five‑node PostgreSQL 9.6 cluster to version 12.4 on AWS using pglogical logical replication, achieving less than 30 minutes of total downtime while sharing the architecture, migration steps, and lessons learned.
AWSDatabase MigrationHigh Availability
0 likes · 8 min read

This article analyzes common database migration strategies, compares two approaches—master‑slave cut‑over and proxy‑based migration—describes Qunar's internal MMM and Percona XtraDB Cluster (PXC) architectures, and details a step‑by‑step, zero‑downtime migration process from MMM to PXC with practical lessons and best practices.
High AvailabilityMMMMySQL
0 likes · 15 min read

Lufax completed a two‑year, zero‑downtime, 100% Oracle‑to‑MySQL migration across its entire financial platform, detailing the dual‑write strategy, fine‑grained batch switching, tool‑driven automation, and the resulting cost and operational benefits for over 45 million users and supporting critical transaction services.
Database MigrationMySQLautomation
0 likes · 16 min read

This article explains Google DevOps’s four capability categories, dives into DORA‑backed best practices for database change management—including communication, migration scripts, tooling, zero‑downtime strategies, common pitfalls, and key metrics—to help teams deliver changes safely and quickly.
DORADatabase MigrationDevOps
0 likes · 13 min read

Xianyu’s zero‑downtime upgrade strategy for its multi‑microservice search stack combines rigorous forward/backward compatibility checks, batch‑wise stateless updates, careful stateful migrations via hot‑updates or dual‑write sync, robust service‑discovery traffic control, and Alibaba‑style monitoring, gray‑release testing, and rapid rollback to ensure uninterrupted service.
cloud-nativecompatibilitymicroservices
0 likes · 9 min read

This article explains how to implement graceful up‑ and down‑scaling for Spring Cloud applications running on Kubernetes, covering design principles, signal handling, resource cleanup, Spring Boot configuration, multiple deployment scenarios, and integration with Kubernetes health probes to ensure lossless traffic flow.
KubernetesSpring Cloudcloud-native
0 likes · 14 min read

This guide walks through verifying the existing Nginx 1.16.1 process, compiling and configuring Nginx 1.18.0 with identical options, performing a zero‑downtime binary replacement, and handling rollback procedures using signals and process management commands on a Linux server.
LinuxOperationsUpgrade
0 likes · 14 min read

This article explains why a typical Deployment + LoadBalancer setup can experience downtime during updates, analyzes the pod lifecycle, endpoint synchronization, iptables/ipvs and SLB interactions, and provides concrete configuration steps—including readiness probes, preStop hooks, and Service traffic policies—to achieve zero‑downtime deployments.
Cluster ModeENIKubernetes
0 likes · 12 min read

During the COVID‑19 surge, Tencent Cloud Redis scaled losslessly by using a proprietary slot‑specific RDB sync method that avoids downtime, handles large keys, Lua scripts, and multi‑key commands, outperforming open‑source and DTS approaches while minimizing resource duplication and maintaining 24/7 service.
ClusterDTSperformance
0 likes · 21 min read

This article explains how to perform zero‑downtime updates on a Kubernetes cluster by using native tools such as pod lifecycle hooks, graceful termination, and PodDisruptionBudgets, guiding you through a step‑by‑step series that covers draining nodes, graceful pod shutdown, and avoiding service interruptions.
Cluster MaintenanceKuberneteskubectl drain
0 likes · 7 min read

This article examines classic smooth upgrade strategies for HTTP services, highlights their limitations, and provides a detailed analysis of Facebook’s graceful restart library for Go, including code examples, signal handling, process inheritance, and the mechanisms for zero‑downtime deployments.
GoHTTP serverProcess Management
0 likes · 15 min read

This article explains how to achieve graceful, zero‑downtime restarts for long‑living TCP services by passing open file descriptors through a Unix domain socket, allowing new processes to inherit existing connections without interrupting clients, and provides a complete Go demo implementation.
BackendGoUnix socket
0 likes · 14 min read

Learn how to achieve zero‑downtime application upgrades by using Gunicorn’s HUP reload, uWSGI’s chained reload, load‑balancer node draining, and custom health‑check scripts that coordinate process restarts, ensuring minimal service interruption even for apps with long startup times.
Gunicorndeploymentload balancer
0 likes · 7 min read

This guide walks through upgrading an Oracle MAA environment from 11.2.0.4 to 12.1.0.2 with no front‑end service interruption, covering environment overview, two Data Guard switchover cycles, transient logical standby conversion, rolling patch execution with physru.sh, and post‑upgrade cleanup steps.
DBUAData GuardGrid Infrastructure
0 likes · 21 min read

The discussion explores practical strategies for adding an index to a MySQL table containing tens of millions of rows without stopping service, covering intermediate tables, double‑write syncing, rename operations, traffic considerations, lock types, and tooling such as Percona.
Database MigrationIndexingLarge Tables
0 likes · 8 min read
![[Interview Question] How to Add an Index to a Tens‑Millions‑Row Table Without Downtime](https://wsrv.nl/?url=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz%2FibBPzzwQ3qZVAejXYG4PIftxa0xFibIfgicTjNtoe0Hegy7Icr4hj7VPkiaOCAOU3v5wkpv6KSiaJFjsUf0U5kFrU3Q%2F0%3Fwx_fmt%3Djpeg)

21CTOSep 15, 2015 · Databases
This article explains how to migrate live service data between systems without downtime, covering migration types, a four‑stage process, practical examples with MySQL and HBase, and key techniques for ensuring consistency and smooth cut‑over.
Data ConsistencyHBaseMySQL
0 likes · 11 min read

Yelp’s infrastructure team tackled HAProxy’s reload‑induced packet loss by leveraging Linux’s plug qdisc and iptables to delay SYN packets during reloads, enabling zero‑downtime service updates and improving reliability despite the kernel’s brief binding window.
HAProxyLinux qdiscNetwork Traffic Control
0 likes · 7 min read

This article explains the four‑step online data migration process—including dual‑write, historical data transfer, read cut‑over, and cleanup—using a real‑world MySQL‑to‑HBase fan‑list case study, and provides practical tips for ensuring zero‑downtime and high data consistency.
HBaseMySQLdata migration
0 likes · 11 min read
