db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: [OJB1.0.x] odmg improvement, locking-package move
Date Sat, 18 Sep 2004 09:52:24 GMT
Jakob Braeuchi wrote:

> hi armin,
> 
> check it in.
> dont't we have locking in OTM as well ?
>

yep, it's a modified port from odmg and it supports LockWaitStrategy in 
addition. But seemed easier to me to port the odmg stuff, think we can 
add this feature in new kernel locking too if needed.

regards,
Armin


> jakob
> 
> Armin Waibel schrieb:
> 
>> Hi Brian,
>>
>> Brian McCallister wrote:
>>
>>> How would you access the locking stuff outside of ODMG? Talk to the 
>>> lock manager directly?
>>>
>>
>> There will be a org.apache.ojb.broker.locking.LockManager interface 
>> expects Object arguments for 'key' and 'lockedObject' and on 
>> odmg-level the "old" LockManager interface (expect TransactionImpl and 
>> Object arguments) further on exists. In 
>> ...odmg.locking.LockManagerOdmgImpl a 
>> broker.locking.LockManagerXYZImpl instance will be wrapped and the 
>> ...odmg.locking.LockManagerFactory does internal create and configure 
>> the PB-locking stuff and return LockManagerOdmgImpl.
>> So on odmg-level nothing will be changed (except locking package and 
>> some other tweak ;-)).
>>
>> regards,
>> Armin
>>
>>
>>> -Brian
>>>
>>> On Sep 17, 2004, at 9:12 PM, Armin Waibel wrote:
>>>
>>>> Hi all,
>>>>
>>>> some month ago we talked about the odmg-locking package. The 
>>>> suggestion was to make the locking stuff independent from the odmg 
>>>> implementation and move it to the to the kernel. So in future all 
>>>> top-level api can use this stuff.
>>>> Locally I made these changes + other cleanup using 1.0.x branch. All 
>>>> tests pass and the odmg performance increase more than 30%!
>>>> (perf-test target for odmg: before 17sec, after 12,5sec)
>>>>
>>>> Should I check in these changes for 1.0.2 release?
>>>>
>>>> regards,
>>>> Armin
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message