clearpool

High performance distributed database pool

License

License

GroupId

GroupId

com.github.xionghuicoder
ArtifactId

ArtifactId

clearpool
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

clearpool
High performance distributed database pool
Project URL

Project URL

https://github.com/xionghuiCoder/clearpool
Source Code Management

Source Code Management

https://github.com/xionghuiCoder/clearpool.git

Download clearpool

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.xionghuicoder/clearpool/ -->
<dependency>
    <groupId>com.github.xionghuicoder</groupId>
    <artifactId>clearpool</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.xionghuicoder/clearpool/
implementation 'com.github.xionghuicoder:clearpool:1.0.0'
// https://jarcasting.com/artifacts/com.github.xionghuicoder/clearpool/
implementation ("com.github.xionghuicoder:clearpool:1.0.0")
'com.github.xionghuicoder:clearpool:jar:1.0.0'
<dependency org="com.github.xionghuicoder" name="clearpool" rev="1.0.0">
  <artifact name="clearpool" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.xionghuicoder', module='clearpool', version='1.0.0')
)
libraryDependencies += "com.github.xionghuicoder" % "clearpool" % "1.0.0"
[com.github.xionghuicoder/clearpool "1.0.0"]

Dependencies

provided (7)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.25
javax.transaction : jta jar 1.1
com.jslsolucoes : ojdbc6 jar 11.2.0.1.0
mysql : mysql-connector-java jar 5.1.45
com.h2database : h2 jar 1.4.196
postgresql : postgresql jar 9.1-901-1.jdbc4
net.sourceforge.jtds : jtds jar 1.3.1

test (7)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.7.25
com.alibaba : druid jar 1.1.6
commons-dbcp : commons-dbcp jar 1.4
com.jolbox : bonecp jar 0.8.0.RELEASE
com.mchange : c3p0 jar 0.9.5.2
org.apache.tomcat : tomcat-jdbc jar 9.0.2
junit : junit jar 4.12

system (1)

Group / Artifact Type Version
com.sun.jdmk : jmxtools jar 1.2.1

Project Modules

There are no modules declared in this project.

clearpool

clearpool是一个高性能的分布式数据库连接池。

功能

  1. 支持多数据源
  2. 支持分布式事务
  3. 支持JMX监控

clearpool,druid和tomcat-jdbc的性能比较

image

和其它数据库连接池的性能比较

CompareWithPopularPool.java

note

  1. JDK支持1.6或1.6+
  2. 在修改源码前,请导入googlestyle-java.xml以保证一致的代码格式

Versions

Version
1.0.0