Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can still use connection pool + platform threads. Or executor with virtual threads and semaphores or blocking queues. It’s mostly a concern for someone who implements a connection pool, for most devs it’s gonna be the same config option of max connection, that you need to pay attention to.

Any modern web app already has multiple instances of the app querying a db, so you have to keep a tally of total connection number either way.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: