Tuning Postgres connection pooling with PgBouncer
A short write-up on transaction vs. session pooling, prepared-statement gotchas, and the settings that actually mattered when I moved a busy service behind PgBouncer.
A short write-up on transaction vs. session pooling, prepared-statement gotchas, and the settings that actually mattered when I moved a busy service behind PgBouncer.
Multi-stage builds, distroless base images, and why your node_modules is almost certainly the culprit.
cron works, but systemd timers give you logging, dependency ordering, and randomized delays for free. Here is the setup I now use everywhere.
How I finally learned to read the query plan one node at a time, and the three things I check first when a query is slow.