1:基本介紹
小蜜蜂連線池是一款高效能的JDBC連線池,下面是與主流連線池的效能測試對比圖
測試機器:CPU: I3-7100,記憶體: 8G,作業系統:Win7_64
效能測試包:
地址1: https://github.com/Chris2018998/BeeCP/blob/master/doc/other/HikariCP-benchmark_SafeClose.zip
地址2: https://gitee.com/mirrors/BeeCP/blob/master/doc/other/HikariCP-benchmark_SafeClose.zip
2:版本內容(BeeCP-2.5.3)
1:調整DataSource取連線寫鎖程式碼位置
2:最佳化PreparedStatement快取(採用LinkedHashMap作為LRU快取)
3:最佳化getConnection處程式碼,降低程式碼巢狀層數(效能少量提升.)
3:版本下載
<dependency> <groupId>com.github.chris2018998</groupId> <artifactId>BeeCP</artifactId> <version>2.5.3</version> </dependency>
Starter同步更新
<dependency>
<groupId>com.github.chris2018998</groupId>
<artifactId>spring-boot-starter-beecp</artifactId>
<version>1.3.5.RELEASE</version>
</dependency>
4:專案地址
專案在Github上的地址: https://github.com/Chris2018998/BeeCP
[admin
]