US 12,730,719 B2
Systems and methods for optimizing job execution in on-demand code execution system
Praveen Narayanasamy, Karnataka (IN); Rahul Narayanan, Tamil Nadu (IN); Dhinu Prashanth Radhakrishnan, Karnataka (IN); Sukanya Kumaraswamy, Tamil Nadu (IN); and Jamunadevi Vijayan, Tamil Nadu (IN)
Assigned to FMR LLC, Boston, MA (US)
Filed by FMR LLC, Boston, MA (US)
Filed on Jan. 30, 2025, as Appl. No. 19/041,605.
Prior Publication US 2026/0219992 A1, Jul. 30, 2026
Int. Cl. G06F 11/14 (2026.01)
CPC G06F 11/1402 (2013.01) [G06F 2201/865 (2013.01)] 24 Claims
OG exemplary drawing
 
1. A computing system for optimizing job execution on an on-demand code execution system, the system comprising memory for storing computer-executable instructions and a processor that executes the computer-executable instructions to:
receive instructions to execute a job having user code on the on-demand code execution system which comprises one or more compute instances that are ordered sequentially based on size;
generate, via two or more machine learning models, a runtime prediction set for the job, the runtime prediction set including a runtime prediction that is generated by each machine learning model of the two or more machine learning models, wherein each runtime prediction is a forecast of the runtime associated with executing the job;
assign a computer instance of the one or more compute instances to the job based on a runtime type of the job, wherein the runtime type of the job is determined based on the runtime prediction having the longest runtime; and
continuously attempt to execute the job on the compute instance, wherein the job is assigned a new compute instance that is larger in size than a current compute instance upon detection of an execution error when attempting to execute the job on the current compute instance.