BeeCP Update New Features and Performance

Introduction

BeeCP is a lightweight JDBC connection pool, with characteristics of high performance, lightweight code, and good stability.

This Update

1: Remove the configuration item: createTimeout.

2: Add a new configuration item: enableThreadLocal, with a default value of true, and setting it to false can support virtual threads.

3: Provide blocking scanning and automatic interruption processing in the connection pool (the previous version has already provided the method of interrupting blocking on the data source).

4: The data source monitoring interface provides blocking information display, and provides reset and interruption buttons (only appear when blocking timeout).

5: Adjust the class names of the two factory interface classes of the Connection: BeeConnectionFactory, BeeXaConnectionFactory (the related methods in the configuration object are adjusted synchronously).

6: Adjust the names of the three methods on the data source related to blocking to: getCreatingTime, isCreatingTimeout, interruptOnCreation.

This Fix

1: Fix the null pointer exception that occurs when the connection pool is closed.

2: Fix the Jmx registration failure exception when the connection pool is initialized.

Maven Coordinate

<dependency><groupId>com.github.chris2018998</groupId><artifactId>beecp</artifactId><version>4.0.5</version></dependency>
<dependency><groupId>com.github.chris2018998</groupId><artifactId>beecp-spring-boot-starter</artifactId><version>1.8.6</version></dependency>

Project Address

https://github.com/Chris2018998/beecp
https://github.com/Chris2018998/beecp-starter

https://gitee.com/Chris2018998/BeeCP
https://gitee.com/Chris2018998/BeeCP-Starter

Performance Test (Connection cycle)

PC: Win11, 32GB memory, I7-14650HX (24 cores)
POOL: Initial number: 24, maximum number: 24

BeeCP Update New Features and Performance_0

Likes