advancedHikariCP & Connection Pool

Why should you never hold a database connection open while making an external API call?

Tests whether you know a slow downstream call while holding a pooled connection can exhaust the whole pool for every other request.

This is a Pro question

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

Why should you never hold a database connection open while making an external API call?

Next Step

Continue to What is the difference between @Component, @Service, @Repository, and @Controller?← Back to all Spring Boot & Microservices questions