US 12,260,255 B2
Intelligent process management in serverless workflow cloud environments
Jing Jing Wei, Beijing (CN); Yue Wang, Beijing (CN); Shu Jun Tang, Beijing (CN); Yang Kang, Beijing (CN); Yi Fan Wu, Beijing (CN); Qi Han Zheng, Beijing (CN); and Jia Lin Wang, Beijing (CN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Sep. 29, 2022, as Appl. No. 17/936,435.
Prior Publication US 2024/0111588 A1, Apr. 4, 2024
Int. Cl. G06F 3/00 (2006.01); G06F 9/50 (2006.01)
CPC G06F 9/5038 (2013.01) [G06F 9/5072 (2013.01); G06F 2209/5019 (2013.01); G06F 2209/505 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A computer-implemented method for intelligent process management, the computer-implemented method comprising:
determining, by a computer, a start time for an additional process to be run on a worker node within a duration of a sleep state of a task of a process already running on the worker node by adding a first defined buffer time to a determined start time of the sleep state of the task;
determining, by the computer, a backfill time for the additional process by subtracting a second defined buffer time from a determined end time of the sleep state of the task;
generating, by the computer, a scheduling plan for the additional process based on the start time and the backfill time corresponding to the additional process;
executing, by the computer, the scheduling plan to run the additional process on the worker node according to the start time and the backfill time corresponding to the additional process;
determining, by the computer, whether the additional process finished running on the worker node prior to the backfill time which is the determined end time of the sleep state of the task minus the second defined buffer time; and
responsive to the computer determining that the additional process has not finished running on the worker node prior to the backfill time, stopping, by the computer, the additional process on the worker node at the backfill time.