<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>WithCancel on Tony Bai</title><link>https://tonybai.com/tags/withcancel/</link><description>Recent content in WithCancel on Tony Bai</description><generator>Hugo</generator><language>zh-cn</language><copyright>2004-2026 Tony Bai. 版权所有.</copyright><lastBuildDate>Thu, 22 Jan 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://tonybai.com/tags/withcancel/index.xml" rel="self" type="application/rss+xml"/><item><title>凌晨3点的警报：一个导致 50000 多个 Goroutine 泄漏的 Bug 分析</title><link>https://tonybai.com/2026/01/22/a-bug-cause-50000-goroutine-leak/</link><pubDate>Thu, 22 Jan 2026 00:00:00 +0800</pubDate><guid>https://tonybai.com/2026/01/22/a-bug-cause-50000-goroutine-leak/</guid><description>本文永久链接 – https://tonybai.com/2026/01/22/a-bug-cause-50000-goroutine-leak 大家好，我是Tony Bai。 内存占用 47GB，响应时间飙升至 32秒，Goroutine 数量达到惊人的 50847 个。 这是一个周六凌晨 3 点，发生在核心 API 服务上的真实噩梦。运维正准备重启服务止损，但 Serge Skoredin 敏...</description></item><item><title>通过实例理解Go标准库context包</title><link>https://tonybai.com/2022/11/08/understand-go-context-by-example/</link><pubDate>Tue, 08 Nov 2022 00:00:00 +0800</pubDate><guid>https://tonybai.com/2022/11/08/understand-go-context-by-example/</guid><description>* **原weibo账号处于jy状态，临时先用小号 https://weibo.com/u/6484441286，欢迎大家关注！** * “Gopher部落”知识星球双十一新人特惠，领劵加入即享立减88元优惠 – https://t.zsxq.com/078E1QTjM 本文永久链接 – https://tonybai.com/2022/11/08/understand-go-context-by...</description></item></channel></rss>