Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
FlexyPool adds metrics and failover strategies to a given Connection Pool, allowing it to resize on demand.

Flexy Pool Logo


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.

alt text


  • extensive connection pool support
  • 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


  1. Installation Guide
  2. User Guide

In the Press

  1. The anatomy of Connection Pooling
  2. FlexyPool, reactive connection pooling
  3. Professional connection pool sizing
  4. The simple scalability equation

Who uses FlexyPool

is the leading real estate portal in Finland.

New 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,


  • Java 1.6 and above for all modules but the flexy-dbcp2 which requires at least Java 1.7
  • SLF4J 1.7.6
Something went wrong with that request. Please try again.