US 12,020,077 B1
Autoscaling in a stateful system
Sumeet Rohatgi, Fremont, CA (US); Gaurav Chawla, San Jose, CA (US); Mehul Goyal, San Francisco, CA (US); Tyler Bakke, Saratoga, CA (US); Aditya Kamble, San Jose, CA (US); Hao Zhan, Cupertino, CA (US); Rahul Merulinath, Newark, CA (US); Ryan Flynn, San Francisco, CA (US); Matteo Merli, Menlo Park, CA (US); Boyang Peng, Mountain View, CA (US); Sanjeev Kulkarni, Los Altos, CA (US); Ivan Kelly, Barcelona (ES); and Karthikeyan Ramasamy, Sunnyvale, CA (US)
Assigned to Splunk Inc., San Francisco, CA (US)
Filed by SPLUNK INC., San Francisco, CA (US)
Filed on Apr. 30, 2021, as Appl. No. 17/246,459.
Int. Cl. G06F 9/46 (2006.01); G06F 9/50 (2006.01); G06F 11/14 (2006.01); G06F 11/20 (2006.01); G06F 11/34 (2006.01)
CPC G06F 9/505 (2013.01) [G06F 9/5022 (2013.01); G06F 9/5038 (2013.01); G06F 11/1492 (2013.01); G06F 11/203 (2013.01); G06F 11/3428 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
obtaining a set of metrics associated with a set of components of a stateful service, the set of metrics indicating a utilization or a load of each of the components of the set of components;
referencing a scaling period that indicates a time duration to lapse between scaling events, wherein the scaling period corresponds with a type of components of the set of components comprising message managers or data stores;
determining that the scaling period has lapsed since a previous scaling event at the stateful service;
determining to initiate a scaling event at the stateful service in association with the set of components of the stateful service based on at least a portion of the set of metrics attaining a metric threshold indicating a threshold value for determining whether to scale stateful service components; and
initiating scaling event at the stateful service in association with the set of components of the stateful service, wherein the scaling event adds or removes a message manager or a data store of the stateful service.