Description
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.
FlexyPool alternatives and similar libraries
Based on the "Database" category.
Alternatively, view FlexyPool alternatives based on common mentions on social networks and blogs.
-
HikariCP
光 HikariCP・A solid, high-performance, JDBC connection pool at last. -
Presto
The official home of the Presto distributed SQL query engine for big data -
MapDB
MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine. -
orientdb
OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries. -
Crate
CrateDB is a distributed and scalable SQL database for storing and analyzing massive amounts of data in near real-time, even with complex queries. It is PostgreSQL-compatible, and based on Lucene. -
ObjectBox embedded database
Java and Android Database - fast and lightweight without any ORM -
requery
requery - modern SQL based query & persistence for Java / Kotlin / Android -
Chronicle Map
Replicate your Key Value Store across your network, with consistency, persistance and performance. -
JDBI
jdbi is designed to provide convenient tabular data access in Java; including templated SQL, parameterized and strongly typed queries, and Streams integration -
sql2o
sql2o is a small library, which makes it easy to convert the result of your sql-statements into objects. No resultset hacking required. Kind of like an orm, but without the sql-generation capabilities. Supports named parameters. -
Xodus
Transactional schema-less embedded database used by JetBrains YouTrack and JetBrains Hub. -
JetBrains Xodus
Transactional schema-less embedded database used by JetBrains YouTrack and JetBrains Hub. -
Eventsourcing for Java
Event capture and querying framework for Java -
Vibur DBCP
Vibur DBCP - concurrent and dynamic JDBC connection pool -
Liquibase
Database-independent library for tracking, managing and applying database schema changes.
Updating dependencies is time-consuming.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of FlexyPool or a related project?
README
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.
Features
- multiple environment options
- Stand-alone (Spring, Guice)
- Java EE
- 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
Are you struggling with application performance issues?
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.
Documentation
In the Press
- 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
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
- 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
*Note that all licence references and agreements mentioned in the FlexyPool README section above
are relevant to that project's source code only.