advancedHikariCP & Connection Pool

What is the difference between connectionTimeout and socketTimeout in HikariCP?

Tests whether you know one bounds waiting for a pooled connection and the other bounds waiting for the database itself to respond.

This is a Pro question

Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.

What is the difference between connectionTimeout and socketTimeout in HikariCP?

Next Step

Continue to How does Spring Boot handle multiple environments (dev, QA, prod) using profiles?← Back to all Spring Boot & Microservices questions