python - Dealing with Concurrent Requests & Connections in Cloud SQL -


we have created app on app engine using datastore. have been led using cloud sql wanted use joins, nested queries , functions such average, total etc. data gets migrated datastore cloud sql daily cron jobs.

i going through below links know basic details related performance , limitations.

so far looks tier d0 or d1 serve purpose intended.

few things confusing me:

a) pending connection , how affect ? not sure if throws 1033 instance has many concurrent requests, when exceeds 100. how handle ? can create 250 connections use 100 @ time ?

b) 250 concurrent connections. should throw error many connections if exceeds 250

c) per app engine instance 12 concurrent connections per sql instance. how ensure no more 12 connections per app engine instance ?

i have gone through following forums:

what connection limits google cloud sql app engine, , how best reuse db connections?

what's approach managing db connection in google cloud sql (gae) python app?

but people face issues in that.

d) got operationalerror:

(2013, "lost connection mysql server @ 'reading initial communication packet', system error: 38") error when tried test 1000+ requests.

we have 1500+ people using our system concurrently , looks fail. confused if can use cloud sql due above mentioned issues. solutions should available though.

can help?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -