hardStudy question · answer published in System Design interview questions, so no pointsdatabasesperformancesystem-design
Pool exhausted during payments
Checkout opens a transaction, inserts the order, calls the payment provider over HTTP (2 to 5 seconds), then commits. With a pool of 20 connections, checkout times out at peak. What is the best redesign?
Discussion 0
Join free to post in the discussion.
Related questions
- Slow email during signupBackend Developer
- What EXPLAIN tells youBackend Developer
- Asking for only a few fieldsBackend Developer
- Building a long string in a loopBackend Developer
- Building SQL from user inputBackend Developer
- What atomicity guaranteesBackend Developer
- WHERE column = NULL finds nothingBackend Developer
- COUNT(*) versus COUNT(column)Backend Developer