Agroal
Agroal: An embedded Java pool with practical controls for connection lifecycle and monitoring. Ranked #23 of 29 in Database Connection Pooling Software by our editors (6.7/10); pricing: Free plan; best for JVM teams wanting configurable embedded pooling.
At a glance
- Editor score6.7 / 10
- PricingFree plan
- Best forJVM teams wanting configurable embedded pooling
- Free planYes
- Paid fromFree
- Transaction poolingNo
- Facts checked14 Nov 2026
Where it wins
- Configures minimum and maximum pool sizes and acquisition timeouts
- Includes validation, idle reaping, leak detection, and flush operations
- Exposes pool metrics and health checks, with Spring Boot and Narayana integration
Where it doesn't
- Embedded library, not a separately hosted pooling service
- Pooling is connection-based; transaction-based reassignment is not documented
- Documentation is the listed support channel
Our verdict on Agroal
Agroal is an open-source Java library that provides a pooled `javax.sql.DataSource` inside an application. It is aimed at JVM teams that want to configure database connection pooling as part of their own software rather than adopt a separately hosted service. Its controls cover minimum and maximum pool sizes, connection acquisition timeouts, validation, idle reaping, and connection lifetime. The project is self-hosted and has no separate hosted pooling layer in its stated deployment model.
The feature set extends beyond sizing: Agroal provides connection leak detection and reporting, pool metrics and statistics, health checks, and flush operations for removing or replenishing connections. It also supports transaction-system integration and offers integrations for Spring Boot and Narayana, including a Spring Boot starter. These capabilities make it relevant when a Java application needs pool visibility and lifecycle controls alongside its existing transaction setup. The documented pooling mode is connection pooling; transaction integration should not be mistaken for transaction-based connection reassignment.
Agroal is published as open source, with a free plan, and is not described as a separately priced hosted pooling service. That makes it a fit for teams comfortable embedding and operating a library within their application, from solo developers through enterprise teams. Documentation is the listed support channel, so buyers seeking a hosted service or a broader support offering should consider other options. Teams looking specifically for session-, transaction-, or statement-mode pooling should also look elsewhere; Agroal's documented focus is the pooled data source and its connection-level configuration.
Your product? Our editors can test Agroal in depth and publish a review, labelled as paid · from $149/mo →
Agroal pricing
Agroal fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Transaction pooling | No |
| Pooling modes | connection pooling; no session, transaction, or statement mode documented |
| Deployment model | Embedded |
| Supported databases | Not verified |
| Connection limit | Not verified |
| Protocol support | Not verified |
| Deployment | Self-hosted |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 2 integrations: Spring Boot, Narayana |
| Pricing | Free plan |
| Website | agroal.github.io |
| Facts checked | 14 Nov 2026 |
Agroal integrations
Agroal lists 2 integrations on its own site.
- Spring Boot
- Narayana
Alternatives to Agroal
- MariaDB MaxScaleSQL-aware pooling and routing for MariaDB and MySQL-compatible production environments.9.3
- OdysseyA focused, open-source pooler for PostgreSQL session and transaction workloads.9.1
- PgBouncerA self-hosted PostgreSQL pooler with flexible modes and connection controls, but no built-in failover.8.9
Used Agroal? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Agroal for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Agroal is listed in our Database Connection Pooling Software directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/agroal/"><img src="https://www.itechguides.com/best/badge/agroal.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update
