Some connection pool managers, but not all, have a feature to automatically test a connection by executing a simple query before the connection is provided to the application.
Enabling a feature like that will impact performance, but it can hide most communication failures from the application.
↧