title: "Fix Connection Pool Exhaustion: Kotlin Coroutines + HikariCP Under Load"
published: true
description: "Kotlin coroutines exhaust HikariCP pools because JDBC blocks threads coroutines can't reclaim. Here's the dispatcher sizing, R2DBC migration, and circuit-breaker setup that handles 10x spikes."
tags: kotlin, architecture, api, cloud
canonical_url: https://blog.mvp-factory.com/connection-pool-exhaustion-kotlin-coroutines-hikaricp






