gRPC


This behavior enables support for native g​RPC (Google Remote Procedure Call). Akamai supports g​RPC-Web by default. Confirm with your account representative that your contract enables the g​RPC behavior.

The g​RPC framework is an open-source, high-performance Remote Procedure Call (RPC) that uses protocol buffers (protobuf) to transmit data. Protobuf messages are small, fast, and support a wide range of programming libraries and tooling.

You can use g​RPC to enable function calls across processes and connect large numbers of microservices. It's built on HTTP/2, supports multiplexed streams, and four communication patterns: request-response, server streaming, client streaming, and bidirectional streaming.

OptionTypeDescriptionRequires
enabledboolean

Enables HTTP/2, multiplexed streams, and concurrent RPCs over a single connection.

{"displayType":"boolean","tag":"input","type":"checkbox"}
enable​Bidirectional​Streamingboolean

Whether to send many messages per request and per response, concurrently and independently, over a single long-lived connection.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
translate​Web​Request​To​Nativeboolean

Enable this to upgrade all g​RPC-web requests to native g​RPC at the edge.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}