Aikesheng Open Source Community
Apr 19, 2021 · Databases
Understanding the Difference Between testWhileIdle and keepAlive in Druid for Dble Connections
This article explains how the testWhileIdle and keepAlive parameters of the Druid connection pool differ in their idle‑connection validation behavior, demonstrates the effects with a Java test program, and recommends using keepAlive for reliable Dble connectivity.
Connection PoolDatabaseDruid
0 likes · 7 min read