<?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>Proto on Tony Bai</title><link>https://tonybai.com/tags/proto/</link><description>Recent content in Proto on Tony Bai</description><generator>Hugo</generator><language>zh-cn</language><copyright>2004-2026 Tony Bai. 版权所有.</copyright><lastBuildDate>Sun, 07 Sep 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://tonybai.com/tags/proto/index.xml" rel="self" type="application/rss+xml"/><item><title>为什么说“接口”，而非代码或硬件堆砌，决定了系统的性能上限？</title><link>https://tonybai.com/2025/09/07/the-power-of-an-interface-for-performance/</link><pubDate>Sun, 07 Sep 2025 00:00:00 +0800</pubDate><guid>https://tonybai.com/2025/09/07/the-power-of-an-interface-for-performance/</guid><description>本文永久链接 – https://tonybai.com/2025/09/07/the-power-of-an-interface-for-performance &amp;gt; 我的《Go语言第一课》已上市，赠书活动正在进行中，欢迎点击此链接参与。 大家好，我是Tony Bai。 我们通常如何看待性能优化？答案往往是：更快的算法、更少的内存分配、更底层的并发原语、甚至用SIMD指令压榨CPU的每一个周期。我...</description></item><item><title>Go语言gRPC服务Handler单元测试详解</title><link>https://tonybai.com/2023/11/25/grpc-handler-unit-testing-in-go/</link><pubDate>Sat, 25 Nov 2023 00:00:00 +0800</pubDate><guid>https://tonybai.com/2023/11/25/grpc-handler-unit-testing-in-go/</guid><description>本文永久链接 – https://tonybai.com/2023/11/25/grpc-handler-unit-testing-in-go 在云原生时代和微服务架构背景下，HTTP和RPC协议成为服务间通信和与客户端交互的两种主要方式。对于Go语言而言，标准库提供了net/http/httptest包，为开发人员提供了便捷的方式来构建服务端HTTP Handler单元测试的测试脚手架代码，而无...</description></item></channel></rss>