v0.7.1 released!

Ask around here!

v0.7.1 released!

Postby wwadge » Tue Apr 05, 2011 12:58 pm

BoneCP v0.7.1 has been released to maven central repo.

This version contain plenty of new features but is mostly a maintenance release and is thus a recommended upgrade.
185 unit tests, 100% branch code coverage.

Maven artifact version: v0.7.1.RELEASE

Changes since 0.7.0:
=================

+ Several statistics enhancements
+ OSGi fixes
+ Allow datasource getConnection(username, password)
+ Recognize new postgresql SQLstate to trigger a pool restart
+ Added config option externalAuth to obtain connections without passing in username/password directly.
+ Allow customization hook of what is considered a broken connection
+ Allow max connections == 1
+ Add pool name to unclosed connection warning
+ Keep original exception for jdk6+ users
+ Publish to maven central
+ add defaultReadonly, defaultAutoCommit, defaultTransactionIsolation, etc
+ Add overloaded methods for BoneCPConfig to allow for specification of TimeUnit
+ Connection Tester Thread modifications to allow independant idleMaxAge/idleconnectionTestPeriod
+ Grab SQLExceptions only
+ Consider sqlState 08s01 as a db failure now

+ Use correct ExecutorService for connection max age
+ Use object equality instead of field equality. equals() has been renamed to hasSameConfiguration instead.
+ Remove thread-locals when storing statements
+ Don't fill batch SQL if connection hook is configured
+ Fix for false statementCache warning that statement isn't closed when releaseHelper + statementCache + closeConnectionWatch is configured.
+ Fix for potential race condition
+ Handle close properly in cache
+ Fix for cache.putIfAbsent
+ If we failed but still replaced connection, keep track of that
+ Be less strict on what to consider as a connection failure
+ Start tracking connection and incrementing creation count before the connection is given out
+ If driverProperties doesn't contain username/pass settings but config username does, keep them in sync
+ Allow connectionMaxAge thread to utilize lifo mode correctly
+ Stop monitoring this connection if it has been returned to the pool
+ Pass in lifo/fifo mode to connecitonMaxAge param
+ On connection destroy, remove from finalizable ref queue even if thread is still alive
+ If transaction replay blows up, throw the unwrapped exception
+ MemoritzeTransaction: InvocationTargetException fix
+ Guard logger statements
+ Use a nicer debug message clearer when a datasource ben is in use
+ Fix acquireRetryAttempts off-by-one error
+ Rename XXX -> xxxinSeconds/Minutes/etc
+ defaultTransactionIsolation: Read committed --> read_committed
+ Don't start connection testing thread right away
+ Make config retain connectionTimeout value set to 0 as 0 instead of Long.MAX
wwadge
Site Admin
 
Posts: 713
Joined: Mon Oct 19, 2009 7:50 pm

Re: v0.7.1 released!

Postby fennec » Fri Apr 15, 2011 1:29 pm

Hi,

I've been testing your connection pool as a replacement for DBCP & Tomcat JDBC pool, all my tests showed clear performance improvement over other connection pools for the same operations. Congratulation on your good work !!

As you're closing to v1, do you plan to provide "full" zip distribution with README and license files ?
Do you plan to support setting login timeout ?
Do you have a roadmap to v1 ?

Thx.
fennec
 
Posts: 11
Joined: Fri Apr 15, 2011 1:21 pm

Re: v0.7.1 released!

Postby wwadge » Fri Apr 15, 2011 5:41 pm

thanks: stay tuned for the next release, i plan to overhaul the main logic that should offer an even better performance improvement.
Re your questions: via github you should already be able to download a full zip release, licence files (apache) should be included already.
Re roadmap, still to add at some point: a built in web server for easier monitoring, and anything else that's proposed though my main focus is performance and stability rather than fancy features.
wwadge
Site Admin
 
Posts: 713
Joined: Mon Oct 19, 2009 7:50 pm


Return to BoneCP - Help, Q&A, Whatever!

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron