Overview
Menu

gRPC

EdgeOne Support Status for gRPC

EdgeOne supports enabling gRPC protocol support within the console (default is off). Once enabled, it can simultaneously support HTTP/HTTPS/gRPC protocols, automatically adapting to the user's request protocol, i.e., using HTTP protocol for HTTP requests and gRPC protocol for gRPC requests.
Note:
1. Currently, only Simple RPC and Server-side streaming RPC modes are supported;
2. gRPC is implemented based on end-to-end HTTP/2, so please make sure that HTTP/2 access and HTTP/2 origin-pull are enabled when enabling gRPC.

What is gRPC?

gRPC (gRPC Remote Procedure Calls) is an open-source remote procedure call system initiated by Google. The system is designed based on the HTTP/2 standard and features bidirectional streaming, flow control, header compression, and multiplexed requests on a single TCP connection.

Directions

1. Log in to the EdgeOne console, click on the site list in the left menu bar, click on the site to be configured in the site list, and enter the site details page.
2. On the site details page, click on Security Acceleration > Network Optimization, and find the gRPC module.



3. Click on the "switch" of the gRPC module to enable or disable gRPC protocol support.