I’m about to migrate my first Fly.io app from development to production and I’m trying to understand better it’s performance.
I noticed that whenever I access my website (that still has no visitors) it has a delay of 3 to 5 sec on the first visit, I’m considering that’s the VM time to wake up. I tried to avoid this scaling my app to 2x shared CPU, to no avail. Scaled Postgres machine too, same thing.
How do I avoid this first time visit delays? Need to scale more?
My mistake on this one, I made a deploy in a different country than I was testing, so for sure a 3 to 5 seconds delay was expected. When I tested from the country in question went below 500ms.