A few weeks ago I posted Peakd on Hacker News, and ~500 concurrent connections took the site down in under a minute. The failure: a single Express instance, no HTTP cache, no connection pooling, sequential database queries everywhere. PostgreSQL's connection pool maxed at 20, requests queued be...
Source: [Dev.to](https://dev.to/peakd/how-500-concurrent-hn-connections-took-down-peakd-and-how-i-rebuilt-the-infrastructure-4537)