US 12,141,140 B2
Selecting a host based on quality of stored data
Suresh Anamanamuri, San Jose, CA (US); and Mahesh Somani, San Jose, CA (US)
Assigned to eBay Inc., San Jose, CA (US)
Filed by eBay Inc., San Jose, CA (US)
Filed on Nov. 17, 2022, as Appl. No. 18/056,647.
Application 18/056,647 is a continuation of application No. 16/783,078, filed on Feb. 5, 2020, granted, now 11,544,258.
Prior Publication US 2023/0079026 A1, Mar. 16, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 16/22 (2019.01); G06F 11/30 (2006.01); G06F 11/34 (2006.01); G06F 16/2453 (2019.01)
CPC G06F 16/2453 (2019.01) [G06F 11/3006 (2013.01); G06F 11/3495 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
periodically retrieving, by a distributed database node, health metrics from mirror hosts, values of the health metrics summarizing database activity on a respective mirror host since previous values of the health metrics were retrieved;
receiving, by the distributed database node, a database query for an entry previously inserted during a specified time period; and
in response to receiving the database query:
generating, at the distributed database node, respective health scores for the mirror hosts based on the health metrics retrieved from respective mirror hosts for the specified time period, the respective health scores for the mirror hosts corresponding to the specified time period during which the entry of the database query was previously inserted;
selecting, by the distributed database node, one of the mirror hosts to perform the database query based on the respective health scores of the mirror hosts relative to a threshold health score; and
forwarding the database query from the distributed database node to the selected one of the mirror hosts.