The FlexyPool library adds metrics and flexible strategies to a given Connection Pool, allowing it to resize on demand. This is very handy since most connection pools offer a limited set of dynamic configuration strategies.
- multiple environment options
- Stand-alone (Spring, Guice)
- Java EE
- extensive connection pool support
- Apache DBCP
- Apache DBCP2
- C3P0
- BoneCP
- HikariCP
- Tomcat CP
- Vibur DBCP
- Druid
- Bitronix Transaction Manager
- Atomikos TransactionsEssentials
- statistics support
- concurrent connections histogram
- concurrent connection requests histogram
- data source connection acquiring time histogram
- connection lease time histogram
- maximum pool size histogram
- total connection acquiring time histogram
- overflow pool size histogram
- retries attempts histogram
- The anatomy of Connection Pooling
- FlexyPool, reactive connection pooling
- Connection pool sizing with Flexy Pool
- The simple scalability equation
- How to monitor a Java EE DataSource
- How does FlexyPool support the Dropwizard Metrics package renaming
- How does FlexyPool support both Connection proxies and decorators
- Applying Queueing Theory to Dynamic Connection Pool Sizing with FlexyPool
- Java Performance Tuning - November 2016
- Brett Wooldridge Shows What it Takes to Write the Fastest Java Connection Pool
- FlexyPool 2 has been released
is the leading real estate portal in Finland.
New Etuovi.com has used FlexyPool in production since early 2014. The library has proven to be reliable and allows our infrastructure to handle temporary spikes much better. We use it everywhere in our stack, ranging from our frontends to the backend services.
-- Antti Koivisto, Software Architect, Etuovi.com
software company specializing in products and services for health care.
Mitch&Mates uses FlexyPool in all it's environments. It gives us the ability to measure performance and scalability, detect potential flaws and improve intensive loads. Additionally, we compared several connection pool libraries which decided us to switch to another provider.
-- Bram Mommaerts, Software Engineer, Mitch&Mates NV
is a website that allows its subscribers to try hundreds of designer fragrances at very affordable prices.
We have tried FlexyPool in Scentbird, after one week of intensive testing we decided switch it to FlexyPool + HikariCP in production mode, and everything works very robust and fast, we so happy about that! Thank you for this library.
-- Andrey Rebrov, CTO, Scentbird
- Java 1.8 or above for all modules but the flexy-pool-core-java9 which requires at least Java 1.9
- Dropwizard Metrics 4 or Micrometer
- SLF4J