The Code Is Fine, but Requests Queue Until They Time Out: Puma, Pools, CDN
Every request is fast alone, but concurrency collapses. The infrastructure layer: Puma workers x threads, aligning the connection pool (workers x pool <= max_connections), the GVL and IO, PgBouncer, and CDN.
