~/Rimrachai's Dev Notes
whoami.sh

$ whoami

a developer who writes things down

$ cat about.md

Notes on backend systems, frontend rendering, and the small decisions that make software easier to change later. No fluff, mostly code.

Read the blogs

latest entries

#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