Optimizing pipeline execution scheduling based on commit activity trends, priority information, and attributes
AssigneeInternational Business Machines Corporation
InventorsMatthew P. JARVIS, Aidyl M. KAREH, Vincent B. PHAN
Life of this patent
Estimating the term…
Abstract
A computer-implemented method includes receiving, by a computing device, an event notification; determining, by the computing device, whether to immediately execute a pipeline including a commit associated with the event notification based on historical trends of commits entering the pipeline at a similar time period as a current time; and immediately executing or delaying the execution of the pipeline, by the computing device, based on the determining whether to immediately execute the pipeline.
Claims20
A computer-implemented method comprising:
- receiving, by a computing device, an event notification;
- determining, by the computing device, whether to immediately execute a pipeline including a commit associated with the event notification based on historical trends of commits entering the pipeline at a similar time period as a current time;
- determining, by the computing device, a likelihood of batching the commit for execution with other commits based on a risk level of errors;
- determining, by the computing device, that the likelihood of batching is reduced in response to the risk level of errors being increased;
- and
- immediately executing the pipeline in response to receiving the event notification during a period of historically low commit activity,
- wherein the determining whether to immediately execute the pipeline is further based on the risk level of errors.
A computer program product for optimizing scheduling of pipeline execution, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computing device to cause the computing device to:
- receive an event notification;
- determine whether to immediately execute a pipeline including a commit associated with the event notification based on a risk level of errors;
- determining a likelihood of batching the commit for execution with other commits based on the risk level of errors;
- determining that the likelihood of batching is reduced in response to the risk level of errors being increased;
- and
- immediately executing the pipeline in response to receiving the event notification during a period of historically low commit activity.
A system comprising:
- a CPU, a computer readable memory and a computer readable storage medium associated with a computing device;
- program instructions to receive an event notification;
- program instructions to determine whether to immediately execute a pipeline including a commit associated with the event notification based on historical activity trends of commits entering the pipeline;
- program instructions to immediately execute or delay the execution of the pipeline based on the determining whether to immediately execute the pipeline;
- program instructions to determine a likelihood of batching the commit for execution with other commits;
- program instructions to determine that the likelihood of batching is reduced in response to a risk level of errors being increased;
- and
- program instructions to immediately execute the pipeline in response to receiving the event notification during a period of historically low commit activity,
- wherein the determining whether to immediately execute the pipeline is further based on the risk level of errors, and
- the program instructions are stored on the computer readable storage medium for execution by the CPU via the computer readable memory.
Dependencies are inferred from the claim text.