# US 2021/0173625 A1 · Static asset containers

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

- Number: US 2021/0173625 A1
- Document ID: US20210173625A1
- Status: Published application
- Kind: A1
- Application number: 17/182,108
- Filed: 2021-02-22
- Published: 2021-06-10
- Earliest claimed: 2018-07-28
- Assignees: Box, Inc.
- Applicants: Box, Inc.
- Inventors: David John Burrowes; David Jordan
- Web page: https://patentgrep.com/patent/US20210173625A1

## CPC

- G06F 8/60: Software deployment
- 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/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 16/955: using information identifiers, e.g. uniform resource locators [URL]
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Systems for managing static assets of web applications. A method embodiment includes identifying a web application that comprises a code base and a set of static assets, then separating the code base of the web application from the set of static assets that are referenced by the web application. The code base is deployed as application services whereas the static assets are deployed as static asset containers. Specifically, the set of static assets referenced by the application services are deployed in containers that are instantiated separately from where the application services are instantiated. Requests to access the application services and requests to access the static assets are tracked by taking performance measurements of the systems that process the accesses. Dynamic scaling of static asset containers is done independently from dynamic scaling of the application services. The dynamic scaling is based on combinations of measured usage and/or any system performance characteristics.

## Claims

### Claim 1

A method for deploying a code base and a set of static assets for a web application, comprising:
provisioning a number of application service instances of a code base for a web application of a cloud-based environment;
provisioning a different number of static asset service instances of a static asset container for the web application; and
dynamically servicing a request to access the web application at least by provisioning an application service instance of the number of application service instances in response to the request and further at least by provisioning a static service instance of the different number of static asset service instances in response to an asset call from the application service instance to the static asset instance.

### Claim 2 (depends on 1)

The method of claim 1, further comprising deploying the code base and the static asset container, wherein the number of application service instances comprises a first number of replicas of a code base service instance for the code base, the different number of static asset service instances comprises a second number of replicas for the static asset container, the code base for the web application is not stored in a container and is deployed as the first number of replicas, each of which is exposed as the code base service instance.

### Claim 3 (depends on 2)

The method of claim 2, deploying the code base and the static asset container comprising:
deploying the first number of replicas of the code base service instance for the code base;
dynamically scaling deployment of the second number of replicas of a static asset container service instance that is exposed as a static asset service, wherein the different number of static asset service instances of the static asset container is different from the first number of application service instances for the code base.

### Claim 4 (depends on 1)

The method of claim 1, further comprising associating a second static asset service instance of the different number of static asset service instances of the static asset container with a first application service instance of the number of application service instances of the code base by a portion of a URL (uniform resource locator) for a request from a client to access the web application, wherein the asset call comprises a direct call from the client or an indirect call from the first application service instance of the code base and is issued in response to the request from the client to access the web application.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving a request from a client to access the web application; and
servicing the request at least by:
provisioning the client with an application service instance of the number of application service instances to access the code base for the web application; and
provisioning an asset call from the application service instance to a static asset service instance of the different number of static asset service instances for the static asset container to access digital contents for the web application, wherein
the different number of static asset service instances is dynamically scaled based at least in part upon a usage or performance measurement pertaining to the web application and at least the asset call between the application service instance and the static asset service instance.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining the different number of static asset service instances based at least in part on one or more performance measurements that correspond to at least one of performance of one or more static asset service instances of the static asset container; and
deploying the different number of static asset service instances of the static asset container, wherein
at least one of the one or more performance measurements corresponds to at least one of a network traffic metric, a resource metric, a pod metric, an object metric, a replica range metric, a processor utilization metric, an external request per unit time metric, or an external metric.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
scaling deployment of the number of application service instances of the code base separately from dynamically scaling a deployment of the different number of static asset service instances of the static asset container;
eliminating an unutilized static asset service instance from the different number of static asset service instances of the static asset container, wherein the unutilized static asset service instance is unutilized by the number of application service instances for the code base so that only static asset service instances of the static asset container used by at least some of the number of application service instances of the code base are deployed for the web application;
eliminating usage of storage resource at least by dynamically scaling the deployment of the different number of static asset service instance of the static asset container to have a fewer number of service instances for the static asset container than the number of application service instances of the code base, wherein the first of application service instances for the code base is larger than the different number of static asset service instance of the static asset container;
scaling the number of application service instances of the code base at least by adding or removing one or more first application service instances of the code base of the code base; and
scaling the different number of static asset service instances of the static asset container at least by adding or removing one or more second static asset service instances of the static asset container, wherein scaling the number of application service instances of the code base is performed independently of scaling the different number of static asset service instances of the static asset container to result in the number of application service instances for the code base being different from the different number of static asset service instances for the static asset container.

