Computer-readable recording medium storing data processing program, server apparatus, and data processing method
First Claim
1. A non-transitory computer-readable recording medium storing a data processing program that causes a computer of a group of computers, which are configured to communicate with each other, to execute:
- a setting procedure configured, when a new write processing request for an arbitrary object data is inputted as a processing request, to set a preset value as a first number indicating a number of replicas of the arbitrary object data;
an acquisition procedure configured, when a processing request for the arbitrary object data is inputted, to acquire the first number that has been set for the arbitrary object data;
a selection procedure configured to select one or more computers that serve as arrangement destinations of the arbitrary object data and are as many as the first number, from the group of computers by using a predetermined algorithm that is performed based on the first number;
a number transmission procedure configured to transmit the first number to all the group of computers; and
a processing request transmission procedure configured to transmit the processing request to each of the one or more computers that are selected by the selection procedure and as many as the first number.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-readable recording medium storing a data processing program that causes a computer of a group of mutually communicable computers to execute, an acquisition procedure configured, when a processing request for an arbitrary data is inputted, to acquire the number of replicas set in the arbitrary data, a selection procedure configured to select computers, which serve as arrangement destinations of the arbitrary data and are as many as the number of replicas, from the computers of the computer group by using a predetermined algorithm, a transmission procedure of the number of replicas, configured to transmit the number of replicas of the arbitrary data, which number is acquired by the acquisition procedure, to all the computers of the computer group, and a processing request transmission procedure configured to transmit the processing request to each the computers that are selected by the selection procedure and as many as the number of replicas.
-
Citations
19 Claims
-
1. A non-transitory computer-readable recording medium storing a data processing program that causes a computer of a group of computers, which are configured to communicate with each other, to execute:
-
a setting procedure configured, when a new write processing request for an arbitrary object data is inputted as a processing request, to set a preset value as a first number indicating a number of replicas of the arbitrary object data; an acquisition procedure configured, when a processing request for the arbitrary object data is inputted, to acquire the first number that has been set for the arbitrary object data; a selection procedure configured to select one or more computers that serve as arrangement destinations of the arbitrary object data and are as many as the first number, from the group of computers by using a predetermined algorithm that is performed based on the first number; a number transmission procedure configured to transmit the first number to all the group of computers; and a processing request transmission procedure configured to transmit the processing request to each of the one or more computers that are selected by the selection procedure and as many as the first number. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A server apparatus that is a computer and constitutes a server apparatus group configured to communicate with each other, the server apparatus comprising:
-
an acquisition unit configured, when a processing request for an arbitrary data is inputted, to acquire a number of replicas set in the arbitrary data; a selection unit configured to select server apparatuses, which serve as arrangement destinations of the arbitrary data and are as many as the number of replicas, from the server apparatuses of the server apparatus group by using a predetermined algorithm; a transmission unit of the number of replicas, configured to transmit the number of replicas of the arbitrary data, wherein the number is acquired by the acquisition unit, to all the server apparatuses of the server apparatus group; a processing request transmission unit configured to transmit the processing request to each of the server apparatuses that are selected by the selection unit and as many as the number of replicas; an execution unit configured, when the processing request transmitted from the server apparatus itself or another server apparatus is received, to execute processing corresponding to the processing request; and a determination unit configured to determine at each arbitrary time the number of replicas of the arbitrary data by referring to the processing request for the arbitrary data, which processing request is executed by the execution unit, wherein, when the number of replicas different from the currently set number of replicas is determined by the determination unit, the transmission unit of the number of replicas transmits the determined number of replicas to all the server apparatuses of the server apparatus group, wherein, when the determined number of replicas is transmitted by the transmission unit of the number of replicas, the selection unit newly selects the server apparatuses, in which the arbitrary data is arranged and which are as many as the determined number of replicas, from the server apparatuses of the server apparatus group according to a predetermined algorithm, wherein, when the server apparatus itself is selected by the selection unit as the server apparatus with the arbitrary data to be newly arranged therein, the execution unit performs the writing of the arbitrary data, and wherein, when the server apparatus itself is no longer selected by the selection unit as the server apparatus with the arbitrary data to be newly arranged therein, the execution unit erases the data.
-
-
17. A data processing method of a computer that constitutes a group of computers communicable with each other, wherein the data processing method is configured to execute:
-
an acquisition procedure configured, when a processing request for an arbitrary data is inputted, to acquire a number of replicas set in the arbitrary data; a selection procedure configured to select computers, which serve as arrangement destinations of the arbitrary data and are as many as the number of replicas, from the computers of the computer group by using a predetermined algorithm; a transmission procedure of the number of replicas, configured to transmit the number of replicas of the arbitrary data, wherein the number is acquired by the acquisition procedure, to all the computers of the computer group; a processing request transmission procedure configured to transmit the processing request to each of the computers which are selected by the selection procedure and as many as the number of replicas; an execution procedure configured, when the processing request transmitted from the computer itself or another computer is received, to execute processing corresponding to the processing request; and a determination procedure configured to determine at each arbitrary time the number of replicas of the arbitrary data by referring to the processing request for the arbitrary data, which processing request is executed by the execution procedure, wherein, when the number of replicas different from the currently set number of replicas is determined by the determination procedure, the transmission procedure of the number of replicas transmits the determined number of replicas to all the computers of the computer group, wherein, when the determined number of replicas is transmitted by the transmission procedure of the number of replicas, the selection procedure newly selects computers, in which the arbitrary data is to be arranged and which are as many as the determined number of replicas, from the computers of the computer group according to a predetermined algorithm, wherein, when the computer itself is selected by the selection procedure as the computer with the arbitrary data to be newly arranged therein, the execution procedure performs the writing of the arbitrary data, and wherein, when the computer itself is no longer selected by the selection procedure as the computer with the arbitrary data to be newly arranged therein, the execution procedure erases the data.
-
-
18. A server apparatus that is a computer and constitutes a server apparatus group configured to communicate with each other, the server apparatus comprising:
-
an acquisition unit configured, when a processing request for an arbitrary object data is inputted, to acquire a first number that indicates the number of replicas and is set in the arbitrary object data; a selection unit configured to select one or more server apparatuses that serve as arrangement destinations of the arbitrary object data and are as many as the first number, from the server apparatus group by using a predetermined algorithm that is performed based on the first number; a number transmission unit configured to transmit the acquired first number for the arbitrary object data to all the selected one or more server apparatuses of the server apparatus group; a processing request transmission unit configured to transmit the processing request to each of the one or more server apparatuses that are selected by the selection unit and as many as the first number; an execution unit configured, upon receiving the processing request that is inputted by the server apparatus or transmitted from another server apparatus, to execute processing corresponding to the processing request; and a determination unit configured to determine at each arbitrary time the first number for the arbitrary object data by referring to the processing request on which the processing was executed by the execution unit for the arbitrary object data, wherein, when a number different from the currently set number of replicas is determined as the first number by the determination unit, the number transmission transmits the determined first number to all the server apparatuses of the server apparatus group, wherein the selection unit, upon receiving the determined first number transmitted by the number transmission unit, newly selects the one or more server apparatuses, in which the arbitrary object data is arranged and which are as many as the determined first number, from the server apparatus group, according to the predetermined algorithm that is performed based on the first number, wherein, when the server apparatus is selected by the selection unit as the server apparatus in which the arbitrary object data is newly arranged, the execution unit performs writing of the arbitrary object data, and wherein, when the server apparatus is no longer selected by the selection unit as the server apparatus in which the arbitrary object data is newly arranged, the execution unit erases the arbitrary object data.
-
-
19. A data processing method of a computer that constitutes a group of computers that are configured to communicate with each other, the data processing method executing:
-
an acquisition procedure configured, when a processing request for an arbitrary object data is inputted, to acquire a first number that indicates the number of replicas and is set in the arbitrary object data; a selection procedure configured to select one or more computers that serve as arrangement destinations of the arbitrary object data and are as many as the first number, from the group of computers by using a predetermined algorithm that is performed based on the first number; a number transmission procedure, configured to transmit the first number of the arbitrary object data to all the one or more computers; a processing request transmission procedure configured to transmit the processing request to each of the one or more computers which are selected by the selection procedure and as many as the first number; an execution procedure configured, when the processing request transmitted from the computer or another computer is received, to execute processing corresponding to the processing request; and a determination procedure configured to determine at each arbitrary time the first number for the arbitrary object data by referring to the processing request on which the processing has been executed by the execution unit for the arbitrary object data, wherein, when a number different from the currently set number of replicas is determined as the first number by the determination procedure, the number transmission procedure transmits the determined first number to all the computers of the group of computers, wherein, upon receiving the determined first number transmitted by the number transmission procedure, the selection procedure newly selects the one or more computers, in which the arbitrary object data is arranged and which are as many as the determined first number, from the group of computers according to a predetermined algorithm that is performed based on the first number, wherein, when the computer is selected by the selection procedure as the computer in which the arbitrary object data is newly arranged, the execution procedure performs writing of the arbitrary object data, and wherein, when the computer is no longer selected by the selection procedure as the computer in which the arbitrary object data is newly arranged, the execution procedure erases the arbitrary object data.
-
Specification