Method and system for implementing a scalable, high-performance, fault-tolerant locking mechanism in a multi-process environment
AssigneeOracle International Corporation
InventorsAtul Singh, Maneesh Joshi, Ashwin Patel, Rakesh Saha
Life of this patent
Estimating the term…
Abstract
Described is an improved method, system, and computer program product for preventing concurrent access and processing of data by multiple threads. The inventive approach may be applied to prevent concurrent access in resequencers.
Claims43
A method for monitoring the health of a processing entity in a computing system, comprising:
- using at least one processor to perform a process, the process comprising:
- initializing the processing entity;
- locking a resource that is to be operated upon by the processing entity, wherein
- the processing entity is associated with a time point, and
- on periodic basis, the processing entity both refreshes the time point and monitors health status of oilier processing entities by checking time points associated with the other processing entities;
- determining whether the processing entity is unhealthy by identifying an overdue time point associated with the processing entity, wherein
- the overdue time point exceeds a designated time period for being updated by the processing entity, and
- determination of whether the processing entity is unhealthy is performed by the other processing entities rather than by a central processing entity tasked with centrally monitoring the health status of the processing entity;
- and
- performing one or more actions to release one or more locks on the resource held by the processing entity.
A computer program product that includes a non-transitory computer readable storage medium, the non-transitory computer readable storage medium comprising a plurality of computer instructions which, when executed by at least one processor, cause the at least one processor to execute a method for monitoring the health of a processing entity in a computing system, the method comprising:
- using al least one processor to perform a process, the process comprising:
- initializing the processing entity;
- locking a resource that is to be operated upon by the processing entity, wherein
- the processing entity is associated with a time point, and
- on periodic basis, the processing entity both refreshes the time point and monitors health status of other processing entities by checking time points associated with the other processing entities;
- determining whether the processing entity is unhealthy by identifying an overdue time point associated with the processing entity, wherein
- the overdue time point exceeds a designated time period for being updated by the processing entity, and
- determination of whether the processing entity is unhealthy is performed by the other processing entities rather than by a central processing entity tasked with centrally monitoring the health status of the processing entity;
- and
- performing one or more actions to release one or more locks on the resource held by the processing entity.
A system for monitoring the health of a processing entity in a computing system, comprising:
- at least one processor executing a sequence of computing instructions to:
- initialize the processing entity;
- lock a resource that is to be operated upon by the processing entity, wherein
- the processing entity is associated with a time point, and
- on periodic basis, the processing entity both refreshes the time point and monitors health status of other processing entities by checking time points associated with the other processing entities:
- determine whether the processing entity is unhealthy by identifying an overdue time point associated with the processing entity, wherein
- the overdue time point exceeds a designated time period for being updated by the processing entity, and
- determination of whether the processing entity is unhealthy is performed by the other processing entities rather than by a central processing entity tasked with centrally monitoring the health status of the processing entity;
- and
- perform one or more actions to release one or more locks on the resource held by the processing entity.
Dependencies are inferred from the claim text.