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 and click Site List in the left sidebar.In the site list, click the target Site.
2. On the site details page, click Site Acceleration to enter the global site configuration page. Then click Network Optimization in the right sidebar.
3. Locate the gRPC card and toggle the switch to enable gRPC support.