Dynamically adjusting the number of replicas of a file according to the probability that the file will be accessed within a distributed file system
First Claim
1. A system for dynamically managing a number of replicas of a file in a distributed file system, comprising:
- one or more processors;
a memory coupled to at least one of the processors;
a set of computer program instructions stored in the memory and executed by at least one of the processors in order to perform actions of;
in a distributed file system with a number of replicas of a file set to two or more replicas, setting a timer to track a time since a last access to the file, wherein the replicas of the file are distributed across two or more nodes within the distributed file system;
responsive to an access to the file prior to the timer reaching a first timer window threshold, resetting the timer; and
responsive to the timer matching a first timer window threshold, automatically reducing a number of replicas of the file within the distributed file system, wherein the probability that the file will be accessed prior to the first timer window threshold is greater than the probability that the file will be accessed after the first timer window threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
In a distributed file system with a number of replicas of a file set to two or more replicas, a computer sets a timer to track a time since a last access to the file, wherein the replicas of the file are distributed across two or more nodes within the distributed file system. Responsive to an access to the file prior to the timer reaching a first timer window threshold, the computer resets the timer. Responsive to the timer matching a first timer window threshold, the computer automatically reduces a number of replicas of the file within the distributed file system, wherein the probability that the file will be accessed prior to the first timer window threshold is greater than the probability that the file will be accessed after the first timer window threshold.
-
Citations
13 Claims
-
1. A system for dynamically managing a number of replicas of a file in a distributed file system, comprising:
-
one or more processors; a memory coupled to at least one of the processors; a set of computer program instructions stored in the memory and executed by at least one of the processors in order to perform actions of; in a distributed file system with a number of replicas of a file set to two or more replicas, setting a timer to track a time since a last access to the file, wherein the replicas of the file are distributed across two or more nodes within the distributed file system; responsive to an access to the file prior to the timer reaching a first timer window threshold, resetting the timer; and responsive to the timer matching a first timer window threshold, automatically reducing a number of replicas of the file within the distributed file system, wherein the probability that the file will be accessed prior to the first timer window threshold is greater than the probability that the file will be accessed after the first timer window threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for dynamically managing a number of replicas of a file in a distributed file system, the computer program product comprising a non-transitory computer readable storage medium having program code embodied therewith, the program code executable by a computer system to:
-
in a distributed file system with a number of replicas of a file set to two or more replicas, set, by the computer system, a timer to track a time since a last access to the file, wherein the replicas of the file are distributed across two or more nodes within the distributed file system; responsive to an access to the file prior to the timer reaching a first timer window threshold, reset, by the computer system, the timer; and responsive to the timer matching a first timer window threshold, automatically reduce, by the computer system, a number of replicas of the file within the distributed file system, wherein the probability that the file will be accessed prior to the first timer window threshold is greater than the probability that the file will be accessed after the first timer window threshold. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification