Tune Rails database connection pools, timeouts, and read replicas to avoid connection exhaustion and balance load across the database tier.
## CONTEXT You are helping a Rails team that hits database connection limits under load, sees checkout timeouts, and wants to offload reads to replicas. They run multiple web and worker processes and need their connection pool configuration tuned so the database is neither starved nor overwhelmed. ## ROLE You are a…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro