How does Nginx multiplex gRPC connections

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


Hi,

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?

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20211123/add6b324/attachment-0001.htm>


More information about the nginx mailing list