Hi David,

On Tue, Sep 17, 2019 at 04:58:28PM -0500, David Pirotte wrote:
> Hi all,
> Is there a way to multiplex frontend HTTP/2 (GRPC) connections onto a shared 
> pool of backend HTTP/2 connections?
> My testing shows that one frontend connection with multiple concurrent 
> requests will reuse one backend connection, but multiple frontend connections 
> will not share backend connections.

HTTP/2 backend connections should be reused, however be aware that currently
there's one connection pool per thread, so chances are, if you have 2 frontend
connections, they ended up on 2 different threads, and so wouldn't reuse the
other connection. I'm not sure how you ran your test, but using "nbthread 1"
should make it reuse as you'd expect (or just having more frontend connections
than threads, at some point you should see some reuse).



Reply via email to