~/Rimrachai's Dev Notes

Blogs

1 post across 1 page.

#0013 min read

Why a Smaller Connection Pool Makes Your Database Faster

More database connections doesn't mean more throughput. Here's the math behind why a pool of 10-20 connections often outperforms one with hundreds, and the formula to size yours correctly.

  • #database
  • #performance
  • #postgresql
  • #backend
  • #engineering