Posts about postgres

2 posts

  1. Zero-downtime schema migrations with expand and contract

    Old and new code run side by side during every deploy. Here is how to change a database schema in small, safe steps so neither version breaks.

    3 min read

  2. Database connection pooling: what it is and how to size it

    Why opening a database connection per request hurts, how a connection pool fixes it, and how to choose pool sizes that do not overload your database.

    3 min read