SpinTheMic
Pro

Interview practice question

Database refuses new connections

System Design · Scalability · Beginner

After scaling your app from 10 to 50 servers, the database starts refusing connections. What happened and how do you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Each server has its own pool.
  • Total connections exceed DB limit.
  • Reduce pool size per server.
  • Add a connection proxy (PgBouncer, RDS Proxy).
  • Monitor connection counts.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics