US 11,924,031 B2
Highly scalable container network interface operation to reduce startup overhead of functions
Douglas Smith, Bolton, VT (US); Huamin Chen, Westboro, MA (US); and Ricardo Noriega De Soto, Madrid (ES)
Assigned to Red Hat, Inc., Raleigh, NC (US)
Filed by Red Hat, Inc., Raleigh, NC (US)
Filed on Sep. 7, 2021, as Appl. No. 17/468,569.
Prior Publication US 2023/0070242 A1, Mar. 9, 2023
Int. Cl. G06F 16/23 (2019.01); H04L 41/00 (2022.01); H04L 41/0806 (2022.01)
CPC H04L 41/0809 (2013.01) [G06F 16/2379 (2019.01); H04L 41/20 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method comprising:
in response to receiving a request to initiate a function, determining whether the function is to be reused or replicated;
in response to determining that the function is to be reused, calling a container network interface (CNI) plugin comprising a set of operations for reusing and replicating network configurations, wherein the CNI plugin is called with a first operation of the set of operations to:
create a network configuration for the function; and
persist the network configuration in a database for reuse; and
in response to determining that the function is to be replicated, calling the CNI plugin with a second operation of the set of operations to:
create the network configuration for the function;
generate a template of the network configuration; and
store the template in the database, wherein the template comprises a predefined set of operations that are independent of a compute node on which the predefined set of operations are to execute, and wherein the predefined set of operations generate the network configuration in response to receiving as an input variable, the compute node on which the predefined set of operations are to execute.