# US 11,119,883 B1 · Simulating event interdependencies in service meshes extended by event-driven applications

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

- Number: US 11,119,883 B1
- Document ID: US11119883B1
- Status: Granted
- Kind: B1
- Application number: 17/030,607
- Filed: 2020-09-24
- Granted: 2021-09-14
- Earliest claimed: 2020-09-24
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Peter Eberlein; Volker Driesen
- Web page: https://patentgrep.com/patent/US11119883B1

## CPC

- G06F 11/3457: {Performance evaluation by simulation}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/323: {Visualisation of programs or trace data}
- G06F 11/324: {Display of status information}
- G06F 11/3696: {Methods or tools to render software testable}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F 2201/86: Event-based monitoring
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and computer-readable storage media for generating a call graph representative of a service mesh including software systems and extension applications, the software systems including a first software system that is configured to publish a first event and a second software system configured to receive first API calls, the extension applications including a first extension application configured to consume the first event and, in response to the first event, transmit first API calls, determining a first cardinality representative of a ratio of first events to first API-calls, receiving monitoring data representative of frequencies of the first event occurring during production use of the first software system, simulating production use of the service mesh by generating a set of frequencies of first API calls based on the call graph, the monitoring data, and the first cardinality, and displaying simulation results including the set of frequencies of the first API calls.

## Claims

### Claim 1

A computer-implemented method for simulating cascading effects within service meshes, the computer-implemented method being executed by one or more processors and comprising:
generating, by a simulation platform of a development environment, a call graph at least partially representative of a service mesh comprising a set of software systems and a set of extension applications, wherein the set of software systems comprise a first software system that is configured to publish a first event and a second software system that is configured to receive a set of first application programming interface (API) calls, and wherein the set of extension applications comprise a first extension application that is configured to consume the first event and, in response to the first event, transmit the set of first API calls;
determining, by the simulation platform of the development environment, a first cardinality of the first software system and which is representative of a ratio of first events to first API calls in the set of first API calls;
receiving, by the simulation platform of the development environment, monitoring data representative of one or more frequencies of the first event occurring during production use of the first software system;
simulating, by the simulation platform of the development environment, production use of the service mesh at least partially by generating a set of frequencies of the first API calls based on the call graph, the monitoring data, and the first cardinality of the first software system; and
displaying simulation results at least partially comprising the set of frequencies of the first API calls.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising determining model information of the second software system, wherein the model information of the second software system comprises a second cardinality of the second software system and which is representative of a ratio of second events published by the second software system to the first API calls received by the second software system during production use of the second software system, and wherein simulating, by the simulation platform of the development environment, production use of the service mesh further comprises generating a set of frequencies of second events based on the call graph, the monitoring data, and the second cardinality of the second software system.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
monitoring, during production use, events published by and API calls received by one or more of the first software system and the second software system; and
generating the monitoring data based on the published events and the received API calls for use in simulations.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the published events are monitored by an event monitoring system comprising one or more of an event bus and an event monitoring module, and the received API calls are monitored by an API monitoring system comprising one or more of an API management module and an API monitoring module.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
simulating, by the simulation platform of the development environment and after modification of the first extension application, production use of the service mesh at least partially by generating an updated set of frequencies of the first API calls based on the call graph, the monitoring data, and the first cardinality of the first software system; and
displaying updated simulation results at least partially comprising the updated set of frequencies of the first API calls, wherein the updated set of frequencies of the first API calls represent fewer API calls than represented in the set of frequencies of the first API calls.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein at least one extension application of the service mesh transmits electronic messages, and wherein the simulation results represent a number of electronic messages.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein at least one extension application of the service mesh transmits cost-based API calls, and wherein the simulation results represent a number of cost-based API calls for determining a cost that would be incurred during production use of the service mesh.

### Claim 8

A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations for simulating cascading effects within service meshes, the operations comprising:
generating, by a simulation platform of a development environment, a call graph at least partially representative of a service mesh comprising a set of software systems and a set of extension applications, wherein the set of software systems comprise a first software system that is configured to publish a first event and a second software system that is configured to receive a set of first application programming interface (API) calls, and wherein the set of extension applications comprise a first extension application that is configured to consume the first event and, in response to the first event, transmit the set of first API calls;
determining, by the simulation platform of the development environment, a first cardinality of the first software system and which is representative of a ratio of first events to first API calls in the set of first API calls;
receiving, by the simulation platform of the development environment, monitoring data representative of one or more frequencies of the first event occurring during production use of the first software system;
simulating, by the simulation platform of the development environment, production use of the service mesh at least partially by generating a set of frequencies of the first API calls based on the call graph, the monitoring data, and the first cardinality of the first software system; and
displaying simulation results at least partially comprising the set of frequencies of the first API calls.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the operations further comprise determining model information of the second software system, wherein the model information of the second software system comprises a second cardinality of the second software system and which is representative of a ratio of second events published by the second software system to the first API calls received by the second software system during production use of the second software system, and wherein simulating, by the simulation platform of the development environment, production use of the service mesh further comprises generating a set of frequencies of second events based on the call graph, the monitoring data, and the second cardinality of the second software system.

