All challenges
Code AnalysisBeginner 60s

Thundering herd on connection pool resize

Every request opens a fresh DB connection. What is the failure as load rises?
Starter code
def handle(req):
    conn = connect(db_url)   # new TCP + auth each time
    ...
    conn.close()

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle