@maxim@tihomir We’re seeing this as well causing problems with cloud-sql=proxy IAM integration when we run more than 3 history nodes. How do we configure Temporal to keep connections alive longer and start new connections less often?
I’ve added a screenshot where you can see that Temporal is opening a whopping 250 new connections per second which I assume is unintentional.
We are observing similar pattern as well, one of the solution is managing connection pool outside of temporal using proxy or pgbouncer ( we haven’t taken a decision thought).
is there a better/efficient solution to this ?, Also any insights on why temporal would spawn so many connections.