/flexy-pool

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

Primary LanguageJavaApache License 2.0Apache-2.0

Flexy Pool Logo

License Maven Central JavaDoc

Build Status Coverage Status

Introduction

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

Features

Documentation

  1. Installation Guide
  2. User Guide
  3. Developer 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
  5. How to monitor a Java EE DataSource
  6. How does FlexyPool support the Dropwizard Metrics package renaming
  7. How does FlexyPool support both Connection proxies and decorators
  8. Applying Queueing Theory to Dynamic Connection Pool Sizing with FlexyPool
  9. Java Performance Tuning - November 2016
  10. Brett Wooldridge Shows What it Takes to Write the Fastest Java Connection Pool

Win a copy of my book!

High-Performance Java Persistence

If you want a free copy of my book, High-Performance Java Persistence, you have to do the following:

  1. Give FlexyPool a try
  2. Use it in production to configure the connection pool size
  3. Write a testimonial of your FlexyPool usage

For the moment, there are three testimonials, so the next two will win a free copy of my book.

Who uses FlexyPool

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

Requirements

  • Java 1.6 or above for all modules but the flexy-dbcp2 which requires at least Java 1.7
  • SLF4J