指南

Guides 指南

Task-oriented walkthroughs of common use cases

常见用例的任务导向式演示

The documentation covers the following techniques:

文档涵盖以下技术:


Authentication 认证

An overview of gRPC authentication, including built-in auth mechanisms, and how to plug in your own authentication systems.

gRPC 认证的概述,包括内置认证机制以及如何插入自己的认证系统。

Benchmarking 基准测试

gRPC is designed to support high-performance open-source RPCs in many languages. This page describes performance benchmarking tools, scenarios considered by tests, and the testing infrastructure.

gRPC 旨在支持多种语言中的高性能开源 RPC。该页面介绍了性能基准测试工具、测试考虑的场景以及测试基础架构。

Compression 压缩

How to compress the data sent over the wire while using gRPC.

如何在使用 gRPC 时压缩在传输中发送的数据。

Custom Load Balancing Policies 自定义负载均衡策略

Explains how custom load balancing policies can help optimize load balancing under unique circumstances.

解释了如何使用自定义负载均衡策略来优化特定情况下的负载均衡。

Deadlines 超时

Explains how deadlines can be used to effectively deal with unreliable backends.

解释了如何使用超时处理来有效处理不可靠的后端。

Error handling 错误处理

How gRPC deals with errors, and gRPC error codes.

gRPC 如何处理错误以及 gRPC 错误代码。

Flow Control 流量控制

Explains what flow control is and how you can manually control it.

解释了流量控制是什么以及如何手动控制它。

Keepalive

How to use HTTP/2 PING-based keepalives in gRPC.

如何在 gRPC 中使用基于 HTTP/2 PING 的保持活动状态。

Performance Best Practices 性能最佳实践

A user guide of both general and language-specific best practices to improve performance.

通用和特定语言的性能最佳实践用户指南。

Wait-for-Ready 等待就绪

Explains how to configure RPCs to wait for the server to be ready before sending the request.

解释了如何配置 RPC,在发送请求之前等待服务器准备就绪。