US 12,405,861 B2
Adaptive scaling of topics in a stateful event-driven platform
Vibhavari Mandal, Bangalore Karnataka (IN); Sanjaya Kumar Sahoo, Karnatak (IN); Tathagata Roy, Karnatak (IN); Asif Alam, Karnatak (IN); Brijesh Yadav, Karnatak (IN); and Siddhartha Sahoo, Karnatak (IN)
Assigned to Hewlett Packard Enterprise Development LP, Spring, TX (US)
Filed by Hewlett Packard Enterprise Development LP, Spring, TX (US)
Filed on May 6, 2024, as Appl. No. 18/655,422.
Prior Publication US 2024/0289232 A1, Aug. 29, 2024
Int. Cl. G06F 12/00 (2006.01); G06F 11/14 (2006.01)
CPC G06F 11/1461 (2013.01) [G06F 2201/86 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
suspending a stateful application associated with a topic and a stateful backup topic defined on an event-driven platform, wherein the topic corresponds to a stream of computer-detectable events associated with the stateful application operating in conjunction with the event-driven platform;
modifying configuration of the topic at the event-driven platform to allow a new set of partitions associated with the topic, wherein the modified configuration generates a new set of backup partitions for the stateful backup topic;
identifying a state generated based on event records from the stateful application in a previous backup partition of the stateful backup topic;
identifying a new backup partition allocated to the stateful application;
in response to the previous and new backup partitions being different, transferring the state from the previous backup partition to the new backup partition; and
resuming the stateful application for generating an updated state, which is maintained at the new backup partition, based on the state and subsequent event records associated with the stateful application.