We are using a PostgreSQL database to control the scaling of replicas across different deployments.
Each deployment has its own ScaledObject, which queries the same database table using a distinct query like
Select Count(*) from table where deployment = deployment1
I’d like to understand how KEDA handles database connections:
Does KEDA open a new connection to the database for each ScaledObject, or does it reuse connections from a pool?
Currently, it feels like KEDA is creating new connection per scaleobject. Any suggestions?