SaaSHub helps you find the best software and product alternatives Learn more →
Top 6 Java connection-pool Projects
-
> are they using a connection pooler
We use Hikari [1] an in-process connection pooler. We didn't opt for pgbouncer at al, because we didn't want to add the extra infra yet.
> since what they did in code can be natively done with PgBouncer, PgCat, et al.
Can you point me to a reference I could look at, about doing a major version upgrade with PgBouncer et al? My understanding that we would still need to write a script to switch masters, similar to what we wrote.
> all the active connections
The active connections we were referring too were websocket connections, we haven't had problems with PG connections.
Right now the algorithm we use to find affected queries and notify websockets starts to falter when the number of active websocket connections get too high. We're working on improving it in the coming weeks. I'll update the essay to clarify.
> I did feel for them here:
Thank you! That part was definitely the most frustrating.
[1] https://github.com/brettwooldridge/HikariCP
-
Sevalla
Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
-
c3p0
a mature, highly concurrent JDBC Connection pooling library, with support for caching and reuse of PreparedStatements.
Putting the connection pool in the application (application-side connection pooler) can be very easy as many ORMs or database drivers support that out of the box. For instance, JDBC supports that with c3p0 and ODBC supports that out of the box. This brings many benefits. We don’t need to install and maintain any additional components as the pooler lives inside the application. We only need to deploy the new version of the application and we get the pooling ready. This also reduces the network latency, as we don’t have any additional network hops (everything lives inside our application).
-
FlexyPool
FlexyPool adds metrics and failover strategies to a given Connection Pool, allowing it to resize on demand.
Project mention: FlexyPool: A tool to resize connection pool on demand | news.ycombinator.com | 2024-10-23 -
spring-boot-data-source-decorator
Spring Boot integration with p6spy, datasource-proxy, flexy-pool and spring-cloud-sleuth
-
-
Java connection-pool discussion
Java connection-pool related posts
-
A Major Postgres Upgrade with Zero Downtime
-
O que é o hikari pool?
-
FlexyPool: A tool to resize connection pool on demand
-
Melhorando o desempenho de aplicações Spring Boot - Parte II
-
About Pool Sizing
-
HikariCP maximumPoolSize based on AWS ECS number of tasks
-
A Tale of Two Connection Pools
-
A note from our sponsor - SaaSHub
www.saashub.com | 1 Sep 2025
Index
What are some of the best open-source connection-pool projects in Java? This list will help you:
# | Project | Stars |
---|---|---|
1 | HikariCP | 20,674 |
2 | c3p0 | 1,309 |
3 | FlexyPool | 1,140 |
4 | spring-boot-data-source-decorator | 988 |
5 | agroal | 175 |
6 | Vibur DBCP | 119 |