# US 2020/0396311 A1 · Provisioning using pre-fetched data in serverless computing environments

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

- Number: US 2020/0396311 A1
- Document ID: US20200396311A1
- Status: Published application
- Kind: A1
- Application number: 17/008,520
- Filed: 2020-08-31
- Published: 2020-12-17
- Earliest claimed: 2017-11-30
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Komei Shimamura; Amit Kumar Saha; Debojyoti Dutta
- Web page: https://patentgrep.com/patent/US20200396311A1

## CPC

- H04L 67/5681: Pre-fetching or pre-delivering data based on network characteristics
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/5072: {Grid computing}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 9/5033: {considering data affinity}
- G06F 9/5044: {considering hardware capabilities}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- 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

A method for data provisioning a serverless computing cluster. A plurality of user defined functions (UDFs) are received for execution on worker nodes of the serverless computing cluster. For a first UDF, one or more data locations of UDF data needed to execute the first UDF are determined. At a master node of the serverless computing cluster, a plurality of worker node tickets are received, each ticket indicating a resource availability of a corresponding worker node. The one or more data locations and the plurality of worker node tickets are analyzed to determine eligible worker nodes capable of executing the first UDF. The master node transmits a pre-fetch command to one or more of the eligible worker nodes, causing the eligible worker nodes to become a provisioned worker node for the first UDF by storing a pre-fetched first UDF data before the first UDF is assigned for execution.

## Claims

### Claim 1

A method comprising:
determining a subset of worker nodes of a plurality of work nodes eligible to execute a user defined function (UDF);
generating and transmitting one or more instructions to the subset of worker nodes to pre-fetch data associated with the UDF, wherein the one or more instructions cause the subset of worker nodes to retrieve data associated with the UDF; and
assigning the UDF to the subset of worker nodes.

### Claim 2 (depends on 1)

The method of claim 1,
wherein,
the subset worker nodes are in an idle state,
the subset worker nodes each store the data; and
the assigning of the UDF includes selecting at least one of the subset worker nodes to execute the UDF.

### Claim 3 (depends on 1)

The method of claim 1, wherein the subset of worker nodes are selected based on at least one of a distance to a location of the data, an available capacity, or an estimated time to complete current tasks.

### Claim 4 (depends on 1)

The method of claim 1, wherein the assigning of the UDF includes additional worker nodes of the plurality of worker nodes that have not stored the data.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining whether the UDF is eligible for parallel execution;
in response to determining the USF is eligible for parallel execution, generating a plurality of instructions to the subset of worker nodes, each instruction of the plurality of instructions to pre-fetch a portion of the data associated with the UDF;
transmitting the plurality of instructions to the subset of work nodes, wherein each instruction of the plurality of instructions is not transmitted to more than one node of the subset of worker nodes; and
assigning the UDF to the subset of worker nodes.

### Claim 6 (depends on 1)

The method of claim 1, wherein the assigning the UDF to the subset of worker nodes is based on one or more parameters including completion time, degree of parallel computation desired, or power consumption.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more instructions includes at least a location of the data.

### Claim 8

A system comprising:
at least one processor; and
at least one memory storing instructions, which when executed by the at least one processor, causes the at least one processor to:
determine a subset of worker nodes of a plurality of work nodes eligible to execute a user defined function (UDF);
generate and transmit one or more instructions to the subset of worker nodes to pre-fetch data associated with the UDF, wherein the one or more instructions cause the subset of worker nodes to retrieve data associated with the UDF; and
assign the UDF to the subset of worker nodes.

### Claim 9 (depends on 8)

The system of claim 8,
wherein,
the subset worker nodes are in an idle state,
the subset worker nodes each store the data; and
the assignment the UDF includes a selection of at least one of the subset worker nodes to execute the UDF.

### Claim 10 (depends on 8)

The system of claim 8, wherein the subset of worker nodes are selected based on at least one of a distance to a location of the data, an available capacity, or an estimated time to complete current tasks.

### Claim 11 (depends on 8)

The system of claim 8, wherein the assignment of the UDF includes additional worker nodes of the plurality of worker nodes that have not stored the data.

### Claim 12 (depends on 8)

The system of claim 8, further comprising instructions, which when executed by the at least one processor causes the at least one processor to:
determine whether the UDF is eligible for parallel execution;
in response to determination that the USF is eligible for parallel execution, generate a plurality of instructions to the subset of worker nodes, each instruction of the plurality of instructions to pre-fetch a portion of the data associated with the UDF;
transmit the plurality of instructions to the subset of work nodes, wherein each instruction of the plurality of instructions is not transmitted to more than one node of the subset of worker nodes; and
assign the UDF the subset of worker nodes.

### Claim 13 (depends on 8)

The system of claim 8, wherein the assignment of the UDF to the subset of worker nodes is based on one or more parameters including completion time, degree of parallel computation desired, or power consumption.

### Claim 14 (depends on 8)

The system of claim 8, wherein the one or more instructions includes at least a location of the data.

### Claim 15

At least one non-transitory computer readable medium storing instructions, which when executed by the at least one processor, causes the at least one processor to:
determine a subset of worker nodes of a plurality of work nodes eligible to execute a user defined function (UDF);
generate and transmit one or more instructions to the subset of worker nodes to pre-fetch data associated with the UDF, wherein the one or more instructions cause the subset of worker nodes to retrieve data associated with the UDF; and
assign the UDF to the subset of worker nodes.

### Claim 16 (depends on 15)

The at least one non-transitory computer readable medium of claim 15,
wherein,
the subset worker nodes are in an idle state,
the subset worker nodes each store the data; and
the assignment of the UDF includes a selection of at least one of the subset worker nodes to execute the UDF.

### Claim 17 (depends on 15)

The at least one non-transitory computer readable medium of claim 15, wherein the subset of worker nodes are selected based on at least one of a distance to a location of the data, an available capacity, or an estimated time to complete current tasks.

### Claim 18 (depends on 15)

The at least one non-transitory computer readable medium of claim 15, wherein the assignment of the UDF includes additional worker nodes of the plurality of worker nodes that have not stored the data.

### Claim 19 (depends on 15)

The at least one non-transitory computer readable medium of claim 15, further comprising instructions, which when executed by the at least one processor causes the at least one processor to:
determine whether the UDF is eligible for parallel execution;
in response to determination that the USF is eligible for parallel execution, generate a plurality of instructions to the subset of worker nodes, each instruction of the plurality of instructions to pre-fetch a portion of the data associated with the UDF;
transmit the plurality of instructions to the subset of work nodes, wherein each instruction of the plurality of instructions is not transmitted to more than one node of the subset of worker nodes; and
assign the UDF to the subset of worker nodes.

### Claim 20 (depends on 15)

The at least one non-transitory computer readable medium of claim 15, wherein the assignment of the UDF to the subset of worker nodes is based on one or more parameters including completion time, degree of parallel computation desired, or power consumption.
