Methods and apparatus to service workloads locally at a computing device
Abstract
Methods, apparatus, systems, and articles of manufacture to service workloads locally at a computing device are disclosed. An example apparatus includes processor circuitry to instantiate application circuitry to, after determining that the container is locally available to execute the workload, transmit an application programming interface (API) call to local API gateway circuitry using a system local network stack Internet protocol (IP) address; the local API gateway circuitry to identify service container circuitry to execute the workload based on the API call; and the service container circuitry to utilize the container to execute the workload to generate an output; and the local API gateway circuitry to forward the output to the application circuitry.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . An apparatus to service a workload locally, the apparatus comprising:
interface circuitry to obtain an indication that a container is locally available to execute a workload; and processor circuitry including one or more of:
at least one of a central processor unit, a graphics processor unit, or a digital signal processor, the at least one of the central processor unit, the graphics processor unit, or the digital signal processor having control circuitry to control data movement within the processor circuitry, arithmetic and logic circuitry to perform one or more first operations corresponding to instructions, and one or more registers to store a result of the one or more first operations, the instructions in the apparatus;
a Field Programmable Gate Array (FPGA), the FPGA including logic gate circuitry, a plurality of configurable interconnections, and storage circuitry, the logic gate circuitry and the plurality of the configurable interconnections to perform one or more second operations, the storage circuitry to store a result of the one or more second operations; or
Application Specific Integrated Circuitry (ASIC) including logic gate circuitry to perform one or more third operations;
the processor circuitry to perform at least one of the first operations, the second operations, or the third operations to instantiate:
application circuitry to, after determining that the container is locally available to execute the workload, transmit an application programming interface (API) call to local API gateway circuitry using a system local network stack Internet protocol (IP) address;
the local API gateway circuitry to identify service container circuitry to execute the workload based on the API call; and
the service container circuitry to utilize the container to execute the workload to generate an output; and
the local API gateway circuitry to forward the output to the application circuitry.
2 . The apparatus of claim 1 , wherein the application circuitry is to transmit an inquiry to client circuitry corresponding to whether the container is locally available to execute the workload.
3 . The apparatus of claim 2 , wherein the processor circuitry is to perform at least one of the first operations, the second operations, or the third operations to instantiate the client circuitry to:
determine whether the container is locally available; and transmit the indication based on the determination.
4 . The apparatus of claim 2 , wherein the processor circuitry is to perform at least one of the first operations, the second operations, or the third operations to instantiate the client circuitry to download the container when the container is not available.
5 . The apparatus of claim 1 , wherein the API call is a first API call, the application circuitry to, after determining that the container is not locally available to execute the workload, transmit a second API call to a cloud-based server to execute a first portion of the workload at the cloud-based server.
6 . The apparatus of claim 5 , wherein the indication is a first indication, the application circuitry to, after determining that the container is locally available to execute the workload based on a second indication, transmit the API call to the local API gateway circuitry using the system local network stack IP address, the API call corresponding to local execution of a second portion of the workload.
7 . The apparatus of claim 1 , wherein the workload is scheduled to be executed at a cloud-based server.
8 . The apparatus of claim 1 , wherein the local API gateway circuitry is to select the service container circuitry based on a header of a URL used to transmit the API call, the URL corresponding to the system local network stack IP address.
9 . The apparatus of claim 1 , wherein the application circuitry is to transmit the API call without using at least one of a key, a token, or transport layer security.
10 . The apparatus of claim 1 , wherein the local API gateway circuitry is to:
log data corresponding to the local execution of the workload; and transmit the logged data to an external device.
11 . An apparatus to service a workload locally, the apparatus comprising:
at least one memory; machine readable instructions; and processor circuitry to at least one of instantiate or execute the machine readable instructions to:
after determining that a container is locally available to execute a workload, transmit an application programming interface (API) call to local API gateway circuitry using a system local network stack Internet protocol (IP) address;
select service container circuitry that corresponds to the container to execute the workload based on the API call; and
to execute the workload by implementing the container to generate an output; and
forward the output to an application that sent the API call.
12 . The apparatus of claim 11 , wherein the processor circuitry is to:
determine whether the container is locally available to execute the workload; and download the container when the container is not locally available.
13 . The apparatus of claim 11 , wherein the API call is a first API call, the processor circuitry to:
after determining that the container is not locally available to execute the workload, transmit a second API call to a cloud-based server to execute a first portion of the workload at the cloud-based server; and after determining that the container is locally available to execute the workload, transmit the API call to the local API gateway circuitry using the system local network stack IP address, the API call corresponding to local execution of a second portion of the workload.
14 . The apparatus of claim 11 , wherein the workload is scheduled to be executed at a cloud-based server.
15 . The apparatus of claim 11 , wherein the processor circuitry is to select the service container circuitry based on a header of a URL used to transmit the API call, the URL corresponding to the system local network stack IP address.
16 . The apparatus of claim 11 , wherein the processor circuitry is to transmit the API call without using at least one of a key, a token, or transport layer security.
17 . The apparatus of claim 11 , wherein the processor circuitry is to:
log data corresponding to the local execution of the workload; and transmit the logged data to an external device.
18 . A non-transitory machine readable storage medium comprising instructions that, when executed, cause processor circuitry to at least:
cause transmission of an application programming interface (API) call to local API gateway circuitry using a system local network stack Internet protocol (IP) address based on a determination that a container is locally available to execute a workload; identify service container circuitry that can implement the container to execute the workload based on the API call; and utilize the service container circuitry to execute the workload to generate an output; and forward the output to an application corresponding to the API call.
19 . The computer readable medium of claim 18 , wherein the instructions cause the processor circuitry to:
determine whether the container is locally available to execute the workload; and download the container when the container is not locally available.
20 . The computer readable medium of claim 18 , wherein the API call is a first API call, the instructions to cause the processor circuitry to:
after determining that the container is not locally available to execute the workload, cause transmission of a second API call to a cloud-based server to execute a first portion of the workload at the cloud-based server; and after determining that the container is locally available to execute the workload, cause transmission of the API call to the local API gateway circuitry using the system local network stack IP address, the API call corresponding to local execution of a second portion of the workload.
21 . The computer readable medium of claim 18 , wherein the workload is scheduled to be executed at a cloud-based server.
22 . The computer readable medium of claim 18 , wherein the instructions cause the processor circuitry to select the service container circuitry based on a header of a URL used to transmit the API call, the URL corresponding to the system local network stack IP address.
23 . The computer readable medium of claim 18 , wherein the instructions cause the processor circuitry to cause transmission of the API call without using at least one of a key, a token, or transport layer security.
24 . An apparatus to service a workload locally, the apparatus comprising:
means for obtaining an indication that a container is locally available to execute a workload; and means for transmitting an application programming interface (API) call to forwarding means using a system local network stack Internet protocol (IP) address to after determining that the container is locally available to execute the workload; means for identifying execution means to execute the workload based on the API call; and the execution means to utilize the container to execute the workload to generate an output; and the forwarding means to forward the output to the means for transmitting.
25 . The apparatus or claim 24 , further including means for determining to:
determine whether the container is locally available to execute the workload; and download the container when the container is not locally available.Join the waitlist — get patent alerts
Track US2023100051A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.