### Claim 10 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the operations further comprise:
monitoring, during production use, events published by and API calls received by one or more of the first software system and the second software system; and
generating the monitoring data based on the published events and the received API calls for use in simulations.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein the published events are monitored by an event monitoring system comprising one or more of an event bus and an event monitoring module, and the received API calls are monitored by an API monitoring system comprising one or more of an API management module and an API monitoring module.

### Claim 12 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the operations further comprise:
simulating, by the simulation platform of the development environment and after modification of the first extension application, production use of the service mesh at least partially by generating an updated set of frequencies of the first API calls based on the call graph, the monitoring data, and the first cardinality of the first software system; and
displaying updated simulation results at least partially comprising the updated set of frequencies of the first API calls, wherein the updated set of frequencies of the first API calls represent fewer API calls than represented in the set of frequencies of the first API calls.

### Claim 13 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein at least one extension application of the service mesh transmits electronic messages, and wherein the simulation results represent a number of electronic messages.

### Claim 14 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein at least one extension application of the service mesh transmits cost-based API calls, and wherein the simulation results represent a number of cost-based API calls for determining a cost that would be incurred during production use of the service mesh.

### Claim 15

A system comprising:
a computing device comprising one or more processors; and
a non-transitory computer-readable storage medium coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations for simulating cascading effects within service meshes, the operations comprising:
generating, by a simulation platform of a development environment, a call graph at least partially representative of a service mesh comprising a set of software systems and a set of extension applications, wherein the set of software systems comprise a first software system that is configured to publish a first event and a second software system that is configured to receive a set of first application programming interface (API) calls, and wherein the set of extension applications comprise a first extension application that is configured to consume the first event and, in response to the first event, transmit the set of first API calls;
determining, by the simulation platform of the development environment, a first cardinality of the first software system and which is representative of a ratio of first events to first API calls in the set of first API calls;
receiving, by the simulation platform of the development environment, monitoring data representative of one or more frequencies of the first event occurring during production use of the first software system;
simulating, by the simulation platform of the development environment, production use of the service mesh at least partially by generating a set of frequencies of the first API calls based on the call graph, the monitoring data, and the first cardinality of the first software system; and
displaying simulation results at least partially comprising the set of frequencies of the first API calls.

### Claim 16 (depends on 15)

The system of claim 15, wherein the operations further comprise determining model information of the second software system, wherein the model information of the second software system comprises a second cardinality of the second software system and which is representative of a ratio of second events published by the second software system to the first API calls received by the second software system during production use of the second software system, and wherein simulating, by the simulation platform of the development environment, production use of the service mesh further comprises generating a set of frequencies of second events based on the call graph, the monitoring data, and the second cardinality of the second software system.

### Claim 17 (depends on 15)

The system of claim 15, wherein the operations further comprise:
monitoring, during production use, events published by and API calls received by one or more of the first software system and the second software system; and
generating the monitoring data based on the published events and the received API calls for use in simulations.

### Claim 18 (depends on 17)

The system of claim 17, wherein the published events are monitored by an event monitoring system comprising one or more of an event bus and an event monitoring module, and the received API calls are monitored by an API monitoring system comprising one or more of an API management module and an API monitoring module.

### Claim 19 (depends on 15)

The system of claim 15, wherein the operations further comprise:
simulating, by the simulation platform of the development environment and after modification of the first extension application, production use of the service mesh at least partially by generating an updated set of frequencies of the first API calls based on the call graph, the monitoring data, and the first cardinality of the first software system; and
displaying updated simulation results at least partially comprising the updated set of frequencies of the first API calls, wherein the updated set of frequencies of the first API calls represent fewer API calls than represented in the set of frequencies of the first API calls.

### Claim 20 (depends on 15)

The system of claim 15, wherein at least one extension application of the service mesh transmits electronic messages, and wherein the simulation results represent a number of electronic messages.
