# US 2022/0286362 A1 · Data Driven Chaos Engineering Based on Service Mesh and Organizational Chart

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

- Number: US 2022/0286362 A1
- Document ID: US20220286362A1
- Status: Published application
- Kind: A1
- Application number: 17/193,940
- Filed: 2021-03-05
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Dell Products L.P.
- Applicants: Dell Products, L.P.
- Inventors: Roi Gamliel; Avitan Gefen; Joseph LaSalle White
- Web page: https://patentgrep.com/patent/US20220286362A1

## CPC

- H04L 41/145: {involving simulating, designing, planning or modelling of a network}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An organizational graph and a microservice graph can be generated. For two neighboring microservices, a combined organizational distance can be determined based on a distance for respective workers of each microservice in the organizational graph. The combined organizational distance can be used to determine a priority for a connection between the two microservices, and chaos testing can be performed on that connection based on its priority.

## Claims

### Claim 1

A system, comprising:
a processor; and
a memory that stores executable instructions that, when executed by the processor, facilitate performance of operations, comprising:
generating an organizational graph, a node of the organizational graph representing a person of an organization that produces a group of microservices, and an edge of the organizational graph representing an organizational relationship between two people of the organization;
determining a microservice graph based on the group of microservices, a node of the microservice graph representing a microservice of the group of microservices, and an edge of the microservice graph representing a communication between two microservices of the group of microservices;
identifying, from the microservice graph, a first node that corresponds to a first microservice and a second node that corresponds to a second microservice, the first node and the second node being connected by a first edge;
identifying a first identifier associated with a first person who is authorized to manage the first microservice and a second identifier associated with a second person who is authorized to manage the second microservice;
determining, from the organizational graph, an organizational distance between a third node that corresponds to the first person and a fourth node that corresponds to the second person;
determining a priority for manifesting a failure condition in a connection between the first microservice and the second microservice based on the organizational distance between the third node that corresponds to the first person and the fourth node that corresponds to the second person;
selecting a selected edge of a group of edges of the microservice graph based on respective priorities of the group of edges that comprise the priority; and
causing a connection among the group of microservices that corresponds to the selected edge to manifest a failure condition.

### Claim 2 (depends on 1)

The system of claim 1, wherein the organizational distance between the third node and the fourth node comprises a shortest undirected path between the third node and the fourth node in the organizational graph.

### Claim 3 (depends on 1)

The system of claim 1, wherein the priority for the first edge is based on an aggregated priority of respective organizational distances corresponding to pairs of people, a pair comprising one person who is authorized to manage the first microservice and another person who is authorized to manage the second microservice.

### Claim 4 (depends on 1)

The system of claim 1, wherein the priority for the first edge is normalized relative to the respective priorities of the group of edges, and wherein the selecting of the selected edge is based on normalized priorities of the group of edges.

### Claim 5 (depends on 1)

The system of claim 1, wherein the determining of the microservice graph is performed by a component that is separate from the group of microservices, wherein the group of microservices sends information about data transfer between microservices of the group of microservices to the component, and wherein the component identifies the first node of the microservice graph as a source of the data transfer between the microservices, and identifies the second node of the microservice graph as a destination of the data transfer between the microservices.

### Claim 6 (depends on 1)

The system of claim 1, wherein the determining of the microservice graph comprises:
analyzing the first microservice of the group of microservices to determine what other microservices of the group of microservices to which the microservice is configured to send data.

### Claim 7 (depends on 1)

The system of claim 1, wherein the generating of the organizational graph comprises:
receiving, by querying a database, chart data representative of an organizational chart of people identifiers representative of people in the organization that create the group of microservices, the chart data indicating a manager to whom the person reports.

### Claim 8

A method, comprising:
determining, by a system comprising a processor, that a first microservice and a second microservice exchange communications;
identifying, by the system, a first identifier associated with a first person who is authorized to manage the first microservice and a second identifier associated with a second person who is authorized to manage the second microservice;
determining, by the system and from an organizational graph, an organizational distance between a first node that corresponds to the first person and a second node that corresponds to the second person, wherein a node of the organizational graph represents a person of an organization that produces a group of microservices that comprises the first microservice and the second microservice, and wherein an edge of the organizational graph represents an organizational relationship between two people of the organization;
determining, by the system, a weight for manifesting a failure condition in a first connection between the first microservice and the second microservice based on the organizational distance between the first node that corresponds to the first person and the second node that corresponds to the second person;
selecting, by the system, a selected connection of a group of connections for the group of microservices based on respective weights of the group of connections that comprise the weight; and
introducing, by the system, chaos to the selected connection.

### Claim 9 (depends on 8)

The method of claim 8, wherein the weight for the first connection is based on an combined weight of respective organizational distances of people who are authorized to manage the first microservice and people who are authorized to manage the second microservice.

### Claim 10 (depends on 9)

The method of claim 9, wherein the combined weight is an average weight.

### Claim 11 (depends on 9)

The method of claim 9, wherein the combined weight is a summed weight.

### Claim 12 (depends on 9)

The method of claim 9, wherein the combined weight is a median weight.

### Claim 13 (depends on 8)

The method of claim 8, further comprising:
determining, by the system, that a second connection of the group of connections has been assigned a weight of zero; and
increasing the weight of the second connection to a value above zero.

### Claim 14 (depends on 8)

The method of claim 8, wherein the introducing of the chaos to the selected connection comprises:
causing, by the system, a failure of the selected connection.

### Claim 15

A non-transitory computer-readable medium comprising instructions that, in response to execution, cause a system comprising a processor to perform operations, comprising:
determining that a first microservice and a second microservice of microservices are associated with a producer-consumer relationship;
identifying a first identifier associated with a first person who is authorized to manage the first microservice and a second identifier associated with a second person who is authorized to manage the second microservice;
determining, from an organizational graph that represent people of an organization that produces the microservices that comprises the first microservice and the second microservice, an organizational distance between a first node that corresponds to the first person and a second node that corresponds to the second person;
determining a weight for manifesting a failure condition in a first connection between the first microservice and the second microservice based on the organizational distance between the first node that corresponds to the first person and the second node that corresponds to the second person; and
introducing chaos to the first connection at a rate based on the weight.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
selecting the first connection for the chaos based on the first microservice having a largest weight of connections of the microservices.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
initiating a failure of the first connection; and
performing a chaos test on the microservices.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
in response to determining that less than a threshold amount of time has elapsed, selecting a second connection of connections of the microservices for inducing the chaos based on respective weights to the connections.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the weight of the first connection indicates a probability that the first connection will be selected among connections of the microservices for inducing the chaos.

### Claim 20 (depends on 1)

The system of claim 1, wherein the organizational distance between two nodes of the organizational graph comprises a shortest undirected path between the two nodes.
