<?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>计数器 on Tony Bai</title><link>https://tonybai.com/tags/%E8%AE%A1%E6%95%B0%E5%99%A8/</link><description>Recent content in 计数器 on Tony Bai</description><generator>Hugo</generator><language>zh-cn</language><copyright>2004-2026 Tony Bai. 版权所有.</copyright><lastBuildDate>Mon, 19 May 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://tonybai.com/tags/%E8%AE%A1%E6%95%B0%E5%99%A8/index.xml" rel="self" type="application/rss+xml"/><item><title>原子操作的瓶颈与Go的多核扩展性之痛：深入剖析sync.ShardedValue及per-CPU提案</title><link>https://tonybai.com/2025/05/19/shardedvalue-per-cpu-proposal/</link><pubDate>Mon, 19 May 2025 00:00:00 +0800</pubDate><guid>https://tonybai.com/2025/05/19/shardedvalue-per-cpu-proposal/</guid><description>原子操作的瓶颈与Go的多核扩展性之痛：深入剖析sync.ShardedValue及per-CPU提案 - Tony Bai =============== Tony Bai 一个程序员的心路历程 * Google Go语言编码风格规范 * Google Go语言编码风格规范：指南篇 * Google Go语言编码风格规范：决定篇 * Google Go语言编码风格规范：最佳实践篇 * Go语言第一...</description></item><item><title>使用go-metrics在Go应用中增加度量</title><link>https://tonybai.com/2021/07/06/add-metrics-for-go-application-using-go-metrics/</link><pubDate>Tue, 06 Jul 2021 00:00:00 +0800</pubDate><guid>https://tonybai.com/2021/07/06/add-metrics-for-go-application-using-go-metrics/</guid><description>本文永久链接 – https://tonybai.com/2021/07/06/add-metrics-for-go-application-using-go-metrics Go语言内置expvar，基于expvar提供的对基础度量的支持能力，我们可以自定义各种度量（metrics）。但是expvar仅仅是提供了最底层的度量定义支持，对于一些复杂的度量场景，第三方或自实现的metrics包必不可...</description></item></channel></rss>