US 11,853,317 B1
Creating replicas using queries to a time series database
Dumanshu Goyal, Seattle, WA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Mar. 18, 2019, as Appl. No. 16/357,224.
Int. Cl. G06F 16/27 (2019.01); G06F 16/2458 (2019.01)
CPC G06F 16/27 (2019.01) [G06F 16/2477 (2019.01)] 18 Claims
OG exemplary drawing
 
1. A system, comprising:
at least one processor; and
a memory, storing program instructions that when executed by the at least one processor cause the at least one processor to implement a control plane for a time series database;
the control plane, configured to:
detect an event to add a new hot tier node that stores a new copy of a portion of the time series database, wherein the new hot tier node is added to one or more hosts that perform queries to respectively stored copies of the portion of the time series database;
provision the new hot tier node to store the new copy of the portion of the time series database;
initiate idempotent ingestion of additionally received data to be included in the portion of the time series database at the new hot tier node after a creation time for the new copy;
instruct performance, by the new hot tier node, of one or more queries to at least one of the one or more hosts to obtain the portion of the time series database prior to the creation time, wherein the one or more hosts comprise one or more cold tier nodes;
instruct idempotent ingestion of results of the one or more queries at the new hot tier node to include the portion of the time series database in the new copy, wherein the idem potent ingestion comprises modifying the results from a cold tier format to a hot tier format for ingestion at the new hot tier node; and
responsive to detecting completion of the idem potent ingestion of the results of the one or more queries, make the new hot tier node selectable by a request router to perform queries to the time series database using the new copy of the portion of the time series at the new hot tier node in addition to the one or more or more hosts.