Tuesday, July 23, 2019

[google-cloud-sql-discuss] Connecting Cloud SQL from Multiple GKE Replica Pods

We have a Spring 4 application running of GKE and JPA for ORM. Our minimum Replica set is 4. We want to connect to Cloud SQL from these replica pods.
1. If we go by the Cloud SQL Proxy approach, the cloud sql proxy would be a sidecar container in each of the pods. Are there any resource consumption and and performance results for the cloud sql proxy? How much resources does a cloud sql proxy consume for a given rate of requests. We would obviously do this test, but are there any results from Google?
2. What is better way of communicating with Cloud SQL when there are multiple gke replica pods connecting to the cloud sql db? Cloud SQL Proxy or Private IP? 

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/bc031f3f-8ec1-41ff-b393-389ddc39a693%40googlegroups.com.

No comments:

Post a Comment