Systems and methods for recomputing services
AssigneeServiceNow, Inc.
InventorsTal Ben Ari, Tal Kapon, Yuval Rimar
Life of this patent
Estimating the term…
Abstract
Systems, methods, and media are presented that are used to recompute a service model to match data in a configuration management database. Recomputing includes detecting a change to a configuration item in a configuration management database and marking a recomputing environment indicating a recomputing environment to be recomputed based on the change. Using a recomputation job, a service environment database is queried and a response is received from the service environment indicating at least the recomputing environment. The recomputation job then recomputes the service environment to match a service model to the change in the configuration management database.
Claims20
A non-transitory, computer-readable, and tangible medium storing instructions configured to cause one or more processors to:
- determine a change for a configuration item in a configuration item database has occurred;
- verify that the change is valid;
- based on the verification of the change, the instructions are configured to cause the one or more processors to:
- invalidate a service model as being outmoded;
- obtain one or more layers associated with the configuration item;
- indicate that each environment for each of the obtained one or more layers is to be recomputed, wherein each environment corresponds to a service in the service model;
- use a dedicated recompute worker thread to look for environments indicated as to be recomputed;
- and
- use the dedicated recompute worker thread to compute changes to the service model for each indicated environment based at least in part on a threshold number of set worker threads configured to perform modeling computations.
A method, comprising:
- detecting a change to a configuration item in a configuration management database;
- marking a recomputing environment to indicate that the recomputing environment is to be recomputed based on the change;
- using a recomputation job:
- using a dedicated recompute worker thread to query a service environment database;
- receiving a response from the service environment database indicating the recomputing environment;
- and
- using the dedicated recompute worker thread to recompute the recomputing environment to match a service model to the change in the configuration management database.
A system, comprising:
- one or more processors;
- and
- memory storing instructions configured to cause the one or more processors to:
- based on a plurality of recomputation jobs, wherein each recomputation job of the plurality of recomputation jobs is configured to be used to:
- query an environment database to determine one or more environments to be recomputed for a service at least in part by using a dedicated recompute worker thread to look for environments indicated as to be recomputed;
- receive a response from the environment database indicating the one or more environments;
- and
- use the dedicated recompute worker thread to recompute an environment of the one or more environments to match data in a service model for the environment to data in a configuration management database.
Dependencies are inferred from the claim text.