# US 2016/0366038 A1 · Managing networks and machines that deliver digital content

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0366038 A1
- Document ID: US20160366038A1
- Status: Published application
- Kind: A1
- Application number: 15/043,429
- Filed: 2016-02-12
- Published: 2016-12-15
- Earliest claimed: 2015-06-15
- Assignees: Netflix, Inc.
- Applicants: Netflix, Inc.
- Inventors: Sergey FEDOROV; Stefan PRASZALOWICZ
- Web page: https://patentgrep.com/patent/US20160366038A1

## CPC

- H04L 41/5025: by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade
- H04L 41/142: using statistical or mathematical methods
- H04L 43/0817: by checking functioning
- H04L 67/101: based on network conditions
- H04L 67/142: Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- H04L 41/509: {wherein the managed service relates to media content delivery, e.g. audio, video or TV}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one embodiment of the present invention, a content delivery network (CDN) monitoring system manages a CDN. The CDN monitoring system includes finite state machines (FSMs), and the current states of the FSMs reflect characteristics and/or behaviors associated with the CDN. In operation, the CDN monitoring system computes actions based on current states and/or metrics associated with the CDN. The actions may cause one or more of the FSMs execute state transitions. As part of a state transition, the current state of the FSM changes and an event is generated. The event triggers an event handler that may perform any type of management operations, such as generating performance reports and rerouting client requests. Notably, because each current state may be an aggregation of other current states, the CDN monitoring system may be configured to compute current states that accurately represent complex interactions between components within the CDN.

## Claims

### Claim 1

A computer-implemented method, comprising:
computing a first action based on a first state that is associated with a first finite state machine (FSM) and corresponds to a first metric associated with a content delivery network (CDN);
executing a first state transition between a second state and a third state based on the first action, wherein the second state and the third state are associated with a second FSM; and
in response to the first state transition, executing a first event handling operation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first FSM is associated with an operational status of a first server, and the second FSM is associated with an operational status of a first server cluster that includes the first server.

### Claim 3 (depends on 2)

The method of claim 2, wherein a third FSM is associated with an operational status of a second server that is included in the first server cluster, and further comprising:
aggregating the third state and a fourth state that is associated with the third FSM to generate a second action;
executing a second state transition between the third state and a fifth state that is associated with the second FSM based on the second action; and
in response to the second state transition, executing a second event handling operation.

### Claim 4 (depends on 2)

The method of claim 2, wherein the first state is associated with a degraded sever and computing the first action comprises:
determining that a number of degraded servers included in a first server cluster is greater than a predetermined threshold; and
in response, generating a first action that indicates the existence of a degraded server cluster.

### Claim 5 (depends on 1)

The method of claim 1 wherein the first metric comprises a disk performance measurement, a processor performance measurement, a network performance measurement, or a configuration parameter.

### Claim 6 (depends on 1)

The method of claim 1, further comprising receiving the first metric from a client machine, a network, a cache, or a server machine.

### Claim 7 (depends on 1)

The method of claim 1, wherein executing the first event handling operation comprises applying a set of rules that configure a control server associated with the CDN to adjust a distribution of client requests among different server clusters included in the CDN.

### Claim 8 (depends on 1)

The method of claim 1, further comprising performing one or more polling operations to obtain the first metric from a client machine, a network, a cache, or a server machine.

### Claim 9

A computer-readable storage medium including instructions that, when executed by a processor, cause the processor to perform the steps of:
computing a first action based on a first current state that is associated with a first finite state machine (FSM) and a second current state that is associated with a second FSM, wherein the first FSM is associated with a first operational status of a content delivery network (CDN) and the second FSM is associated with a second operational status of the CDN;
computing a next state based on the first action and a third current state that is associated with a third FSM;
determining that the next state does not equal the third current state; and
setting the third current state equal to the next state and executing a first event handling operation.

### Claim 10 (depends on 9)

The computer-readable storage medium of claim 9, wherein the first operational status corresponds to a first metric associated with a internet service provider (ISP) network.

### Claim 11 (depends on 9)

The computer-readable storage medium of claim 9, wherein the first operational status corresponds to a first metric associated with a first server, the second operational status corresponds to a second metric associated with a second server, and the third FSM is associated with a third operational status of a server cluster that includes the first server and the second server.

### Claim 12 (depends on 9)

The computer-readable storage medium of claim 9, wherein the first current state is associated with a degraded sever and computing the first action comprises:
determining that a number of degraded servers included in a first server cluster is greater than a predetermined threshold; and
in response, generating a first action that indicates the existence of a degraded server cluster.

### Claim 13 (depends on 9)

The computer-readable storage medium of claim 9 wherein the first operational status corresponds to a first metric that comprises a disk performance measurement, a processor performance measurement, a network performance measurement, or a configuration parameter.

### Claim 14 (depends on 13)

The computer-readable storage medium of claim 13, further comprising receiving the first metric from a client machine, a network, a cache, or a server machine.

### Claim 15 (depends on 9)

The computer-readable storage medium of claim 9, wherein executing the first event handling operation comprises transmitting data indicating the third current state to a monitoring machine for display.

### Claim 16 (depends on 9)

The computer-readable storage medium of claim 9, wherein executing the first event handling operation comprises adjusting a distribution of client requests among different server clusters included in the CDN.

### Claim 17

A system comprising:
a memory storing a monitoring engine; and
a processor that is coupled to the memory and, when executing the monitoring engine, is configured to:
monitor a first component associated with a content delivery network (CDN) via a first metric;
compute a first action based on the first metric;
execute a first state transition between a first state and a second state based on the first action, wherein the first state and the second state are associated with a first finite state machine (FSM);
compute a second action based on the second state and a third state that is associated with a second FSM;
execute a second state transition between a fourth state and a fifth state based on the second action, wherein the fourth state and the fifth state are associated with a third FSM; and
in response to the second state transition, execute a first event handling operation.

### Claim 18 (depends on 17)

The system of claim 17, wherein the first FSM is associated with an operational status of a first server, the second FSM is associated with an operational status of a second server, and the third FSM is associated with an operational status of a first server cluster that includes the first server and the second server.

### Claim 19 (depends on 17)

The system of claim 17, wherein the monitoring engine configures the processor to execute the first event handling operation by transmitting data indicating at least one of the second state and the fifth state to a monitoring machine for display.

### Claim 20 (depends on 17)

The system of claim 17, wherein the monitoring engine further configure the processor to perform one or more polling operations to obtain the first metric from a client machine, a network, a cache, or a server machine.
