Building an Automated Inspection Platform from Scratch: Plugin Architecture Design and Go Implementation Guide

Overview Three ops engineers, 200 servers. Every morning: SSH into each one, check disk, memory, CPU, connection count, certificate expiry… the entire morning is gone. When a sudden outage hits, there is no time to inspect — the problem has already exploded in user complaints. This is not an isolated case. Many small-to-mid teams still do ops inspection the “manual + script” way — a few Shell scripts scattered across machines, unmaintained, nobody knows when they last ran, and nobody reads the output....

July 14, 2026 · 24 mins · 4992 words · Xu Baojin

Building Ops CLI Tools with Go

Why Go Is Ideal for Ops Tools Ops CLI tools demand high deployment convenience and execution efficiency — areas where Go has natural advantages: Advantage Description Compared to Python Single binary Compiles to a standalone executable with no runtime dependencies Requires Python environment + dependencies Cross-platform GOOS/GOARCH cross-compilation — write once, run anywhere Requires virtualenv management Startup speed Millisecond-level cold start Interpreter overhead Concurrency model Lightweight goroutines Requires threading/asyncio Memory footprint Low memory usage as a static binary Interpreter overhead Mature ecosystem Standard library covers networking/files/crypto Relies on third-party libraries Kubernetes, Docker, Terraform, Prometheus — the core cloud-native tools are all written in Go....

November 6, 2024 · 10 mins · 1965 words · XuBaojin

CI/CD Pipeline Design: GitHub Actions in Practice

CI/CD is the lifeblood of modern software delivery. Manual builds and deployments are not only inefficient but also breeding grounds for incidents — the “works on my machine” tragedy almost always stems from a lack of automated pipelines. As GitHub’s native CI/CD platform, GitHub Actions integrates seamlessly with code repositories, offers generous free tiers for open-source projects, and has become one of the most popular CI/CD tools. This article starts from core concepts and walks through two practical scenarios — a Go project and a Hugo site — to comprehensively explain pipeline design....

March 7, 2024 · 12 mins · 2388 words · XuBaojin