Loading…
Topic
HikariCP
1 post about HikariCP. Every summary links to the original.
- 1 post
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Configure HikariCP for Spring Boot on Red Hat OpenShift 4
Default HikariCP configurations often cause Spring Boot applications on Red Hat OpenShift 4 to stop serving traffic due to exhausted or hung database connections. The guide explains how to configure HikariCP through application.properties, programmatic Java configuration, or application.yaml files. Key settings include fixed pool sizes, connection timeouts, max-lifetime, validation-timeout, and leak-detection-threshold. Five common production scenarios are described, including a single connection-adder thread blocking on network interruptions and container CPU throttling starving Hikari management threads. Troubleshooting tools include leak detection, access logs, and Prometheus metrics queries such as hikaricp_connections_pending. The conclusion recommends matching pool sizes to database capacity, setting connection lifetimes shorter than network timeouts, and ensuring container CPU limits provide adequate quota.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.