Skip to content

Connection pool exhausted under sustained load causing request timeouts #2

Description

@Katomoto

When the service receives sustained traffic above ~500 req/s, the database connection pool exhausts and new requests start timing out after waiting for an available connection.

Steps to reproduce:

  1. Run load test at 600 req/s for 2+ minutes
  2. Observe connection wait times increasing in metrics
  3. Requests begin returning 503 after ~90s

Expected: pool should queue and serve requests within acceptable latency.
Actual: timeouts cascade and recovery requires a restart.

Possible fix: increase pool ceiling or add queue with backpressure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions