Issue Template
Title:
Description:
as I know is, in http2 side, there is only 1 connection between envoy-cluster,
but I saw in wireshark that envoy make more than 1 connection between them.
like below


I sent to envoy listener[port: 8000] with 2 queries. I expect envoy make only one connection between
envoy and cluster[port:20001] (I enforce envoy config to 1 stream per 1 connection )
as you can see, envoy make 2 connection between [port: 20001] cluster.
below is my envoy config
Config:
admin:
access_log_path: /home/wj/test/envoy/log.log
address:
socket_address: { address: 127.0.0.1, port_value: 9901 }
static_resources:
listeners:
clusters:
Not sure if this one helps:
All connection pools in Envoy are per worker thread. So, though HTTP/2 connection pools only make a single connection to each upstream host at a time, if there are four workers, there will be four HTTP/2 connections per upstream host at steady state.
From https://blog.envoyproxy.io/envoy-threading-model-a8d44b922310
@dio is correct, the connections are per-worker. If you don't need the concurrency you can run with less workers which will make less connections.
oh thanks, dio and mattklein !
Optimistically closing this off - let us know if you have any other questions on this front though!
Most helpful comment
Not sure if this one helps:
From https://blog.envoyproxy.io/envoy-threading-model-a8d44b922310