<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Rpc - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/rpc/</link><description>Rpc - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Wed, 09 Jul 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/rpc/" rel="self" type="application/rss+xml"/><item><title>trpc/brpc/grpc 协议设计对比</title><link>https://rd163.visword.com/posts/proto_disign_for_trpc_grpc_brpc/</link><pubDate>Wed, 09 Jul 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/proto_disign_for_trpc_grpc_brpc/</guid><description><![CDATA[<p>在微服务与高性能后端场景中，RPC(Remote Procedure Call，远程过程调用)框架的协议设计直接决定了吞吐、延迟、可观测性和生态兼容性。本文梳理三套具有代表性的 RPC 协议：腾讯开源的 <strong>tRPC</strong>、Apache <strong>bRPC</strong>(baidu_std)以及 Google 主导的 <strong>gRPC</strong>,从协议帧格式、通信模式和传输层三个维度做对比。</p>]]></description></item><item><title>Golang 服务相关的库</title><link>https://rd163.visword.com/posts/golang-service-libs/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/golang-service-libs/</guid><description><![CDATA[<p>在构建后端服务时，Go 生态提供了从轻量 Web 框架到完整微服务框架的多层选择。相比单纯的路由库(如 <code>chi</code>、<code>gorilla/mux</code>)或高性能 HTTP 库(如 <code>fasthttp</code>),「服务级」框架通常还承担了 RPC 通信、服务治理、代码生成、配置管理等工程化职责。本文集中梳理几款在生产环境广泛使用的 Go 服务端框架与工具，便于在选型时横向对照。</p>]]></description></item><item><title>Golang 入门</title><link>https://rd163.visword.com/posts/get-started-with-golang/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/get-started-with-golang/</guid><description><![CDATA[<h2 id="为什么是-go" class="headerLink">
    <a href="#%e4%b8%ba%e4%bb%80%e4%b9%88%e6%98%af-go" class="header-mark"></a>为什么是 Go</h2><p>云风在 2010 年写下的一段话，至今仍是关于 Go (Go language，又称 Golang) 最朴素的注脚:</p>
<blockquote>
  <p>我发现我花了四年时间锤炼自己用 C 语言构建系统的能力，试图找到一个规范，可以更好的编写软件。结果发现只是对 Go 的模仿。缺乏语言层面的支持，只能是一个拙劣的模仿。</p>]]></description></item></channel></rss>