Connection pool on app engine with Cloud SQL

前端 未结 3 1431
执笔经年
执笔经年 2020-12-11 11:48

It sounds like the newer cloud SQL JDBC drivers for app engine (1) support connection pooling.

Our app uses Spring+Hibernate and we\'re trying to use one of the exi

3条回答
  •  一向
    一向 (楼主)
    2020-12-11 12:27

    We ended up solving this by using Tomcat DBCP (http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html). The problem with most other pools is that they use threading, which app engine's model prevent on frontend instances (long-lived threads that is).

提交回复
热议问题