gRPC

gRPC是一个高性能 RPC 框架。它可以有效连接使用多种语言和框架实现的服务。它还适用于分布式计算的最后一小段,将设备、移动应用程序和浏览器连接到后端服务。

gRPC is a high-performance RPC framework. It can efficiently connect services implemented using various languages and frameworks. It is also applicable in the last mile of distributed computing to connect devices, mobile applications, and browsers to backend services.

通常,gRPC 使用 HTTP/2、TLS 和 Protobuf (Protocol Buffers)。在微服务架构中,gRPC 是 HTTP 的高效型类型安全替代方案。

In general, gRPC uses HTTP/2, TLS, and Protobuf (Protocol Buffers). In a microservice architecture, gRPC is an efficient, type-safe alternative to HTTP.

Quarkus gRPC 扩展将在 Quarkus 应用程序中集成 gRPC。它:

The Quarkus gRPC extension integrate gRPC in Quarkus application. It:

  • supports implementing gRPC services

  • supports consuming gRPC services

  • integrates with the reactive engine from Quarkus as well as the reactive development model

  • allows plain-text communication as well as TLS, and TLS with mutual authentication

  • supports xDS gRPC integration

  • supports InProcess gRPC development

Quarkus gRPC 基于 Vert.x gRPC

Quarkus gRPC is based on Vert.x gRPC.