Hi all, i have a strange issue when connecting to mysql from cloud functions. We have a function wrote on node js that connect through vpc serverless access to a sqlproxy that route the connection to our mysql db on compute instances. When i execute the function (it start a loop doing a select 1+1 for testing purpose) i see that the query is progressively slowing down. It start doing almost 20 query for second and after 2 o 3 seconds slow down to 2 / 4 query per second until the connection die after 10 - 15 minutes.
I suppose that some connection slow down is to be expected but executing the same function from a limited pod on a GKE that connect to the same sqlproxy it does circa 340 query per seconds.
It look like the VPC serverless access is the bottleneck but i find it very strange that it make the connection this slow.
Any suggestion?