All Questions
Scaling Reads medium

Why does opening a new database connection for every single HTTP request kill performance at scale?

  1. A It uses too much bandwidth.
  2. B The TCP Handshake + Authentication handshake takes time (latency) and consumes CPU/RAM on the DB server.
  3. C Databases only allow 10 connections total.
  4. D It is not secure.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions