Wednesday, May 8, 2013

Re: Connection Pool

Google Cloud SQL could signal the connection pool about a pending shutdown...  Another (easy) solution would be to keep the database instance online while there are current connections. The user is paying for this instance hours so this would be no problem for Google ;)

Regards,

Roland

Op dinsdag 7 mei 2013 23:58:58 UTC+2 schreef Joe Faith het volgende:
Hi Roland

The discussion never ends!
I'd be interested in your use case or requirements.
In particular, since the time to create a new connection is similar to that required to test the liveness of an existing connection, then I'm not sure how a connection pool would help?

j


On Tue, May 7, 2013 at 1:11 PM, Roland Beuker <roland...@arcus-business.com> wrote:
Hello Joe,

Is this the end of this discussion or is Google developing some kind of connection pooling towards Google Cloud SQL?

Regards,

Roland

Op vrijdag 2 maart 2012 18:07:05 UTC+1 schreef Joe Faith het volgende:
Database connections in a cloud hosted environment should be managed differently to those on a conventional server. In particular, be aware that your database instance may be taken offline while not in use, and any pooled connections would be closed. We recommend that a new connection is created to service each HTTP request, and re-used for the duration of that request (since the time to create a new connection is similar to that required to test the liveness of an existing connection).

J

On Fri, Mar 2, 2012 at 1:16 AM, Rémi Bastide <remi.b...@gmail.com> wrote:
Good question ! I'm in need of the answer as well...

Le mardi 1 novembre 2011 19:44:30 UTC+1, javabuddy a écrit :
How to establish Connection Pool in GAE using AppEngineDriver in Cloud
SQL or native datastore??

Thanks

 

 

--
Joe Faith | Product Manager | Google Cloud

--
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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Joe Faith | Product Manager | Google Cloud

--
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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment