During the gradual traffic shift from AWS to GKE, both environments share the same PostgreSQL database on AWS. How would you prevent database connection pool exhaustion and cross-cloud latency from affecting payment transactions as GKE traffic increases from 1% to 100%?