How does Nginx multiplex gRPC connections

Tal Kapon Tal.Kapon at
Tue Nov 23 07:57:36 UTC 2021


We have been experimented with nginx as reverse proxy for gRPC connections.

We create thousands of simultaneous gRPC connections (simulating many agents).

When using unary RPC call from the gRPC client, Nginx multiplexes the connections and creates small number of connections to the backend.

When using client streaming gRPC, Nginx creates a connection to the backend per each incoming connection.

Can you explain how Nginx decides how to multiplex http2 connections and if there is a way to control it?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list