---
title: "Counting to 3 with a new builder processing 50M+ monthly builds"
description: "Railway replaced its docker-buildx-on-GCP-VMs build system with Builder v3: 256-vCPU bare-metal hosts split into eight 32-vCPU microVM build cells running buildkitd, scheduled with a 1-of-3 ring to keep BuildKit caches warm, now peaking at 66,000 builds per hour."
url: "https://swe.quest/articles/counting-to-3-with-a-new-builder-processing-50m-monthly-builds-47ae6a690cb417f7"
canonical: "https://blog.railway.com/p/new-builder-scale-big"
source: "Railway"
published: "2026-05-14"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["ci-cd","virtualization","build-systems","scalability","linux"]
---

# Counting to 3 with a new builder processing 50M+ monthly builds

A post on [Railway](https://swe.quest/sources/railway.md), published 2026-05-14, 8 min read, Case study. Original: [https://blog.railway.com/p/new-builder-scale-big](https://blog.railway.com/p/new-builder-scale-big)

## Summary

Railway replaced its docker-buildx-on-GCP-VMs build system with Builder v3: 256-vCPU bare-metal hosts split into eight 32-vCPU microVM build cells running buildkitd, scheduled with a 1-of-3 ring to keep BuildKit caches warm, now peaking at 66,000 builds per hour. Collapsing a host/guest split (workflow → gRPC over vsock → guest handler) into one standalone builder process cut about 20 seconds from cached builds. Rollout problems included VM bridge networking failures that forced a rollback, unreliable DNS (fixed with embedded CoreDNS), clock drift breaking cert validation, and stuck builds from runc workers starving buildkitd, fixed with cgroup v2 slices. Reading layer metadata from OCI manifests instead of decompressing layers was about 15× faster and saved roughly 10 seconds per build.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Virtualization](https://swe.quest/tags/virtualization.md) (Infrastructure)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)
- [Scaling](https://swe.quest/tags/scalability.md) (Distributed systems)
- [Linux](https://swe.quest/tags/linux.md) (Infrastructure)

## Prerequisites

- Docker and BuildKit basics ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- Linux cgroups ([easy posts on Linux](https://swe.quest/tags/linux.md?difficulty=easy))
- OCI image format ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- virtual machines

## Keywords

BuildKit, Temporal, Railway Metal, cgroup v2, OCI, CoreDNS, vsock, GCP

## Related posts

- [The quest for the five minute deploy](https://swe.quest/articles/the-quest-for-the-five-minute-deploy-9b91763fbfd58020.md): incident.io · 2025-07-22 · Medium · 9 min read · CI/CD, Go, Build systems, Caching, Developer productivity
  incident.io cut CI/CD times by moving from a hosted provider, where a cold Go build cache made compiling 15,000+ tests across 350+ packages the bottleneck, to Buildkite running on three self-hosted 48-vCPU servers.
- [Deploying to production in \<5m with our hosted container builder](https://swe.quest/articles/deploying-to-production-in-5m-with-our-hosted-container-builder-ca80279668d29e71.md): incident.io · 2021-11-18 · Medium · 9 min read · CI/CD, Containers, Build systems, Developer productivity, Caching
  incident.io cut Docker image build times from an inconsistent 3–10+ minutes back to under 2 minutes by replacing CircleCI's remote Docker and Docker Layer Caching with a permanently running GCP c2-standard-8 builder with a 500GB SSD.
- [Powered by Docker: Streamlining Engineering Operations as a Platform Engineer](https://swe.quest/articles/powered-by-docker-streamlining-engineering-operations-as-a-platform-engineer-f63ffa3b322e1c4b.md): Docker · 2025-02-18 · Medium · 7 min read · CI/CD, Containers, Observability, Deployment, Infrastructure as code
  Replacing QEMU-emulated multi-architecture Docker Buildx builds with native arm64 and amd64 self-hosted GitHub Actions runners cut build times by roughly 90%, with the multi-arch manifest published after the native builds finish.
- [Experiment: The hidden costs of waiting on slow build times](https://swe.quest/articles/experiment-the-hidden-costs-of-waiting-on-slow-build-times-b2466cb9bd5d7eee.md): GitHub Engineering · 2022-12-08 · Easy · 8 min read · CI/CD, Developer productivity, Cost optimization, Build systems
  Building the Linux kernel on GitHub's larger hosted runners from 2 to 64 cores cut average build time from 310 minutes to 27 minutes, while compute cost per build rose only from $2.48 to $6.91.
- [How GitHub uses GitHub Actions and Actions larger runners to build and test GitHub.com](https://swe.quest/articles/how-github-uses-github-actions-and-actions-larger-runners-to-build-and-test-915368ba99ad3985.md): GitHub Engineering · 2023-09-26 · Medium · 8 min read · CI/CD, Developer productivity, Identity & auth, Scaling
  GitHub moved CI for GitHub.com to GitHub Actions on larger runners, peaking at about 4,500 concurrent 32-core runners, 15,000 jobs per hour and 150,000 cores.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
