You are completely correct since optimistic concurrency control is based on
timestamping and not locking. So, if you do not acquire locks, you can not
create
a dealock.
--Ahmad
-------------mogul.com---------------------------------
mogul.com > Ahmad Khalaila - senior software engineer
Dr. sc. Distributed Systems and Very Large Database Systems
drammensveien 134
N-0277 Oslo
Norway
Tel +47 - 24 11 43 00
Dir +47 - 24 11 44 03
Fax +47 - 24 11 43 99
[EMAIL PROTECTED]
-----Original Message-----
From: Victor Langelo [mailto:[EMAIL PROTECTED]]
Sent: 31. juli 2000 15:54
To: [EMAIL PROTECTED]
Subject: Re: EBs are slow (was Clustering)
I blame the server when it's vendor promises optimistic concurrency and
doesn't
really provide it. You may be having problems with my statement because you
do
not agree with the statement that deadlocks cannot occur with optimistic
concurrency control. I don't care what actual products do that claim
optimistic
concurrency, if they deadlock then the claims are false.
--Victor
"Lahooti, Hamid" wrote:
> >If your server vendor claims to support optimistic concurrency and
> >you end up with deadlocks, you need to find another product.
>
> How can you blame the server for an application's mishandling
> of its transaction logic? The best way to avoid deadlocks is to ensure
> orderly access to shared resources. It's in the application design.
>
> >Victor Langelo
>
> Regards,
> Hamid
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".