HTTP2 connections load balancing in Openshift
Issue
-
We need guidance related with load balancing of long lived connection. HTTP/2 is one of the long lived connection protocol. Default HAProxy looks like load balance the traffic at first connection open request receive, if new connection open request receive then load balance it. But with a long lived connections, connection open one time and communication continue on it. How I can load-balance this traffic?
-
One more example related with our load balance question.
- Imagine that there are 3 backend pod running http2 server and 1 client pod. If the client send http2 request it will be established with one of the server pod for example backend_pod 1. Because of connection established between client1 and backend_pod1 all request between client and backed_pod1 established over this connection. But during all request, backend_pod2 and backend_pod3 will not take any request.
Environment
- Red Hat OpenShift Container Platform
- 4.16
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.