SRE Documentation Practice: Runbooks, Architecture Diagrams, and Knowledge Base

Overview SRE Documentation Practice: Runbooks, Architecture Diagrams, and Knowledge Base is an essential skill in SRE operations. In production environments, mastering these techniques can significantly improve system stability and operational efficiency. Why SRE Documentation Practice Matters As systems grow in scale and complexity, traditional operations approaches struggle to meet the demands of modern distributed systems. SRE Documentation Practice helps operations teams: Rapid Problem Resolution: Systematic tools and methods reduce troubleshooting time Improved System Visibility: Establish comprehensive monitoring and observability Proactive Fault Prevention: Identify and fix potential risks before they cause outages Resource Optimization: Allocate and schedule resources efficiently Core Concepts and Principles Basic Concepts The core of SRE Documentation Practice lies in establishing standardized processes and automated toolchains....

November 9, 2025 · 3 mins · 571 words · XuBaojin

Reliability Design for Multi-Region Active-Active Architecture

Overview When your business grows from “serving one city” to “serving the entire country” or even “serving globally,” single-datacenter architecture hits two hard constraints: latency from distance and single point of failure risk. Multi-region active-active architecture is the engineering solution to both problems. But active-active architecture is one of the most complex topics in SRE — it’s not simply “deploy the service in two datacenters.” It involves a series of deep engineering challenges: data consistency, traffic routing, failover, and operational complexity....

August 29, 2025 · 17 mins · 3513 words · XuBaojin

SRE and Development Team Collaboration Models: Engineering Practices for Breaking Down Walls

Overview In modern software engineering, the relationship between SRE (Site Reliability Engineering) and development teams is one of the most critical and delicate aspects. Development pursues “fast delivery of new features,” while SRE pursues “stable system operation” — these two goals are inherently in tension. If the collaboration model is poorly designed, the result ranges from inefficiency and finger-pointing to frequent production incidents and collapsed trust between teams. The Google SRE Book contains a classic observation: “The central SRE contradiction is that we need to simultaneously allow development teams to move quickly while maintaining the reliability of the system....

June 24, 2025 · 20 mins · 4224 words · XuBaojin

Change Management: Canary Release and Rollback Strategies

The Role of Change Management in SRE Google SRE identified an iron rule: approximately 70% of production incidents are directly caused by changes. Whether it’s code deployment, configuration modification, infrastructure adjustment, or dependency upgrades, every change injects uncertainty into the system. Change management is therefore not bureaucratic red tape — it’s the first line of defense in SRE reliability engineering. The core objectives of change management can be summarized in three points:...

February 11, 2025 · 9 mins · 1902 words · XuBaojin

SRE Reliability Engineering: From Theory to Practice

Reliability Engineering: More Than Just “Not Breaking” The goal of reliability engineering is not to pursue zero failures — that’s neither realistic nor economical. The real goal is: given that failures are inevitable, make the system capable of fast detection, automatic recovery, and continuous learning. Google SRE proposes a core formula: MTTR << MTBF / (MTBF + MTTR) × (1 - SLO) This formula reveals a key insight: when the time between failures (MTBF) is much greater than the repair time (MTTR), system availability naturally approaches the SLO target....

January 9, 2025 · 12 mins · 2395 words · XuBaojin

Prometheus Automated Inspection Script Collection

Overview Monitoring systems themselves need to be monitored. Prometheus collects metrics from your entire infrastructure, but if Prometheus’s own configuration has issues, a target goes down, an SSL certificate is about to expire, or an alerting rule has a syntax error — who discovers these problems? The answer: an automated inspection script set. This article builds a complete inspection toolkit around the Prometheus ecosystem, covering “probing → certificate checking → config auditing → rule validation → alert simulation → report generation....

December 19, 2024 · 22 mins · 4590 words · XuBaojin

Chaos Engineering: Proactively Discovering System Weaknesses

Overview The traditional approach to reliability is “try not to have failures” — add monitoring, add alerts, add redundancy. But this passive defense has a fundamental flaw: you don’t know how the system actually behaves during a failure until one actually occurs. Chaos engineering takes the opposite approach: proactively and controllably inject failures to discover system weaknesses before they become incidents. It’s not about causing destruction — it’s a scientific experimental method: form a hypothesis (“the system should be able to withstand a node failure”), design an experiment (kill a node), verify the hypothesis (is the service still working?...

December 17, 2024 · 16 mins · 3405 words · XuBaojin

Service Dependency Mapping and Failure Domain Analysis: From Topology Discovery to Blast Radius Control

Overview In modern microservice architectures, a seemingly simple user request may traverse dozens of service nodes. When an incident occurs, the first question an SRE engineer faces is often not “how to fix it” but “what is the scope of impact.” Without a fast answer to this question, incident recovery gets bogged down in endless investigation. Service Dependency Maps and Failure Domain Analysis are the engineering methodologies that address this problem....

December 16, 2024 · 25 mins · 5210 words · XuBaojin

Postmortem Culture: Engineering Practices for Learning from Failures

Overview Every incident is a free learning opportunity — provided you have a mechanism to extract lessons from it. A Postmortem is not about writing a confession or finding a scapegoat. It is a structured engineering methodology for converting incident experience into systemic improvements. One of the core tenets of Google SRE is: “Blameless postmortem.” The focus of a review is always on “why did the system fail,” not “who messed up....

November 26, 2024 · 20 mins · 4055 words · XuBaojin

SRE Core Concepts: SLI, SLO and Error Budgets

Overview The core philosophy of SRE is: manage reliability through engineering methods. The most important tools are SLI, SLO, and Error Budgets. SLI: Service Level Indicator SLI is a quantitative metric for system reliability. Common SLIs include: Availability: successful requests / total requests Latency: P99 response time < 200ms Throughput: QPS > 10000 Correctness: data consistency check pass rate Key principle for choosing SLIs: start from the user’s perspective. Users don’t care about your CPU usage — they care whether requests succeed and are fast enough....

October 28, 2024 · 2 mins · 260 words · XuBaojin