Using a stub-JDBC implementation to isolate and measure the overhead of HikariCP, comparative benchmarks were performed on a commodity PC. The next fastest connection pool was BoneCP.
And how does it achieve such incredible performance? If you’re really technically minded, read here. Otherwise, just drop it in and let your code run like its pants are on fire.
<dependency> <groupId>com.zaxxer</groupId> <artifactId>HikariCP</artifactId> <version>1.3.8</version> <scope>compile</scope> </dependency>
Initialization and Configuration
See the main project page for initialization examples.
You can find information about the configuration properties here.
Google discussion group HikariCP here.
- Java 6 and above
- Javassist 3.18.1+ library
- slf4j library