Moving write lock for replicated objects
First Claim
1. A computer storage device for storing a set of instructions for executing a method in a computer system, the method for updating a plurality of replicas of a common data object each in a separate memory partition of the computer system, the method when executed comprising the steps of:
- requesting a write lock from a first replica which currently holds the write lock;
moving the write lock to a second replica;
performing an update to the second replica;
propagating the update to the plurality of replicas; and
,refreshing a display of the system to reflect the update in at least one of the replicas.
0 Assignments
0 Petitions
Accused Products
Abstract
Efficient update and presentation of a plurality of replicated data objects is accomplished with a write lock which moves among the replicas of a data object. After any necessary preparation for updating a data object, a shadow replica requests a write lock from the replica which currently holds the write lock or from the replica designated as the master replica. The write lock is moved to requesting shadow replica which performs an update to itself. The update is then reflected at the local system display to provide visual feedback to the user. The update is propagated to the other replicas which present the change at their associated displays. In the preferred embodiment, the write lock is retained at the replica which last requested the write lock as it is the most likely to receive the next update. While the invention finds particular application in a distributed data processing environment, it can also be used in a single processor having multiple replicas in separate memory partitions.
-
Citations
11 Claims
-
1. A computer storage device for storing a set of instructions for executing a method in a computer system, the method for updating a plurality of replicas of a common data object each in a separate memory partition of the computer system, the method when executed comprising the steps of:
-
requesting a write lock from a first replica which currently holds the write lock; moving the write lock to a second replica;
performing an update to the second replica;propagating the update to the plurality of replicas; and
,refreshing a display of the system to reflect the update in at least one of the replicas. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer apparatus comprising:
a storage device for storing a program means for updating a plurality of replicas of a common data object distributed in a plurality of memory partitions, the program means comprising; means for requesting a write lock from a first replica which currently holds the write lock; means for moving the write lock to a second replica; means for performing an update to the second replica; means for propagating the update to the plurality of replicas; and
,means for refreshing a display of the system to reflect the update in at least one of the replicas. - View Dependent Claims (8, 9, 10, 11)
Specification