# US 2022/0291973 A1 · Dynamic service mesh

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

- Number: US 2022/0291973 A1
- Document ID: US20220291973A1
- Status: Published application
- Kind: A1
- Application number: 17/199,690
- Filed: 2021-03-12
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Aman Wangde; Victor Fong; Malini Bhattacharjee; Xuebin He; Kenneth Durazzo
- Web page: https://patentgrep.com/patent/US20220291973A1

## CPC

- G06F 9/5055: {considering software capabilities, i.e. software resources associated or available to the machine}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One example method includes receiving, from a microservice, a service request that identifies a service needed by the microservice, and an API of an endpoint that provides the service, evaluating the service request to determine whether the service request conforms to a policy, when the service request has been determined to conform with the policy, evaluating the endpoint to determine if endpoint performance meets established guidelines, and when it is determined that the endpoint performance does not meet the established guidelines, identifying an alternative endpoint that meets the established guidelines and that provides the requested service. Next, the method includes transforming the API of the service identified in the service request to an alternative API of the service provided by the alternative endpoint, and sending the service request and the alternative API to the alternative endpoint.

## Claims

### Claim 1

A method, comprising:
receiving, from a microservice, a service request that identifies a service needed by the microservice, and an API of an endpoint that provides the service, and the service request is received by a service mesh proxy from a control plane of a CaaS, wherein the service mesh proxy resides in a data plane accessible by the control plane of the CaaS;
evaluating, by an evaluator of a policy engine, the service request to determine whether the service request conforms to a policy;
when the service request has been determined to conform with the policy, evaluating, by the evaluator, the endpoint to determine if endpoint performance by the endpoint meets established guidelines; and
when it is determined that the endpoint performance does not meet the established guidelines, identifying an alternative endpoint whose performance meets the established guidelines and that provides the requested service;
transforming, by a transformer of the service mesh proxy, the API of the service identified in the service request to an alternative API of the service provided by the alternative endpoint; and
sending the service request and the alternative API to the alternative endpoint.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein the endpoint and the alternative endpoint are different respective cloud service providers.

### Claim 3 (depends on 1)

The method as recited in claim 1, wherein the evaluating of the endpoint is determined based in part on metrics obtained by a telemetry process, and the metrics include information about one or more performance characteristics of one or more endpoints.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein evaluating the endpoint includes determining whether or not a latency associated with the endpoint falls within an acceptable range of latencies, and determining whether or not the requested service is available at the endpoint.

### Claim 5 (depends on 1)

The method as recited in claim 1, wherein the service mesh proxy is operable to communicate with a vault service that stores credentials for the microservice.

### Claim 6 (depends on 1)

The method as recited in claim 1, wherein generation of the service request is performed at the control plane of the CaaS.

### Claim 7 (depends on 1)

The method as recited in claim 1, further comprising collecting, by a telemetry collector, respective telemetry data from the endpoint and from the alternative endpoint, and the telemetry data is used in the evaluating of the endpoint, and the telemetry collector is operable to communicate with the service mesh proxy and with an optimization algorithm of the control plane of the CaaS.

### Claim 8 (depends on 1)

The method as recited in claim 1, further comprising offloading the transforming of the API from a server CPU to a smartNIC.

### Claim 9 (depends on 1)

The method as recited in claim 1, wherein an optimization algorithm of the control plane of the CaaS operates to ensure that the service identified in the service request is called by the microservice from only a single endpoint.

### Claim 10 (depends on 1)

The method as recited in claim 1, wherein after the service request is issued by the microservice, the following processes are performed automatically without any further action by the microservice: evaluating the service request; evaluating the endpoint; identifying the alternative endpoint; and, transforming the API.

### Claim 11

A non-transitory computer readable storage medium having stored therein instructions that are executable by one or more hardware processors to perform operations comprising:
receiving, from a microservice, a service request that identifies a service needed by the microservice, and an API of an endpoint that provides the service, and the service request is received by a service mesh proxy from a control plane of a CaaS, wherein the service mesh proxy resides in a data plane accessible by the control plane of the CaaS;
evaluating, by an evaluator of a policy engine, the service request to determine whether the service request conforms to a policy;
when the service request has been determined to conform with the policy, evaluating, by the evaluator, the endpoint to determine if endpoint performance by the endpoint meets established guidelines; and
when it is determined that the endpoint performance does not meet the established guidelines, identifying an alternative endpoint whose performance meets the established guidelines and that provides the requested service;
transforming, by a transformer of the service mesh proxy, the API of the service identified in the service request to an alternative API of the service provided by the alternative endpoint; and
sending the service request and the alternative API to the alternative endpoint

### Claim 12 (depends on 11)

The non-transitory computer readable storage medium as recited in claim 11, wherein the endpoint and the alternative endpoint are different respective cloud service providers.

### Claim 13 (depends on 11)

The non-transitory computer readable storage medium as recited in claim 11, wherein the evaluating of the endpoint is determined based in part on metrics obtained by a telemetry process, and the metrics include information about one or more performance characteristics of one or more endpoints.

### Claim 14 (depends on 11)

The non-transitory computer readable storage medium as recited in claim 11, wherein evaluating the endpoint includes determining whether or not a latency associated with the endpoint falls within an acceptable range of latencies, and determining whether or not the requested service is available at the endpoint.

### Claim 15 (depends on 11)

The non-transitory computer readable storage medium as recited in claim 11, wherein the service mesh proxy is operable to communicate with a vault service that stores credentials for the microservice.

### Claim 16 (depends on 11)

The non-transitory computer readable storage medium as recited in claim 11, wherein generation of the service request is performed at the control plane of the CaaS.

### Claim 17 (depends on 11)

The non-transitory computer readable storage medium as recited in claim 11, wherein the operations further comprise collecting, by a telemetry collector, respective telemetry data from the endpoint and from the alternative endpoint, and the telemetry data is used in the evaluating of the endpoint, and the telemetry collector is operable to communicate with the service mesh proxy and with an optimization algorithm of the control plane of the CaaS.

### Claim 18 (depends on 11)

The non-transitory computer readable storage medium as recited in claim 11, wherein the operations further comprise offloading the transforming of the API from a server CPU to a smartNIC.

### Claim 19 (depends on 11)

The non-transitory computer readable storage medium as recited in claim 11, wherein an optimization algorithm of the control plane of the CaaS operates to ensure that the service identified in the service request is called by the microservice from only a single endpoint.

### Claim 20 (depends on 11)

The non-transitory computer readable storage medium as recited in claim 11, wherein after the service request is issued by the microservice, the following processes are performed automatically without any further action by the microservice: evaluating the service request; evaluating the endpoint; identifying the alternative endpoint; and, transforming the API.
