-
Database
Set up database connection pooling and timeouts
Configures a sane connection pool and query timeouts so traffic spikes can't exhaust your database connections.
Free Prompt
What This Does / How This Helps
Bounds how many database connections the app can open and how long it waits for one, which stops the classic outage where a traffic spike exhausts every connection the database has. Vibe-coded apps typically use whatever default the client library ships with, and the failure shows up only under load: pages hang, requests time out, and the database reports max connections reached. The fix is cheap and the failure is expensive. Serverless makes this worse because every warm instance opens its own connections, so 100 instances with a pool of 10 is 1000 connections against a database that allows 200. You get the sizing math with the fix.
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).