We’re not particularly clear about what’s occurring in these steps so we need to improve this for sure. Specifically, the “Uploading Build” is uploading the results of the build process to storage and then “Deploying” is downloading the previous upload and then executing it as a container.
The only controls you have to speed things up is by ensuring that the build is as small as possible - but we don’t show the resultant size of the build so you don’t know how big the thing is.
The slow deploys are for me one of the most annoying things on Render.
but we don’t show the resultant size of the build so you don’t know how big the thing is.
I suspect the largest part of the build is the cache, right? The cache size is shown when the build starts:
Apr 15 08:23:45 PM ==> Downloading cache…
Apr 15 08:24:12 PM ==> Downloaded 524MB in 12s. Extraction took 13s.
I added rm -rf node_modules to my build script when I noticed the cache was 3GB+…
Now downloading the cache and uploading the build is already much faster.