Well you have to run an api gateway or nginx at the edge…
The last web app I worked on had a latency budget of 200ms. The one before that it was 400.
Cross pacific queries can take 200 of that off the top. Even transcontinental is close to 80. With query times you can at least work to improve them.
Now it’s not as simple as just locality but that’s a starting point.