Slow response times from Spain

I’ve just set up a new api. I’m running a phoenix server on a starter plan in Frankfurt (the setup experience was great!). Based on the request logs the server responds in 40-60ms but I’ve never seen the following command do better than 400ms.

curl -o /dev/null -s -w 'Total: %{time_total}s\n' https://oath-api.onrender.com/health

The health check is currently just a simple controller that responds with {healthy: true}, it isn’t hitting a database etc. I’m on a fiber connection that reports 600mbs up/down with a 3ms ping (according to https://www.speedtest.net/) and an ethernet connection to the router.

It looks like geography does play it’s part here (I’m based in Barcelona), see table below. The response times for northern europe are more in line with what I was expecting. Unfortunately my target market is Spain so I need to find a solution that will work there.


source: Performance Test - Check URL Speed From 10 Global Locations | KeyCDN Tools

Hi Oliver,

Unfortunately, I think you have bumped into one of our limitations. Our European region is based in Frankfurt so you are correct that geography is likely playing a part here. We are working hard to roll out new regions as we continue to grow.

1 Like