SpinTheMic
Pro

Interview practice question

Connection storms from serverless functions

Backend Engineering · Relational Databases · Experienced

Your serverless functions connect directly to Postgres, and traffic spikes cause connection storms that crash the database. How do you fix it?

What a strong answer covers

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

  • Each function instance opens connections.
  • Use RDS Proxy/PgBouncer.
  • Limit function concurrency.
  • Reuse connections across invocations.
  • Consider HTTP-based DB access.
Practise this topic

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

See all topics