### Claim 8

A non-transitory computer readable medium having stored thereon a sequence of instructions which, when stored in memory and executed by a processor, causes the processor to perform a set of acts for managing static assets of web applications, the set of acts comprising:
provisioning a number of application service instances of a code base for a web application of a cloud-based environment;
provisioning a different number of static asset service instances of a static asset container for the web application; and
dynamically servicing a request to access the web application at least by provisioning an application service instance of the number of application service instances in response to the request and further at least by provisioning a static service instance of the different number of static asset service instances in response to an asset call from the application service instance to the static asset instance.

### Claim 9 (depends on 8)

The non-transitory computer readable medium of claim 8, further comprising instructions which, when stored in the memory and executed by processor, causes the processor to perform the set of acts that further comprises:
deploying the code base and the static asset container, wherein the number of application service instances comprises a first number of replicas of a code base service instance for the code base, the different number of static asset service instances comprises a second number of replicas for the static asset container, the code base for the web application is not stored in a container and is deployed as the first number of replicas, each of which is exposed as the code base service instance.

### Claim 10 (depends on 9)

The non-transitory computer readable medium of claim 9, further comprising instructions which, when stored in the memory and executed by processor, causes the processor to perform the set of acts that further comprises:
deploying the first number of replicas of the code base service instance for the code base;
dynamically scaling deployment of the second number of replicas of a static asset container service instance that is exposed as a static asset service, wherein the different number of static asset service instances of the static asset container is different from the first number of application service instances for the code base.

### Claim 11 (depends on 8)

The non-transitory computer readable medium of claim 8, further comprising instructions which, when stored in the memory and executed by processor, causes the processor to perform the set of acts that further comprises associating a second static asset service instance of the different number of static asset service instances of the static asset container with a first application service instance of the number of application service instances of the code base by a portion of a URL (uniform resource locator) for a request from a client to access the web application, wherein the asset call comprises a direct call from the client or an indirect call from the first application service instance of the code base and is issued in response to the request from the client to access the web application.

### Claim 12 (depends on 8)

The non-transitory computer readable medium of claim 8, further comprising instructions which, when stored in the memory and executed by processor, causes the processor to perform the set of acts that further comprises:
receiving a request from a client to access the web application; and
servicing the request at least by:
provisioning the client with an application service instance of the number of application service instances to access the code base for the web application; and
provisioning an asset call from the application service instance to a static asset service instance of the different number of static asset service instances for the static asset container to access digital contents for the web application, wherein
the different number of static asset service instances is dynamically scaled based at least in part upon a usage or performance measurement pertaining to the web application and at least the asset call between the application service instance and the static asset service instance.

### Claim 13 (depends on 8)

The non-transitory computer readable medium of claim 8, further comprising instructions which, when stored in the memory and executed by processor, causes the processor to perform the set of acts that further comprises:
determining the different number of static asset service instances based at least in part on one or more performance measurements that correspond to at least one of performance of one or more static asset service instances of the static asset container; and
deploying the different number of static asset service instances of the static asset container, wherein
at least one of the one or more performance measurements corresponds to at least one of a network traffic metric, a resource metric, a pod metric, an object metric, a replica range metric, a processor utilization metric, an external request per unit time metric, or an external metric.

### Claim 14 (depends on 8)

