[jbosscache-dev] Announcing JBoss Cache 2.2.0 "Poblano"

Vladimir Blagojevic vladimir.blagojevic at redhat.com
Fri May 2 08:26:37 EDT 2008


Refactoring that you have done and the current architecture should be 
documented in a paper. Could be used in architecture documentation and 
as a starting point for potential contributors. Very cool stuff Manik 
and Mircea!

Why is it that async performance has been improved much more than sync?

Mircea Markus wrote:
> And benchmark results:
> http://wiki.jboss.org/auth/wiki/en/Jbc210vsJbc220Performance
>
> Manik Surtani wrote:
>> Exciting news!  2.2.0.BETA1 has been released.  This is a very 
>> interesting release for us, for a number of reasons:
>>
>> * Big architectural change for the internals, where each API method 
>> is implemented as a Command, which has the knowledge to perform and 
>> rollback.  Does away with the monolithic CacheImpl class.
>> * New interceptor structure means that implementations have strongly 
>> typed callbacks for each Command invoked.  No more casting to get 
>> parameters, or switch statements based on MethodCall id.
>> * Both of the above translate to a much more straightforward code 
>> base that is easier to read, modify and extend, but most importantly, 
>> unit test.
>> * Still 100% backward compatible.  And we have tests for this.  Both 
>> on a wire protocol level (Marshallers know how to map Commands to 
>> old-style MethodCalls and vice versa) as for custom interceptor 
>> implementations (the old Interceptor class still exists, with a 
>> compatible invoke() method, and although deprecated now, still 
>> behaves the same way it used to and plays nice with the new framework)
>> * No regressions when running with Hibernate trunk - need to verity 
>> with EJB3 and HTTP session repl.
>> * A few new features implemented (see JIRA [1]), such as JBCACHE-1258 
>> and JBCACHE-1320
>> * .... and, a nice surprise - some very tasty performance gains (in 
>> double digits)!  Mircea will follow up this email with benchmark 
>> numbers and pretty pictures, sitting around a profiler sure pays 
>> off.  :-)
>>
>> Download this and give it a try - this is a very big release for us, 
>> and as much feedback as early as possible would help.  Check it out 
>> from SVN [2], check out the javadocs [3], and download and try out 
>> the release in your applications!  It is not up on sourceforge yet, 
>> but it should go up shortly.  In the meanwhile, you can grab the 
>> release from our maven2 repository [4].
>>
>> Cheers
>> Manik
>>
>>
>>
>> [1] 
>> http://jira.jboss.org/jira/secure/ConfigureReport.jspa?versions=12311704&sections=1&sections=2&sections=3&style=html&selectedProjectId=10051&reportKey=pl.net.mamut%3Areleasenotes&Next=Next 
>>
>> [2] http://anonsvn.jboss.org/repos/jbosscache/core/tags/2.2.0.BETA1
>> [3] 
>> http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/2.2.0.BETA1/apidocs/index.html 
>>
>> [4] 
>> http://repository.jboss.org/maven2/org/jboss/cache/jbosscache-core/2.2.0.BETA1 
>>
>>
>> -- 
>> Manik Surtani
>> Lead, JBoss Cache
>> manik at jboss.org
>>
>> _______________________________________________
>> jbosscache-dev mailing list
>> jbosscache-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jbosscache-dev
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev




More information about the jbosscache-dev mailing list