Home/Categories/云原生

云原生

DevOps、Docker、Kubernetes、可观测性

Collection

This collection features articles and community discussions in the 云原生 space, focusing on real-world engineering scenarios, tool selection, practical paths, and risk boundaries.

The page is continuously updated and serves as a learning roadmap, technology selection reference, and technical review entry point.

@admin·10 min read·Cloud Native

PostgreSQL Transactions and Isolation Levels

Uncontrolled concurrent updates can cause dirty reads, phantom reads, and lost updates. This article explains ACID, the four isolation levels, PostgreSQL's MVCC implementation, the anomalies possible at each level, and how to choose: Read Committed is usually enough; use Serializable only for strong consistency.

#DevOps♥ 950 comments
@admin·12 min read·Cloud Native

Configuration Management: A Practical Ansible Getting-Started Guide

SSH in and set up the environment by hand? Slow, unreproducible, error-prone. Ansible automates server management with declarative YAML over SSH, no agent. Covers core concepts (inventory/playbook/task/role), common modules, a hands-on Nginx playbook, and the split with Terraform (infrastructure vs config).

#DevOps♥ 990 comments
@admin·11 min read·Cloud Native

PostgreSQL Table Partitioning in Practice

Are queries and maintenance slowing down on a table with hundreds of millions of rows? Partitioning splits it into smaller pieces, scans only relevant partitions, and removes old data quickly. This guide covers RANGE, LIST, and HASH partitioning, setup and maintenance, partition pruning, and when to partition by time or category.

#DevOps♥ 1010 comments
@admin·11 min read·Cloud Native

SLOs and Error Budgets: Data-Driven Reliability

"99.9% availability" is not a slogan. SLOs and error budgets should drive engineering decisions. This article explains the relationship between SLIs, SLOs, and SLAs, how to calculate and use error budgets, and how to manage reliability with data rather than intuition.

#DevOps♥ 1030 comments
@admin·10 min read·Cloud Native

PostgreSQL Data Types: Choose the Right Type and Save Half the Trouble

Storing everything in VARCHAR(255)? Using FLOAT for money? Wrong types lose precision, weaken indexes, and waste storage. This guide explains how to choose PostgreSQL types for numbers, text, UUIDs, time, booleans, enums, arrays, and JSONB, and why the right type improves both performance and correctness.

#DevOps♥ 1080 comments