Latency dependence on geographical location

From America/Sao_Paulo, the first round trip took 1.845 s. The subsequent 5 round trips took 0.823 s on average, with a min of 0.311 s and max of 1.909 s.

From America/Sao_Paulo, the first round trip took 0.959 s. The subsequent 5 round trips took 0.285 s on average, with a min of 0.263 s and max of 0.312 s.

@contato.ecorepasse and @gabriel.duro.s, what’s causing such a big difference? Are you on different Anvil plans, or is one of you in a rural area while the other is near a top-tier internet provider?

Hi @stefano.menci! I’m not in a rural area and my plan is free. Now the result of the request was: From America/Sao_Paulo, the first round trip took 0.968 s. The subsequent 5 round trips took 0.272 s on average, with a min of 0.235 s and max of 0.311 s. I noticed a lot of variability, so the previous result was an average of five attempts.

Free plans (I assume) are not slow by design, are just assigned “what’s left” of the resources after paid plans are satisfied. That’s a rough simplification, but it would explain why sometimes you can reach the max speed and someone you can’t.

1 Like

@stefano.menci 'm on the Personal plan. When I upgraded, I did see a slight increase in speed, but that was on MY apps.

From what I understand, and I could be really wrong, if the owner of the app doesn’t have persistent server, the first access to the app in a certain period of time would have to wait a little longer to receive the result of the first calls.

I accessed the app around 5 minutes after @contato.ecorepasse , so maybe I wasn’t as affected as him in the load up of the app.

1 Like