Comment by edoceo

7 years ago

For many apps I've worked the DB connection setup was always the slow part (use PgBouncer). Then, the part was the queries. DNS, gziped CSS/JS - chasing a red-herring.

Yeah definitely. A poorly crafted SQL query can wreak havoc on performance, especially at scale!