What are the connection limits for Google Cloud SQL from App Engine, and how to best reuse DB connections?

后端 未结 2 1098
情歌与酒
情歌与酒 2020-12-28 22:20

I have a Google App Engine app that uses a Google Cloud SQL instance for storing data. I need my instance to be able to serve hundreds of clients at a time, via restful cal

2条回答
  •  感动是毒
    2020-12-28 22:35

    I read from the documentation and noticed there's a 12 connection / instance limit:

    Look for "Each App Engine instance cannot have more than 12 concurrent connections to a Google Cloud SQL instance." in https://developers.google.com/appengine/docs/python/cloud-sql/

提交回复
热议问题