The answer to this is: it varies. More detail would probably be helpful right? Below we explain which factors affect build queue times.
One key factor is the site itself. Larger sites will take longer to build than smaller ones, and things like images and video can impact this (if those assets need to be downloaded by the system).
Another factor is the static site generator (SSG) being used (if any). The performance of SSGs varies widely. If the site takes a long time to build locally, that will also carry over to Netlify.
Also, the systems which handle the site builds are a shared resource (amongst Netlify users). When the network is under heavy load, newly scheduled builds will be queued instead of beginning immediately. (Pro tip: Monday through Friday - US and EU business hours - are normally the busiest times.)
When the load is high on the build system, and when utilizing our our starter (free) plan, it is normal for builds to queue for up to fifteen (15) minutes . Again, this is for our starter tier.
If these longer build times are causing issues, one possible solution is to upgrade to our paid Business tier. The paid plans use a build network and we keep the queue time less than five (5) minutes there. There is more information about other plans here.
Finally, what happens in the situation where many git push actions occur in a short time window while there is queuing in the build network? (And it’s a good question!)
Answer: each push will trigger a deploy with Netlify but only the first and last actually deploy.
Here is a more detailed explanation. Let’s imagine you run a
git push five times in a few minutes. Let’s also pretend build queue demand is high so all five deploys are queued.
So, what happens? Well, all five pushes will create deploys, and all will show as ‘building’ in the UI. But when the first deploy completes, the intermediate builds will all change to the status ‘skipped’ and then Netlify will build the last (most recent) deploy.
If you notice unusually long queuing times for builds (for example, deployments taking longer than 30 minutes), please let us know in the comments below.