Skip to content
RED SAGSkills
hard20 pts · first answer countsdatabasesperformancesystem-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?

Choose one answer