# US 2021/0286648 A1 · Scheduling and executing functions across different functions-as-a-service (faas) infrastructures

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

- Number: US 2021/0286648 A1
- Document ID: US20210286648A1
- Status: Published application
- Kind: A1
- Application number: 17/331,407
- Filed: 2021-05-26
- Published: 2021-09-16
- Earliest claimed: 2019-01-10
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Berndt Jung; Mark Peek; Xueyang Hu; Ivan Mikushin; Karol Stepniewski
- Web page: https://patentgrep.com/patent/US20210286648A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F 9/5005: {to service a request}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F 16/907: Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques for scheduling and executing functions across a plurality of different Functions-as-a-Service (FaaS) infrastructures are provided. In one set of embodiments, a computer system can determine that a function has been invoked, where the computer system implements a spanning FaaS service platform that is communicatively coupled with the plurality of different FaaS infrastructures. In response, the computer system can retrieve metadata associated with the function, where the metadata includes criteria or policies indicating how the function should be scheduled for execution, and can retrieve information associated with each of the plurality of different FaaS infrastructures, where the information includes capabilities or characteristics of each FaaS infrastructure. The computer system can then select a FaaS infrastructure in the plurality of different FaaS infrastructures based on the retrieved metadata and the retrieved information and can schedule the function for execution on the selected FaaS infrastructure.

## Claims

### Claim 1

A method comprising:
registering, by a computer system, a plurality of Functions-as-a-Service (FaaS) infrastructures with the computer system, each FaaS infrastructure in the plurality of FaaS infrastructures including a plurality of host systems and an image repository;
receiving, by the computer system, a function artifact including program code and metadata for a function, the metadata including information governing scheduling or execution of the function; and
creating, by the computer system using the function artifact, a runtime image of the function in said each FaaS infrastructure's image repository.

### Claim 2 (depends on 1)

The method of claim 1 further comprising:
maintaining, by the computer system for said each FaaS infrastructure, a FaaS driver defining one or more capabilities or characteristics of said each FaaS infrastructure.

### Claim 3 (depends on 2)

The method of claim 2 wherein the one or more capabilities or characteristics include a billing model of said each FaaS infrastructure.

### Claim 4 (depends on 2)

The method of claim 2 wherein the one or more capabilities or characteristics include geographic locations of the plurality of host systems of said each FaaS infrastructure.

### Claim 5 (depends on 2)

The method of claim 2 further comprising:
determining that the function has been invoked;
comparing the metadata for the function with the FaaS drivers of the plurality of FaaS infrastructures; and
based on the comparing, selecting a FaaS infrastructure from the plurality of FaaS infrastructures for executing the function.

### Claim 6 (depends on 5)

The method of claim 5 further comprising:
invoking an application programming interface (API) exposed by a service layer of the selected FaaS infrastructure for executing the function on a host system of the selected FaaS infrastructure.

### Claim 7 (depends on 1)

The method of claim 1 wherein the computer system is part of a FaaS management platform that is separate from the plurality of FaaS infrastructures.

### Claim 8

A non-transitory computer readable storage medium having stored thereon program code executable by a computer system, the program code embodying a method comprising:
registering a plurality of Functions-as-a-Service (FaaS) infrastructures with the computer system, each FaaS infrastructure in the plurality of FaaS infrastructures including a plurality of host systems and an image repository;
receiving a function artifact including program code and metadata for a function, the metadata including information governing scheduling or execution of the function; and
creating a runtime image of the function in said each FaaS infrastructure's image repository.

### Claim 9 (depends on 8)

The non-transitory computer readable storage medium of claim 8 wherein the method further comprises:
maintaining, for said each FaaS infrastructure, a FaaS driver defining one or more capabilities or characteristics of said each FaaS infrastructure.

### Claim 10 (depends on 9)

The non-transitory computer readable storage medium of claim 9 wherein the one or more capabilities or characteristics include a billing model of said each FaaS infrastructure.

### Claim 11 (depends on 9)

The non-transitory computer readable storage medium of claim 9 wherein the one or more capabilities or characteristics include geographic locations of the plurality of host systems of said each FaaS infrastructure.

### Claim 12 (depends on 9)

The non-transitory computer readable storage medium of claim 9 wherein the method further comprises:
determining that the function has been invoked;
comparing the metadata for the function with the FaaS drivers of the plurality of FaaS infrastructures; and
based on the comparing, selecting a FaaS infrastructure from the plurality of FaaS infrastructures for executing the function.

### Claim 13 (depends on 12)

The non-transitory computer readable storage medium of claim 12 wherein the method further comprises:
invoking an application programming interface (API) exposed by a service layer of the selected FaaS infrastructure for executing the function on a host system of the selected FaaS infrastructure.

### Claim 14 (depends on 8)

The non-transitory computer readable storage medium of claim 8 wherein the computer system is part of a FaaS management platform that is separate from the plurality of FaaS infrastructures.

### Claim 15

A computer system comprising:
a processor; and
a non-transitory computer readable medium having stored thereon program code that, when executed by the processor, causes the processor to:
register a plurality of Functions-as-a-Service (FaaS) infrastructures with the computer system, each FaaS infrastructure in the plurality of FaaS infrastructures including a plurality of host systems and an image repository;
receive a function artifact including program code and metadata for a function, the metadata including information governing scheduling or execution of the function; and
create a runtime image of the function in said each FaaS infrastructure's image repository.

### Claim 16 (depends on 15)

The computer system of claim 15 wherein the program code further causes the processor to:
maintain, for said each FaaS infrastructure, a FaaS driver defining one or more capabilities or characteristics of said each FaaS infrastructure.

### Claim 17 (depends on 16)

The computer system of claim 16 wherein the one or more capabilities or characteristics include a billing model of said each FaaS infrastructure.

### Claim 18 (depends on 16)

The computer system of claim 16 wherein the one or more capabilities or characteristics include geographic locations of the plurality of host systems of said each FaaS infrastructure.

### Claim 19 (depends on 16)

The computer system of claim 16 wherein the program code further causes the processor to:
determine that the function has been invoked;
compare the metadata for the function with the FaaS drivers of the plurality of FaaS infrastructures; and
based on the comparing, select a FaaS infrastructure from the plurality of FaaS infrastructures for executing the function.

### Claim 20 (depends on 19)

The computer system of claim 19 wherein the program code further causes the processor to:
invoke an application programming interface (API) exposed by a service layer of the selected FaaS infrastructure for executing the function on a host system of the selected FaaS infrastructure.

### Claim 21 (depends on 15)

The computer system of claim 15 wherein the computer system is part of a FaaS management platform that is separate from the plurality of FaaS infrastructures.
