proud-ghost-96894
03/26/2024, 3:54 PMkratos
pod it establishes ~60 TCP conns/s which seems a bit too many (our other workloads running on top of CockroachDB not written in Go leverage connections pools and establish a few magnitudes fewer connections). Should we provide any extra config values in our DB connection string to improve that? I also assume that partially because of that our in-cluster DNS traffic is also very high. Thanks in advance.proud-ghost-96894
03/26/2024, 4:17 PM&max_conns=16&max_idle_conns=8
and simply those values are not enough.proud-ghost-96894
03/27/2024, 4:52 PMmax_conns=50&max_idle_conns=50&max_conn_lifetime=10m&max_conn_idle_time=10m
(which seems to be a good it for our current traffic but we may still need to fine tune those values) the issue seems to be resolved (both TCP new connections and DNS requests)