Published onJuly 5, 2026SKIP LOCKED vs FOR UPDATE vs Advisory Locks in Postgres QueuesDatabasesBackendPerformanceHow to compare SKIP LOCKED, plain FOR UPDATE, and advisory lock job claims in PostgreSQL with a runnable pgbench harness and a claim-strategy decision table.
Published onMay 14, 2026Database Connection Pool Exhaustion in ProductionDatabasesBackendReliabilityPerformanceHow database connection pool exhaustion happens under load, how to tell pool wait from slow SQL, and how to size pools across instances safely.
Published onMarch 1, 2026How to Find and Fix Slow SQL Queries in ProductionDatabasesSQLPerformanceBackendSoftware-EngineeringA production workflow for finding slow SQL queries, reading EXPLAIN plans, choosing fixes, and proving the endpoint improved.
Published onFebruary 12, 2026N+1 Query Problem in ORMsDatabasesPerformanceBackendSoftware-EngineeringHow to detect and fix the N+1 query problem in ORMs with query counts, SQL traces, eager loading, batched IN queries, and request-scoped loaders.
Published onFebruary 10, 2026Why Horizontal Scaling Didn’t Improve ThroughputDistributed-SystemsPerformanceArchitectureWhy adding more service instances can leave throughput flat when the bottleneck is a shared database, lock, connection pool, queue, or dependency.