Clearpool is a High Performance Distributed Database Pool.It could manage the distributed database with high performance.Clearpool has a wondorful performance because it abandon the traditional database pool lock,and replaced by atomic operation.However,we should know that it used the Unsafe.java in the package of sun.misc.
The function of the pool:
- It can manage distributed database.
- It support jta.
- It can be monitor by JMX.
- It will release the connection and get new connection if the connection is invalid.
- It will collect the idle connection if necessary.
- It can encrypt the password of the database.
Here is the result of comparing with druid and tomcat-jdbc.
If you want to compare the performance with other popular database pools,please run the test case:https://github.com/xionghuiCoder/clearpool/blob/master/src/test/java/org/opensource/clearpool/CompareWithPopularPool.java.