Virtual threads and DB semaphores: controlling admission before the connection pool
When does a JDBC pool need an extra semaphore? Bound admission and execution, release permits after transaction cleanup, and verify timeout and cancellation behavior with PostgreSQL.
java / virtual-threads / jdbc↗