第 1 天:理解 gRPC 是什么,读 Introduction to gRPC 和 gRPC Documentation
理解 gRPC 是什么,读 Introduction to gRPC 和 gRPC Documentation
输入关键词开始搜索,支持单字。
查看全部结果gRPC 学习
按 30 天学习节奏整理 gRPC 在 Go 里的环境搭建、Proto 设计、流式 RPC、拦截器、TLS 与生产化实践。
学习节奏
先把环境、proto、codegen、最小 server/client 链路搭通。
重点练习 proto 设计、字段演进和两个基础业务服务。
把四种 RPC 模式、context、deadline 和错误处理串起来。
补齐 metadata、interceptor、TLS、reflection、health、graceful shutdown 与性能认知。
Week 1
理解 gRPC 是什么,读 Introduction to gRPC 和 gRPC Documentation
理解 Protocol Buffers 基础,读 Protocol Buffers Docs 和 Go Tutorial
学习 package、go_package、生成规则,读 Go Generated Code Guide
安装并跑通官方 Go 示例,读 Go Quick Start
学习 Go 版基础教程,读 Go Basics Tutorial
自己从零重写 Hello World,不抄教程
复盘第一周
Week 2
系统学 proto 字段设计。读 Programming Guides 和 Style Guide
学习 repeated、map、enum
学习 optional、presence、oneof,读 Field Presence
学习 schema 演进
开始第一个业务服务 user-service
开始第二个业务服务 order-service
复盘第二周
Week 3
学习四种 RPC 模式。回看 Go Basics Tutorial
做 client streaming
做 bidirectional streaming
学习 context 和取消
学习 deadline,读 Deadlines
学习错误处理,读 Error Handling 和 Status Codes
复盘第三周
Week 4
学习 metadata,读 Metadata
学习 interceptor,读 Interceptors
继续 interceptor
学习 TLS 与认证,读 Authentication
学习 reflection,读 Reflection
学习健康检查,读 Health Checking
学习优雅停机,读 Graceful Shutdown
学习 keepalive、性能与观测,读 Keepalive、Performance Best Practices、Flow Control、OpenTelemetry Metrics
做一个结业项目