Re: MATREADU/MATWRITE statements timing out



Does anyone remember DejaVu?

I explained how to do this years ago - even posted example code.

Again... What's required is a LockManager running on a phantom port.
When your web application needs to do a READU (with a LOCKED clause
and all of the associated logical options inherent) then it calls a
generic subroutine instead. The generic subroutine sends a message to
the phantom process asking "Can I please have a lock on such and such
a record?". The response will either be "No sorry - so and so has it
locked already", "Certainly - here's the record and I've locked it for
you", or "The record didn't exist but I've reserved that Id with a
lock for you" (See READU...LOCKED...THEN...ELSE...). The phantom
process isn't going anywhere. The locks it holds on behalf of
transitory processes are real READU locks - locks that will be
respected by every other process on the system. The process dealing
with the web request is transitory - in that as soon as it's dealt
with the request it saves it's state and moves on to deal with
requests from other client/browser-instances. Later, if and when we
get another request from the client/browser that the LockManager is
holding the lock for, it's as if that process was persistent - in that
all of its record locks have been preserved.

I'm not going to waste any more time on this. It's been done. Kevin's
objection last time was that he objected to the idea of a process
timing-out. I have to get breakfast and into work. Bye.
.



Relevant Pages

  • [GIT] NFS client fixes for linux 2.6.17
    ... Use FL_ACCESS flag to test and/or wait for local locks before we try ... and only send the RPC request to the server if this was the ... int status = -ENOLCK; ... goto again; ...
    (Linux-Kernel)
  • Re: Free internet components for developers
    ... Second request ... JDS Computer Training Corp. ... You have created no locks, ... Even in CICS, many requests are not held across CICS calls unless you create your own locks. ...
    (comp.lang.php)
  • Re: MATREADU/MATWRITE statements timing out
    ... Afa Kevin's post "With a web browser, one does not really have a choice. ... just IS stateless", while web browsers may be stateless, does if matter when ... transitory processes are real READU locks - locks that will be ... with the web request is transitory - in that as soon as it's dealt ...
    (comp.databases.pick)
  • Re: Please opine: Subjunctive or hogwash
    ... "I will request that the locks are changed." ... is easier on the ears than ... we can avoid controversy and also sound better by saying ...
    (alt.usage.english)
  • Re: Please opine: Subjunctive or hogwash
    ... On 2007-11-21 12:55:41 +0100, Peter Moylan ... "I will request that the locks are changed." ... Chaps like Howard and me still use it, ...
    (alt.usage.english)