We use cookies to understand how people use Depot.
🚀 Introducing Ultra Runners — Up to 3x faster GitHub Actions jobs
← All Posts

Introducing Ultra Runners — Up to 3x faster GitHub Actions jobs

Written by
kyle
Kyle Galbraith
Published on
16 October 2024
Starting today, all Depot GitHub Actions runners are now Ultra Runners. We're excited to launch these new runners to make your GitHub Actions jobs up to 3x faster.
Introducing Ultra Runners — Up to 3x faster GitHub Actions jobs banner

Slow builds are annoying and take you out of the flow, and we're on a mission to make builds exponentially faster.

With Depot's remote container build service, you can build Docker images up to 40x faster, with fast, native CPUs, automatic caching, and easier debuggability.

And earlier this year, we launched our own Depot-managed GitHub Actions runner offering, with faster compute, 10x faster caching, with a wide variety of runner types including macOS runners, ARM runners, Intel runners, and even the ability to use GPUs in your GitHub Actions jobs. All at half the cost of GitHub's own runners, billed by the second.

Today, we're excited to announce the next evolution of Depot-managed GitHub Actions runners, Ultra Runners, that make your builds up to 3x faster.

Speeding up GitHub Actions runners

One of the hidden bits of complexity when running Depot GitHub Actions runners is the lack of control over the actual runner code. For example, everyone can create an image that runs a GitHub Actions runner. In fact, the image definitions are even open source.

But these are merely all the tools and dependencies that must be installed into the runner's VM. It's not the actual runner code; that is a black box that GitHub controls. We receive a webhook, start a runner as fast as possible, and then the runner starts & waits for the mothership of GitHub to pass it a job.

We optimize a lot of the hops in that chain, but it's really annoying to not control the code itself. We can't make the runner faster from within.

But our goal is to make builds exponentially faster, so how do we do that? We can't change the runner code, but we can change the runner's environment. So, we did just that.

Introducing Ultra Runners

Ultra runners are our next iteration on this problem of slow and expensive GitHub Actions jobs. The same runner code from before now runs in an even faster environment.

We've benchmarked our default ultra runner depot-ubuntu-latest against the default GitHub runner ubuntu-latest using upstream BuildKit as our repository.

Depot Ultra Runners are 3x faster than the default runner from GitHub
Comparing a default Depot Ultra Runner to a GitHub default runner

The results show that our default runner with our new Ultra Runner environment is up to 3x faster than the default GitHub runner.

So how did we do it? Memory. More specifically, Ultra Runners are a new type of runner that comes pre-configured with a RAM disk.

Generally speaking, RAM disks are orders of magnitude faster than anything else, such as SSDs, EBS volumes, etc. Because of how we provision VMs for GitHub Actions jobs, we can pre-configure the VM with all of the bits it needs to create a RAM disk and mount it to the runner when a job starts.

Reserving up to 25% of memory for a RAM disk allows any GitHub Actions job that touches disk to be several orders of magnitude faster. The use cases for an Ultra Runner are vast, from heavy LLM/AI workloads, basic npm install operations, or even just running a git clone.

How do I use Ultra Runners?

If you use any Depot GitHub Actions runner labels, you will take advantage of our new Ultra Runners. For example, if you use depot-ubuntu-latest, you're already using Ultra Runners.

Do Ultra Runners cost more?

Nope. Our pricing for GitHub Actions runners applies to Ultra Runners. We're excited to bring this new performance improvement to everyone at no additional cost. Check out our pricing page for more details on per-minute prices.

What's next?

This is a significant jump forward in making all of GitHub Actions faster. But our larger goal remains unchanged, make all builds exponentially faster. We have some upcoming announcements that are outside of our current build inputs that we can't wait to show you.

If you'd like to try out our faster GitHub Actions runners, you can sign up for a free trial and get started in a few minutes. Hop into our Community Discord and let us know what you think!

Your builds have never been this quick.
Start building