As per the Quarkus documentation :
In Quarkus, the preferred datasource and connection pooling implementation is Agroal.
But, I don't see any review or comparison of 'Agroal' with the well known JDBC Connection Pooling implementation 'HikariCP'.
What makes 'Agroal' better than 'HikariCP', except that BOTH Quarkus and Agroal are from RedHat?
Agroal is a modern, lightweight connection pool implementation designed for very high performance and scalability, and features first class integration with the other components in Quarkus, such as security, transaction management components, health, and metrics.
Agroal is a advanced datasource connection pool implementation with integration with transaction and security. It's the choice of the Qarkus platform, and it's also readily available in Spring Boot, WildFly, Hibernate …
Summary. "HikariCP is solid high-performance JDBC connection pool. A connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required. Connection pools may significantly reduce the overall resource usage." - You can find out more here.
With Agroal you can update configuration on runtime
Configuration property overridable at runtime
While Hikari doesn't support it
You can't dynamically update the property values by resetting them on the config object
Another reason is Quarkus integration
features first class integration with the other components in Quarkus, such as security, transaction management components, health metrics
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With