Our API is deployed via Docker on Render. We’re seeing the downloading cache step take up to 9 minutes on some deploys which is really slowing things down. Here is a snippet of the logs from a couple days ago:
Jan 2 04:03:35 AM ==> Downloading cache…
Jan 2 04:12:14 AM #2 [internal] load .dockerignore
Jan 2 04:12:14 AM #2 transferring context: 2B done
Anything we can do to make this cache download not take so long?
My docker image is ~1GB. Is it expected for 1GB to take 5m to download? That’s quite slow for internal datacenter traffic. If that’s the bandwidth I can expect, I’ll have to move to a different provider.
The cache downloading felt a bit faster for a while, but seems to have slowed down again:
Feb 25 12:52:29 PM ==> Downloading cache…
Feb 25 12:59:22 PM ==> Downloaded 3.0GB in 360s. Extraction took 47s.
And from another service:
Feb 25 12:58:09 PM ==> Downloaded 3.0GB in 286s. Extraction took 54s.
Although not an issue for us, but seeing both having the exact same cache size, is the cache shared between services deploying from the same repository? And would that interfere with faster cache downloads?
Hey there- thanks for reporting this. It’s possible that today’s slowdowns are a result of an incident from this morning, which should be resolved now. You can view more details on this on our status page, if you’re interested.
We’re keeping an eye on this in general though, so please do continue to let us know if you’re seeing cache slowdowns.
In regards to your question, though, no- caches are service specific, so this should not be a factor on cache download speeds.
Additionally, if your cache size has grown, you might want to try doing a clear cache and deploy.