Problem Statement
Opening a new database connection for every request causes high latency and resource exhaustion. When many clients connect simultaneously, the database server can become overwhelmed, leading to slow responses and potential crashes.
This diagram shows the application server borrowing and returning connections from the connection pool, which manages open connections to the database server.