CPC G06F 16/273 (2019.01) | 18 Claims |
1. A selection device that selects a response condition of a database system in which data is duplicated and stored in a plurality of nodes, the selection device comprising:
a storage medium configured to store a write time and a read time of each of the plurality of nodes; and
a selection unit, including one or more processors, configured to:
select a first response condition for sending back a completion response in response to a data write request on a basis of the write time of each of the plurality of nodes such that a response time for the data write request to the database system becomes shorter than a requirement value of the write time requested to the database system and a number of nodes in which writing has been completed increases,
select a second response condition for sending back data in response to a data read request on a basis of the first response condition and the read time of each of the plurality of nodes such that a response time for the data read request to the database system becomes shorter than a requirement value of the read time requested to the database system,
instruct the database system to send back a completion response in response to a data write request according to the first response condition, and
instruct the database system to send back data in response to a data read request according to the second response condition.
|