The non-transitory computer readable medium of claim 8, further comprising instructions which, when stored in the memory and executed by processor, causes the processor to perform the set of acts that further comprises:
scaling deployment of the number of application service instances of the code base separately from dynamically scaling a deployment of the different number of static asset service instances of the static asset container;
eliminating an unutilized static asset service instance from the different number of static asset service instances of the static asset container, wherein the unutilized static asset service instance is unutilized by the number of application service instances for the code base so that only static asset service instances of the static asset container used by at least some of the number of application service instances of the code base are deployed for the web application;
eliminating usage of storage resource at least by dynamically scaling the deployment of the different number of static asset service instance of the static asset container to have a fewer number of service instances for the static asset container than the number of application service instances of the code base, wherein the first of application service instances for the code base is larger than the different number of static asset service instance of the static asset container;
scaling the number of application service instances of the code base at least by adding or removing one or more first application service instances of the code base of the code base; and
scaling the different number of static asset service instances of the static asset container at least by adding or removing one or more second static asset service instances of the static asset container, wherein scaling the number of application service instances of the code base is performed independently of scaling the different number of static asset service instances of the static asset container to result in the number of application service instances for the code base being different from the different number of static asset service instances for the static asset container.

### Claim 15

A system for managing static assets of web applications, the system comprising:
a non-transitory storage medium having stored thereon a sequence of instructions; and
a processor that executes the sequence instructions, an execution of the sequence of instructions causing the one or more processors to perform a set of acts, the set of acts comprising,
provisioning a number of application service instances of a code base for a web application of a cloud-based environment;
provisioning a different number of static asset service instances of a static asset container for the web application; and
dynamically servicing a request to access the web application at least by provisioning an application service instance of the number of application service instances in response to the request and further at least by provisioning a static service instance of the different number of static asset service instances in response to an asset call from the application service instance to the static asset instance.

### Claim 16 (depends on 15)

The system of claim 15, wherein the deploying the code base and the static asset container further comprises:
deploying the first number of replicas of the code base service instance for the code base;
dynamically scaling deployment of the second number of replicas of a static asset container service instance that is exposed as a static asset service, wherein the different number of static asset service instances of the static asset container is different from the first number of application service instances for the code base.

### Claim 17 (depends on 15)

The system of claim 15, wherein the set of acts further comprises:
associating a second static asset service instance of the different number of static asset service instances of the static asset container with a first application service instance of the number of application service instances of the code base by a portion of a URL (uniform resource locator) for a request from a client to access the web application, wherein the asset call comprises a direct call from the client or an indirect call from the first application service instance of the code base and is issued in response to the request from the client to access the web application.

### Claim 18 (depends on 15)

The system of claim 15, wherein the set of acts further comprises:
receiving a request from a client to access the web application; and
servicing the request at least by:
provisioning the client with an application service instance of the number of application service instances to access the code base for the web application; and
provisioning an asset call from the application service instance to a static asset service instance of the different number of static asset service instances for the static asset container to access digital contents for the web application, wherein
the different number of static asset service instances is dynamically scaled based at least in part upon a usage or performance measurement pertaining to the web application and at least the asset call between the application service instance and the static asset service instance.

### Claim 19 (depends on 15)

The system of claim 15, wherein the set of acts further comprises:
determining the different number of static asset service instances based at least in part on one or more performance measurements that correspond to at least one of performance of one or more static asset service instances of the static asset container; and
deploying the different number of static asset service instances of the static asset container, wherein
at least one of the one or more performance measurements corresponds to at least one of a network traffic metric, a resource metric, a pod metric, an object metric, a replica range metric, a processor utilization metric, an external request per unit time metric, or an external metric.

### Claim 20 (depends on 15)

The system of claim 15, wherein the set of acts further comprises:
scaling deployment of the number of application service instances of the code base separately from dynamically scaling a deployment of the different number of static asset service instances of the static asset container;
eliminating an unutilized static asset service instance from the different number of static asset service instances of the static asset container, wherein the unutilized static asset service instance is unutilized by the number of application service instances for the code base so that only static asset service instances of the static asset container used by at least some of the number of application service instances of the code base are deployed for the web application;
eliminating usage of storage resource at least by dynamically scaling the deployment of the different number of static asset service instance of the static asset container to have a fewer number of service instances for the static asset container than the number of application service instances of the code base, wherein the first of application service instances for the code base is larger than the different number of static asset service instance of the static asset container;
scaling the number of application service instances of the code base at least by adding or removing one or more first application service instances of the code base of the code base; and
scaling the different number of static asset service instances of the static asset container at least by adding or removing one or more second static asset service instances of the static asset container, wherein scaling the number of application service instances of the code base is performed independently of scaling the different number of static asset service instances of the static asset container to result in the number of application service instances for the code base being different from the different number of static asset service instances for the static asset container.
