Skip to content

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

License

Notifications You must be signed in to change notification settings

vladmihalcea/flexy-pool

Repository files navigation

Flexy Pool Logo

License Maven Central JavaDoc

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.

Flexy Pool architecture

Features

  • multiple environment options
  • Stand-alone (Spring, Guice)
  • Java EE
  • extensive connection pool support
  • Apache DBCP
  • Apache DBCP2
  • C3P0
  • HikariCP
  • Tomcat CP
  • Vibur DBCP
  • Druid
  • Atomikos TransactionsEssentials
  • statistics support
  • concurrent connections histogram
  • concurrent connection requests histogram
  • data source connection acquisition time histogram
  • connection lease time histogram
  • maximum pool size histogram
  • total connection acquisition time histogram
  • overgrow pool size histogram
  • retries attempts histogram

Are you struggling with application performance issues?

Hypersistence Optimizer

Imagine having a tool that can automatically detect if you are using JPA and Hibernate properly. No more performance issues, no more having to spend countless hours trying to figure out why your application is barely crawling.

Imagine discovering early during the development cycle that you are using suboptimal mappings and entity relationships or that you are missing performance-related settings.

More, with Hypersistence Optimizer, you can detect all such issues during testing and make sure you don't deploy to production a change that will affect data access layer performance.

Hypersistence Optimizer is the tool you've been long waiting for!

Training

If you are interested in on-site training, I can offer you my High-Performance Java Persistence training which can be adapted to one, two or three days of sessions. For more details, check out my website.

Consulting

If you want me to review your application and provide insight into how you can optimize it to run faster, then check out my consulting page.

High-Performance Java Persistence Video Courses

If you want the fastest way to learn how to speed up a Java database application, then you should definitely enroll in my High-Performance Java Persistence video courses.

High-Performance Java Persistence Book

Or, if you prefer reading books, you are going to love my High-Performance Java Persistence book as well.

High-Performance Java Persistence book High-Performance Java Persistence video course

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. Connection pool sizing with Flexy Pool
  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
  11. FlexyPool 2 has been released

Who uses FlexyPool

ToroDB Stampede is a replication and mapping technology allowing you to mirror a MongoDB database in a SQL database.

ToroDB Stampede exposes multiple metrics using JMX, some of them are custom metrics and other are metrics offered by third party products like Flexy-pool.

Etuovi 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

Scentbird 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 and 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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published