US 11,941,446 B1
Reducing extraneous messages in a distributed lock system
Gavin Greene, Cedar Park, TX (US)
Assigned to DELL PRODUCTS L.P., Round Rock, TX (US)
Filed by Dell Products L.P., Round Rock, TX (US)
Filed on Oct. 12, 2022, as Appl. No. 18/046,033.
Int. Cl. G06F 9/50 (2006.01); G06F 9/52 (2006.01)
CPC G06F 9/5016 (2013.01) [G06F 9/52 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
a processor; and
a memory that stores executable instructions that, when executed by the processor, facilitate performance of operations, the operations comprising:
obtaining, during an interval, lock request change data collected from respective lock requestors requesting respective resource locks;
queueing, during the interval, the lock request change data;
obtaining, during the interval, lock release change data collected from respective lock owners releasing respective owned resource locks;
queueing, during the interval, the lock release change data; and
processing, after the interval, the lock release change data prior to processing the lock request change data.
 
10. A method, comprising:
obtaining, by a system comprising a processor, a lock request message for a resource from a lock requestor during an interval;
obtaining, by the system during the interval and after the obtaining of the lock request, a lock release message for the resource that releases a lock on the resource;
processing, by the system, the lock release message to release the lock on the resource; and
invoking, by the system after the processing of the lock release message, a status update that sends a lock granted message to the lock requestor for the resource.
 
15. A non-transitory machine-readable medium, comprising executable instructions that, when executed by a processor, facilitate performance of operations, the operations comprising:
obtaining a first lock request for a first resource range of a resource from a lock requestor during an interval;
obtaining a second lock request for a second resource range of the resource from the lock requestor during the interval;
combining the first lock request and the second lock request with respect to adding a waiter to the resource; and
invoking a status update that sends a single lock granted message to the lock requestor for the first resource range and the second resource range.