Methods, apparatus, and product for distributed garbage collection
First Claim
Patent Images
1. A method for managing resources comprising the steps of:
- receiving a request from a process referring to a resource and specifying a requested lease period;
permitting shared access to the resource for a granted lease period;
advising the process of the granted lease period; and
deallocating the resource when the granted lease period expires.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with the present invention a process is provided for allocating and deallocating resources in a distributed processing system having a requester platform and a server platform. The process involves receiving a request from the requestor platform referring to a system resource and specifying a requested lease period, permitting shared access to the system resource for a lease period, sending a return call to the requestor platform advising of the lease period, and deallocating the system resource when the lease period expires.
138 Citations
70 Claims
-
1. A method for managing resources comprising the steps of:
-
receiving a request from a process referring to a resource and specifying a requested lease period; permitting shared access to the resource for a granted lease period; advising the process of the granted lease period; and deallocating the resource when the granted lease period expires. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for managing resources comprising the steps of:
-
requesting from a process access to a resource for a lease period; receiving from the process a granted lease period during which shared access to the resource is permitted; and sending a request to the process for a new lease period upon a determination that the granted lease period is about to expire but access to the resource has not completed. - View Dependent Claims (10)
-
-
11. An apparatus comprising:
-
a receiving module configured to receive a request from a process referring to a resource and specifying a requested lease period; a resource allocator configured to permit shared access to the resource for a granted lease period; an advising module configured to advise the process of the granted lease period; and a resource deallocator configured to deallocate the resource when the granted lease period expires. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. An apparatus comprising:
-
a requesting module configured to request from a process access to a resource for a lease period; a receiving module configured to receive from the process a granted lease period during which shared access to the resource is permitted; and a second sending module configured to send another request to the process for a new lease period upon a determination that the granted lease period is about to expire but access to the resource has not completed. - View Dependent Claims (20)
-
-
21. A computer program product comprising:
a computer usable medium having computer readable code embodied therein for managing resources, the computer usable medium comprising; a receiving module configured to receive a request from a process referring to a resource and specifying a requested lease period; a resource allocator configured to permit shared access to the resource for a granted lease period; an advising module configured to advise of the granted lease period; and a resource deallocator configured to deallocate the resource when the granted lease period expires. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28)
-
29. A computer program product comprising:
a computer usable medium having computer readable code embodied therein for managing resources, the computer usable medium comprising; a requesting module configured to request from a process access to a resource for a lease period; a receiving module configured to receive from the process a granted lease period during which the process permits shared access to the resource; and a sending module configured to send another request to the process for a new lease period upon a determination that the granted lease period is about to expire. - View Dependent Claims (30)
-
31. A computer system comprising:
-
a computer processor; a memory which is operatively coupled to the computer processor; and a computer process which executes in the computer processor for the memory and which includes; a receiving module configured to receive a request from a process referring to a resource and specifying a requested lease period; a resource allocator configured to permit shared access to the resource for a granted lease period; an advising module configured to advise of the granted lease period; and a resource deallocator configured to deallocate the resource when the granted lease period expires. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38, 39)
-
-
40. A computer system comprising:
-
a computer processor; a memory which is operatively coupled to the computer processor; and a computer process which executes in the computer processor for the memory and which includes; a requesting module configured to request from a process access to a resource for a lease period; a receiving module configured to receive from the process a granted lease period during which the process permits shared access to the resource; and a sending module configured to send another request to the process for a new lease period upon a determination that the granted lease period is about to expire. - View Dependent Claims (41)
-
-
42. In a distributed processing system having a plurality of platforms, a method for allocating and deallocating resources distributed among the platforms comprising the steps, performed by server platforms, of:
-
(a) receiving requests from requestor platforms including references to system resources and requested lease periods, the requests indicating that the corresponding requestor platform seeks access to the referenced system resource for the requested period of time in the request; (b) allocating each of the referenced system resources by (i) setting a corresponding grant period in response to each of the requested lease periods, the grant period indicating an interval for which each of the referenced system resources associated with requests will be available for access by the platforms, and (ii) incrementing a corresponding reference counter, the reference counter indicating a number of the platforms accessing the corresponding system resource as determined by the receipt of requests; (c) sending responses to the requestor platforms, in response to associated requests, specifying the grant periods for the resources referenced in the associated requests; (d) initiating a garbage collection process to deallocate each of the referenced system resources when (i) the grant period for each referenced system resource expires, or (ii) the corresponding reference counter is a state indicating that no requestor platforms currently seek access to each of the referenced system resources.
-
-
43. A method for managing resources comprising the steps of:
-
receiving a request for a resource and specifying a requested lease period; permitting access to the resource for a granted lease period based on the requested lease period; and releasing the resource when the granted lease period expires. - View Dependent Claims (44, 45, 46, 47, 48, 49, 50, 51)
-
-
52. An apparatus for managing resources comprising:
-
a receiving component configured to receive a request for a resource and specifying a requested lease period; an accessing component configured to permit access to the resource for a granted lease period based on the requested lease period; and a releasing component configured to release the resource when the granted lease period expires. - View Dependent Claims (53, 54, 55, 56, 57, 58, 59, 60)
-
-
61. A computer program product comprising a computer usable medium having computer readable code embodied therein for managing resources, comprising:
-
a receiving module configured to receive a request for a resource and specifying a requested lease period; an accessing module configured to permit access to the resource for a granted lease period based on the requested lease period; and a releasing module configured to release the resource when the granted lease period expires. - View Dependent Claims (62, 63, 64, 65, 66, 67, 68, 69)
-
-
70. A computer system comprising:
-
a computer processor; a memory which is operatively coupled to the computer processor; and a computer process which executes in the computer processor for the memory and which includes; a receiving module configured to receive a request for a resource and specifying a requested lease period; an accessing module configured to permit access to the resource for a granted lease period based on the requested lease period; and a releasing module configured to release the resource when the granted lease period expires.
-
Specification