Rust App - PlanetScale MySQL query is very slow

So i got rust service in London region connected to PlanetScale MySQL also deployed in London.

And the average query time is really big, something around 1 sec. I tried increasing cpu / mem, nothing is changing.

Just to see if something is wrong, THE SAME APP/CODE I deploy on GCP, in the Belgium region. So further away from the database. And the same query is something around 30-60 ms. So yeah, a big difference.

It’s a grpc service, using tonic crate, and mysql-async crate with ssl mode enabled, if this will be useful.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.