Welcome! Log In Create A New Profile

Advanced

How does Nginx multiplex gRPC connections

Tal Kapon
November 23, 2021 02:58AM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How does Nginx multiplex gRPC connections

Tal Kapon November 23, 2021 02:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 49
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready