<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>编程 on 黄文卓 | DevOps Engineer</title><link>https://socake.github.io/categories/%E7%BC%96%E7%A8%8B/</link><description>Recent content in 编程 on 黄文卓 | DevOps Engineer</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>17691281867@163.com (Wenzhuo Huang)</managingEditor><webMaster>17691281867@163.com (Wenzhuo Huang)</webMaster><copyright>© 2026 Wenzhuo Huang</copyright><lastBuildDate>Thu, 04 Dec 2025 12:56:00 +0800</lastBuildDate><atom:link href="https://socake.github.io/categories/%E7%BC%96%E7%A8%8B/index.xml" rel="self" type="application/rss+xml"/><item><title>阿里云 SDK 运维自动化：ECS/ACK/RDS 资源管理与巡检脚本</title><link>https://socake.github.io/posts/aliyun-sdk-ops/</link><pubDate>Thu, 04 Dec 2025 12:56:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/aliyun-sdk-ops/</guid><description>用阿里云 Python SDK 实现 ECS 实例查询与监控、ACK 节点状态检查、RDS 慢查询巡检，整合成 HTML 格式巡检报告自动推送钉钉。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/aliyun-sdk-ops/featured.jpg"/></item><item><title>Python 操作 Elasticsearch：从索引管理到复杂聚合查询</title><link>https://socake.github.io/posts/python-elasticsearch-client/</link><pubDate>Tue, 04 Nov 2025 12:27:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/python-elasticsearch-client/</guid><description>从客户端初始化到批量操作、scroll 查询、聚合统计，一篇文章搞定 Python 操作 Elasticsearch 的高频场景。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/python-elasticsearch-client/featured.jpg"/></item><item><title>Python 定时任务工程化：APScheduler 与 Celery Beat 实战对比</title><link>https://socake.github.io/posts/python-scheduled-tasks/</link><pubDate>Sat, 01 Nov 2025 11:26:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/python-scheduled-tasks/</guid><description>APScheduler 和 Celery Beat 是 Python 定时任务的两大主流方案。本文从使用场景出发，对比两者的架构差异、适用边界，并介绍 K8s CronJob 作为第三条路的价值，帮你在项目里选对工具。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/python-scheduled-tasks/featured.jpg"/></item><item><title>用 Go 写 K8s 运维工具：client-go 实战</title><link>https://socake.github.io/posts/go-kubernetes-client-tools/</link><pubDate>Mon, 25 Aug 2025 09:08:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/go-kubernetes-client-tools/</guid><description>kubectl 能解决 80% 的日常问题，剩下 20% 需要你自己写工具。本文用实际可运行的 Go 代码，展示如何用 client-go 构建批量重启 Deployment、Pod 资源报告、过期 ConfigMap 清理等运维工具，并用 cobra 封装成 CLI。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/go-kubernetes-client-tools/featured.jpg"/></item><item><title>Celery 异步任务详解：任务队列、重试策略与分布式部署</title><link>https://socake.github.io/posts/celery-async-tasks/</link><pubDate>Tue, 22 Apr 2025 09:44:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/celery-async-tasks/</guid><description>从 Celery 架构到 K8s 部署，覆盖任务定义、重试策略、队列路由、Beat 定时任务和 Flower 监控，附完整的生产部署配置。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/celery-async-tasks/featured.jpg"/></item><item><title>Python 对接 Prometheus：查询监控数据与告警状态自动化</title><link>https://socake.github.io/posts/python-prometheus-monitoring/</link><pubDate>Mon, 25 Nov 2024 11:44:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/python-prometheus-monitoring/</guid><description>用 Python 直接调 Prometheus HTTP API，实现服务存活巡检、可用率日报生成，最后接入钉钉每日自动推送集群健康摘要。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/python-prometheus-monitoring/featured.jpg"/></item><item><title>Python 异步编程实战：asyncio 在 AI 应用中的使用</title><link>https://socake.github.io/posts/python-async-programming/</link><pubDate>Fri, 22 Nov 2024 12:44:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/python-async-programming/</guid><description>AI 应用天然是 I/O 密集型的：等 LLM 响应、等向量数据库检索、等多个工具调用返回。同步写法在这里是性能杀手。这篇文章从 event loop 原理讲到实际的 AI 应用模式，重点是 asyncio.gather 并发调用、SSE 流式输出处理和常见陷阱排查。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/python-async-programming/featured.jpg"/></item><item><title>Python 自动化运维：从脚本到完整工具的工程化实践</title><link>https://socake.github.io/posts/python-devops-automation/</link><pubDate>Tue, 12 Nov 2024 11:01:00 +0800</pubDate><author>17691281867@163.com (Wenzhuo Huang)</author><guid>https://socake.github.io/posts/python-devops-automation/</guid><description>系统梳理 Python 运维自动化的工程化方法：boto3 操作 AWS 资源、Kubernetes Python SDK 使用、Click/Typer CLI 框架选型、数据库批量运维脚本、钉钉 Webhook 集成，以及类型注解与错误处理的实践经验。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://socake.github.io/posts/python-devops-automation/featured.jpg"/></item></channel></rss>