# Warming up the Puma master before it forks

DevFeed: [Warming up the Puma master before it forks](<https://devfeed.tech/articles/warming-up-the-puma-master-before-it-forks-63860.md>)

Original publisher: [Read original article](<https://dev.37signals.com/warming-up-the-puma-master-before-it-forks/>)

Author: Lewis Buckley

Published: 2026-10-01T17:00:00Z

Content type: article

Language: en

Sources: [37signals Dev](<https://devfeed.tech/sources/37signals-dev.md>)

Topics: [Back end](<https://devfeed.tech/topics/backend.md>), [Chaos Engineering](<https://devfeed.tech/topics/chaos-engineering.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [build](<https://devfeed.tech/tags/build.md>), [compaction](<https://devfeed.tech/tags/compaction.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [container](<https://devfeed.tech/tags/container.md>), [rails](<https://devfeed.tech/tags/rails.md>), [workers](<https://devfeed.tech/tags/workers.md>)

## AI overview

Basecamp 5 reduced post-deploy request queues by warming its Rails application in the Puma master process before it forks workers. The article describes how signed-in requests, Turbo frames and schema loading prime shared state, while cautioning that open connections must be handled safely across forks. Across 68 web hosts, the warm-up took 12 to 16 seconds per host; warmed hosts had lower peak request durations, and the containers used less memory.

## Source excerpt

How we cut Basecamp 5's post-deploy request queues by running signed-in requests through the Rails app in the Puma master, before it forks its workers.