US 12,086,451 B1
Automated downscaling of data stores
Maurice Stanley Barnum, Los Gatos, CA (US); Prashant Kumar, Milpitas, CA (US); and Pradeep Baliganapalli Nagaraju, Sunnyvale, CA (US)
Assigned to Splunk Inc., San Francisco, CA (US)
Filed by SPLUNK INC., San Francisco, CA (US)
Filed on Apr. 29, 2022, as Appl. No. 17/661,464.
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/065 (2013.01) [G06F 3/0611 (2013.01); G06F 3/0626 (2013.01); G06F 3/0679 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
obtaining a set of metrics associated with a set of data stores of a stateful service, the set of metrics indicating a utilization of each of the data stores of the set of data stores;
based on the set of metrics indicating underutilization associated with at least a portion of the set of data stores, determining, via a controller, to initiate a downscaling of the set of data stores;
in accordance with determining to initiate the downscaling of the set of data stores, deploying a downscaler, via a scaling of a pod separate from the controller, to perform downscaling operations to downscale the set of data stores, the downscaler communicating with a first data store to replicate data of the first data store onto a second data store of the set of data stores of the stateful service;
identifying that the downscaler has completed the downscaling operations to downscale the set of data stores, wherein identifying that the downscaler has completed the downscaling operations comprises identifying a lack of obtaining downscaling metrics within a predetermined period of time; and
based on the completion of the downscaling operations, terminating the downscaler.