Tag

DBCP

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Aug 8, 2024 · Databases

Understanding Database Connection Pools: Principles, Mechanisms, and Popular Implementations

This article explains the concept of database connection pools, why they are needed, their core principles and runtime mechanisms, compares traditional direct connections with pooled connections, and reviews major Java pool implementations such as DBCP, C3P0, Druid and HikariCP along with configuration tips and best‑practice considerations.

C3P0Connection PoolDBCP
0 likes · 27 min read
Understanding Database Connection Pools: Principles, Mechanisms, and Popular Implementations
High Availability Architecture
High Availability Architecture
Nov 29, 2021 · Databases

Analysis of DBCP Connection‑Pool Bug Causing Database Connection Saturation and Recommended Mitigations

The article investigates a DBCP 1.4 connection‑pool bug that allows the pool to exceed its configured limits, explains how removeAbandoned and socketTimeout interact to produce excess MySQL connections, reproduces the issue with a multithreaded test, and proposes configuration changes to avoid it.

AbandonedConnectionPoolDBCP
0 likes · 10 min read
Analysis of DBCP Connection‑Pool Bug Causing Database Connection Saturation and Recommended Mitigations