Relative Content

Tag Archive for jdbclatencygoogle-cloud-spanner

Spanner JDBC Driver option to avoid latency

We are using the google spanner jdbc driver(google-cloud-spanner-jdbc) to enable connectivity from our application to cloud spanner. This was used instead of the google client libraries to reuse the existing code and framework which used jdbctemplate based data access. We have a multi region environment for applicaiton deployment . All looks ok until we see latency issues for connecting to spanner from one region. All write operations have a higher latency from the non primary region while its much lesser when calls to go the primary leade spanner.