Intelligent container scaling scheme based on internet of things devices

The system addresses inefficiencies in IoT device resource allocation by dynamically adjusting resources and migrating tasks based on real-time power consumption, enhancing battery life and operational continuity.

US20260377218A1Pending Publication Date: 2026-11-26INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/212842
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing container scaling methods for IoT devices fail to accurately predict power consumption, leading to inefficient resource allocation and reduced battery life, especially in low-power devices operating in distributed environments.

Method used

A system comprising a Power Perception and Prediction Module, a Container Scaling Decision Module, and a Task Migration and Scheduling Module dynamically adjusts resource allocations based on real-time power consumption and battery levels, migrating tasks to devices with sufficient power to maintain operation and extend battery life.

Benefits of technology

Optimizes resource distribution and extends battery life by ensuring uninterrupted operation and efficient scheduling of computing tasks in low-power IoT devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260377218A1-D00000_ABST
    Figure US20260377218A1-D00000_ABST
Patent Text Reader

Abstract

A computer system includes a processor set, computer-readable storage media, and program instructions stored on the one or more computer-readable storage media. The computer-readable storage media causes the processor set to perform operations including monitoring a power consumption and a first battery power level of a first Internet of Things (IoT) device among a plurality of IoT devices, and dynamically adjusting at least one container resource allocated to the first IoT device based on the power consumption so as to allow the first IoT device to perform a computing task. In response to determining the first battery power level is below a power threshold, the processor set migrates the computing task from the first IoT device to a second IoT device among the plurality of IoT devices, with the second IoT device having a second battery power level that is greater than or equal to the power threshold.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND

[0001] Internet of Things (IoT) devices such as smart sensors, medical wearables, and remote monitoring terminals often rely on limited energy sources like batteries. To operate efficiently within these constraints, engineers have adapted lightweight container-based computing models to manage software functions on these IoT devices. Containers enable modular deployment of applications and allow precise control over resource usage. Container scaling mechanisms dynamically adjust CPU and memory allocation based on real-time metrics such as processor load, memory usage, and historical traffic patterns. This allows the IoT device to allocate only the necessary resources to each software component, while also minimizing energy consumption and maintaining operating performance.SUMMARY

[0002] According to a non-limiting embodiment, a computer system includes a processor set, one or more computer-readable storage media, and program instructions stored on the one or more computer-readable storage media. The computer-readable storage media causes the processor set to perform operations including monitoring a power consumption and a first battery power level of a first Internet of Things (IoT) device among a plurality of IoT devices, and dynamically adjusting at least one container resource allocated to the first IoT device based on the power consumption so as to allow the first IoT device to perform a computing task. In response to determining the first battery power level is below a power threshold, the processor set migrates the computing task from the first IoT device to a second IoT device among the plurality of IoT devices, with the second IoT device having a second battery power level that is greater than or equal the power threshold.

[0003] In addition to one or more of the features described above, or as an alternative to any of the foregoing embodiments, monitoring the power consumption comprises collecting, at regular intervals, power-related data from the first IoT device, the power-related data including at least one of current, voltage, or temperature.

[0004] In addition to one or more of the features described above, or as an alternative to any of the foregoing embodiments, the program instructions further cause the processor set to perform operations comprising analyzing historical power consumption data of the first IoT device using at least one time-series forecasting model to determine at least one power consumption trend.

[0005] In addition to one or more of the features described above, or as an alternative to any of the foregoing embodiments, the program instructions further cause the processor set to perform operations comprising: predicting a remaining amount of the first battery power level over a future time interval based on the historical power consumption data; and scaling the at least one container resource in response to the predicted remaining amount of the first battery power level being below the power threshold.

[0006] In addition to one or more of the features described above, or as an alternative to any of the foregoing embodiments, dynamically adjusting the at least one container resource allocated to the first IoT device comprises: expanding the at least one container resource when the first battery power level exceeds the power threshold; and reducing the at least one container resource when the first battery power level is below the power threshold.

[0007] In addition to one or more of the features described above, or as an alternative to any of the foregoing embodiments, reducing the at least one container resource comprises at least one of reducing a number of container instances, reducing a CPU usage, or reducing allocated memory.

[0008] In addition to one or more of the features described above, or as an alternative to any of the foregoing embodiments, the program instructions further cause the processor set to migrate the computing task from the first IoT device to the second IoT device by evaluating whether the second IoT device has available container resources to execute the computing task.

[0009] According to another non-limiting embodiment, a computer implemented method of performing intelligent container scaling based on IoT devices is provided. The method comprises: monitoring a power consumption and a first battery power level of a first Internet of Things (IoT) device among a plurality of IoT devices; and dynamically adjusting at least one container resource allocated to the first IoT device based on the power consumption so as to allow the first IoT device to perform a computing task. The method further includes, in response to determining the first battery power level is below a power threshold, migrating the computing task from the first IoT device to a second IoT device among the plurality of IoT devices, wherein the second IoT device has a second battery power level that is greater than or equal the power threshold.

[0010] According to yet another non-limiting embodiment, a computer program product to control a computing system to perform intelligent container scaling based on IoT devices is provided. The computer program product comprises a computer readable storage medium having program instructions embodied therewith. The program instructions are executable by an electronic computer processor to control the computing system to perform operations comprising: monitoring a power consumption and a first battery power level of a first Internet of Things (IoT) device among a plurality of IoT devices; and dynamically adjusting at least one container resource allocated to the first IoT device based on the power consumption so as to allow the first IoT device to perform a computing task. The operations further include, in response to determining the first battery power level is below a power threshold, migrating the computing task from the first IoT device to a second IoT device among the plurality of IoT devices, wherein the second IoT device has a second battery power level that is greater than or equal the power threshold.BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The specifics of the exclusive rights described herein are particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features and advantages of one or more embodiments described herein are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:

[0012] FIG. 1 is a block diagram illustrating a computing environment, according to one or more embodiments of the present disclosure;

[0013] FIG. 2 is a block diagram illustrating a computing system configured to perform intelligent container scaling based on IoT devices according to a non-limiting embodiment of the present disclosure;

[0014] FIG. 3 is a flow diagram illustrating the operations performed by a Power Perception and Prediction Module according to a non-limiting embodiment of the present disclosure;

[0015] FIG. 4 is a flow diagram illustrating the operations performed by a Container Scaling Decision module according to a non-limiting embodiment of the present disclosure;

[0016] FIG. 5 is a flow diagram illustrating the operations performed by a Task Migration And Scheduling Module according to a non-limiting embodiment of the present disclosure; and

[0017] FIG. 6 is a flow diagram illustrating a method of performing intelligent container scaling based on IoT devices according to a non-limiting embodiment of the present disclosure.DETAILED DESCRIPTION

[0018] Descriptions of various embodiments of the present disclosure are presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

[0019] Various aspects of the present disclosure are described by narrative text, flowcharts, block diagrams of computer systems, and / or block diagrams of the machine logic included in computer program product (CPP) embodiments. With respect to any flowcharts, depending upon the technology involved, the operations can be performed in a different order than what is shown in a given flowchart. For example, again depending upon the technology involved, two operations shown in successive flowchart blocks may be performed in reverse order, as a single integrated step, concurrently, or in a manner at least partially overlapping in time.

[0020] A computer program product embodiment (“CPP embodiment” or “CPP”) is a term used in the present disclosure to describe any set of one, or more, storage media (also called “mediums”) collectively included in a set of one, or more, storage devices that collectively include machine readable code corresponding to instructions and / or data for performing computer operations specified in a given CPP claim. A “storage device” is any tangible device that can retain and store instructions for use by a computer processor. Without limitation, the computer-readable storage medium may be an electronic storage medium, a magnetic storage medium, an optical storage medium, an electromagnetic storage medium, a semiconductor storage medium, a mechanical storage medium, or any suitable combination of the foregoing. Some known types of storage devices that implement these mediums include: diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), static random-access memory (SRAM), compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded device (such as punch cards or pits / lands formed in a major surface of a disc) or any suitable combination of the foregoing. A computer-readable storage medium, as that term is used in the present disclosure, is not to be construed as storage in the form of transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide, light pulses passing through a fiber optic cable, electrical signals communicated through a wire, and / or other transmission media. As will be understood by those of skill in the art, data is typically moved at some occasional points in time during normal operations of a storage device, such as during access, de-fragmentation or garbage collection, but this does not render the storage device as transitory because the data is not transitory while it is stored.

[0021] Turning now to a general discussion of the related art, IoT devices typically operate on limited energy sources, often relying on batteries. As a result, managing computing resources efficiently while conserving energy has become a critical design consideration. Conventional container scaling methods rely primarily on CPU usage, memory load, or historical traffic predictions. However, applying these methods to low-power IoT devices can introduce several challenges.

[0022] One challenge involves traditional scaling approaches, which may continue allocating additional resources even when a device is low on power, leading to system overload and reduced battery life. Another challenge is caused by the inability to predict power consumption accurately. These inaccurate power consumption predictions occur because load variations do not directly correlate with energy usage in many cases. Yet, another challenge exists in distributed environments where multiple IoT devices operate collaboratively, existing scheduling policies do not account for each device's remaining power, resulting in inefficient resource distribution.

[0023] Various non-limiting embodiments of the present disclosure address the short-comings of traditional container scaling processed by providing a system and method to intelligently stretch containers for low-power IoT devices. The system provides an optimized container scaling solution that can dynamically adjust resource allocations based on each device's real-time power consumption status to ensure uninterrupted operation while extending device lifespan. The system implements a Power Perception and Prediction Module, a Container Scaling Decision Module, and a Task Migration and Scheduling Module. These modules work together to facilitate improved battery life of IoT devices and optimized scheduling of IoT device computing resources. The system and method described herein can be applied in a wide variety of low-power IoT scenarios such as, for example, mart cities, telemedicine, drone networks, and edge computing nodes.

[0024] In a non-limiting embodiment, the Power Perception and Prediction Module monitors the power consumption of a first IoT device among a plurality of IoT devices and predicts a trend of changes, providing decision-making basis for container scaling. The Container Scaling Decision module dynamically adjusts container resources corresponding to the first IoT based on power consumption and computing load so that the first IoT can perform a corresponding computer task. The Task Migration and Scheduling module compares a remaining battery power of the first IoT is low to a power threshold. When the remaining battery power falls below the power threshold, the Task Migration and Scheduling module migrates the computing task to a different IoT device having a remaining battery power sufficient to perform the computing task. Accordingly, the battery life of IoT devices can be improved, and the reasonable scheduling of computing resources can be optimized.

[0025] With reference now to FIG. 1 a computing environment 100 capable of implementing the comprehensive anonymous tracking system and methods described herein is illustrated according to an embodiment. Computing environment 100 contains an example of an environment for the execution of at least some of the computer code involved in performing the inventive methods and / or system operations, such as intelligent container scaling based on IoT devices code 150. The computing environment 100 further includes a computer 101, wide area network (WAN) 102, end user device (EUD) 103, remote server 104, public cloud 105, and private cloud 106. In this embodiment, computer 101 includes processor set 110 (including processing circuitry 120 and cache 121), communication fabric 111, volatile memory 112, persistent storage 113 (including operating system 122, as identified above), peripheral device set 114 (including user interface (UI) device set 123), storage 124, and Internet of Things (IoT) sensor set 135), and network module 115. Remote server 104 includes remote database 132. Public cloud 105 includes gateway 130, cloud orchestration module 131, host physical machine set 142, virtual machine set 143, and container set 144.

[0026] COMPUTER 101 may take the form of a desktop computer, laptop computer, tablet computer, smart phone, smart watch or other wearable computer, mainframe computer, quantum computer or any other form of computer or mobile device now known or to be developed in the future that is capable of running a program, accessing a network or querying a database, such as remote database 132. As is well understood in the art of computer technology, and depending upon the technology, performance of a computer-implemented method may be distributed among multiple computers and / or between multiple locations. On the other hand, in this presentation of computing environment 100, detailed discussion is focused on a single computer, specifically computer 101, to keep the presentation as simple as possible. Computer 101 may be located in a cloud, even though it is not shown in a cloud in FIG. 1. On the other hand, computer 101 is not required to be in a cloud except to any extent as may be affirmatively indicated.

[0027] PROCESSOR SET 110 includes one, or more, computer processors of any type now known or to be developed in the future. Processing circuitry 120 may be distributed over multiple packages, for example, multiple, coordinated integrated circuit chips. Processing circuitry 120 may implement multiple processor threads and / or multiple processor cores. Cache 121 is memory that is located in the processor chip package(s) and is typically used for data or code that should be available for rapid access by the threads or cores running on processor set 110. Cache memories are typically organized into multiple levels depending upon relative proximity to the processing circuitry. Alternatively, some, or all, of the cache for the processor set may be located “off chip.” In some computing environments, processor set 110 may be designed for working with qubits and performing quantum computing.

[0028] Computer readable program instructions are typically loaded onto computer 101 to cause a series of operational steps to be performed by processor set 110 of computer 101 and thereby effect a computer-implemented method, such that the instructions thus executed will instantiate the methods specified in flowcharts and / or narrative descriptions of computer-implemented methods included in this document (collectively referred to as “the inventive methods”). These computer readable program instructions are stored in various types of computer readable storage media, such as cache 121 and the other storage media discussed below. The program instructions, and associated data, are accessed by processor set 110 to control and direct performance of the inventive methods. In computing environment 100, at least some of the instructions for performing the inventive methods may be stored in persistent storage 113.

[0029] COMMUNICATION FABRIC 111 is the signal conduction path that allows the various components of computer 101 to communicate with each other. Typically, this fabric is made of switches and electrically conductive paths, such as the switches and electrically conductive paths that make up busses, bridges, physical input / output ports and the like. Other types of signal communication paths may be used, such as fiber optic communication paths and / or wireless communication paths.

[0030] VOLATILE MEMORY 112 is any type of volatile memory now known or to be developed in the future. Examples include dynamic type random access memory (RAM) or static type RAM. Typically, volatile memory 112 is characterized by random access, but this is not required unless affirmatively indicated. In computer 101, the volatile memory 112 is located in a single package and is internal to computer 101, but, alternatively or additionally, the volatile memory may be distributed over multiple packages and / or located externally with respect to computer 101.

[0031] PERSISTENT STORAGE 113 is any form of non-volatile storage for computers that is now known or to be developed in the future. The non-volatility of this storage means that the stored data is maintained regardless of whether power is being supplied to computer 101 and / or directly to persistent storage 113. Persistent storage 113 may be a read only memory (ROM), but typically at least a portion of the persistent storage allows writing of data, deletion of data and re-writing of data. Some familiar forms of persistent storage include magnetic disks and solid-state storage devices. Operating system 122 may take several forms, such as various known proprietary operating systems or open-source Portable Operating System Interface-type operating systems that employ a kernel. The code included in persistent storage 113 typically includes at least some of the computer code involved in performing the inventive methods.

[0032] PERIPHERAL DEVICE SET 114 includes the set of peripheral devices of computer 101. Data communication connections between the peripheral devices and the other components of computer 101 may be implemented in various ways, such as Bluetooth connections, Near-Field Communication (NFC) connections, connections made by cables (such as universal serial bus (USB) type cables), insertion-type connections (for example, secure digital (SD) card), connections made through local area communication networks and even connections made through wide area networks such as the internet. In various embodiments, UI device set 123 may include components such as a display screen, speaker, microphone, wearable devices (such as goggles and smart watches), keyboard, mouse, printer, touchpad, game controllers, and haptic devices. Storage 124 is external storage, such as an external hard drive, or insertable storage, such as an SD card. Storage 124 may be persistent and / or volatile. In some embodiments, storage 124 may take the form of a quantum computing storage device for storing data in the form of qubits. In embodiments where computer 101 is required to have a large amount of storage (for example, where computer 101 locally stores and manages a large database) then this storage may be provided by peripheral storage devices designed for storing very large amounts of data, such as a storage area network (SAN) that is shared by multiple, geographically distributed computers. IoT sensor set 135 is made up of sensors that can be used in Internet of Things applications. For example, one sensor may be a thermometer and another sensor may be a motion detector.

[0033] NETWORK MODULE 115 is the collection of computer software, hardware, and firmware that allows computer 101 to communicate with other computers through WAN 102. Network module 115 may include hardware, such as modems or Wi-Fi signal transceivers, software for packetizing and / or de-packetizing data for communication network transmission, and / or web browser software for communicating data over the internet. In some embodiments, network control functions and network forwarding functions of network module 115 are performed on the same physical hardware device. In other embodiments (for example, embodiments that utilize software-defined networking (SDN)), the control functions and the forwarding functions of network module 115 are performed on physically separate devices, such that the control functions manage several different network hardware devices. Computer readable program instructions for performing the inventive methods can typically be downloaded to computer 101 from an external computer or external storage device through a network adapter card or network interface included in network module 115.

[0034] WAN 102 is any wide area network (for example, the internet) capable of communicating computer data over non-local distances by any technology for communicating computer data, now known or to be developed in the future. In some embodiments, the WAN 102 may be replaced and / or supplemented by local area networks (LANs) designed to communicate data between devices located in a local area, such as a Wi-Fi network. The WAN and / or LANs typically include computer hardware such as copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and edge servers.

[0035] END USER DEVICE (EUD) 103 is any computer system that is used and controlled by an end user (for example, a customer of an enterprise that operates computer 101), and may take any of the forms discussed above in connection with computer 101. EUD 103 typically receives helpful and useful data from the operations of computer 101. For example, in a hypothetical case where computer 101 is designed to provide a recommendation to an end user, this recommendation would typically be communicated from network module 115 of computer 101 through WAN 102 to EUD 103. In this way, EUD 103 can display, or otherwise present, the recommendation to an end user. In some embodiments, EUD 103 may be a client device, such as thin client, heavy client, mainframe computer, desktop computer and so on.

[0036] REMOTE SERVER 104 is any computer system that serves at least some data and / or functionality to computer 101. Remote server 104 may be controlled and used by the same entity that operates computer 101. Remote server 104 represents the machine(s) that collect and store helpful and useful data for use by other computers, such as computer 101. For example, in a hypothetical case where computer 101 is designed and programmed to provide a recommendation based on historical data, then this historical data may be provided to computer 101 from remote database 132 of remote server 104.

[0037] PUBLIC CLOUD 105 is any computer system available for use by multiple entities that provides on-demand availability of computer system resources and / or other computer capabilities, especially data storage (cloud storage) and computing power, without direct active management by the user. Cloud computing typically leverages sharing of resources to achieve coherence and economies of scale. The direct and active management of the computing resources of public cloud 105 is performed by the computer hardware and / or software of cloud orchestration module 131. The computing resources provided by public cloud 105 are typically implemented by virtual computing environments that run on various computers making up the computers of host physical machine set 142, which is the universe of physical computers in and / or available to public cloud 105. The virtual computing environments (VCEs) typically take the form of virtual machines from virtual machine set 143 and / or containers from container set 144. It is understood that these VCEs may be stored as images and may be transferred among and between the various physical machine hosts, either as images or after instantiation of the VCE. Cloud orchestration module 131 manages the transfer and storage of images, deploys new instantiations of VCEs and manages active instantiations of VCE deployments. Gateway 130 is the collection of computer software, hardware, and firmware that allows public cloud 105 to communicate through WAN 102.

[0038] Some further explanation of virtualized computing environments (VCEs) will now be provided. VCEs can be stored as “images.” A new active instance of the VCE can be instantiated from the image. Two familiar types of VCEs are virtual machines and containers. A container is a VCE that uses operating-system-level virtualization. This refers to an operating system feature in which the kernel allows the existence of multiple isolated user-space instances, called containers. These isolated user-space instances typically behave as real computers from the point of view of programs running in them. A computer program running on an ordinary operating system can utilize all resources of that computer, such as connected devices, files and folders, network shares, CPU power, and quantifiable hardware capabilities. However, programs running inside a container can only use the contents of the container and devices assigned to the container, a feature which is known as containerization.

[0039] PRIVATE CLOUD 106 is similar to public cloud 105, except that the computing resources are only available for use by a single enterprise. While private cloud 106 is depicted as being in communication with WAN 102, in other embodiments a private cloud may be disconnected from the internet entirely and only accessible through a local / private network. A hybrid cloud is a composition of multiple clouds of different types (for example, private, community or public cloud types), often respectively implemented by different vendors. Each of the multiple clouds remains a separate and discrete entity, but the larger hybrid cloud architecture is bound together by standardized or proprietary technology that enables orchestration, management, and / or data / application portability between the multiple constituent clouds. In this embodiment, public cloud 105 and private cloud 106 are both part of a larger hybrid cloud.

[0040] According to one or more embodiments, the computing environment 100 can provide remote data storage. For example, the computer 101 can be a cloud storage system or other suitable system for storing data that is accessible to a user remotely, such as by accessing the computer 101 using the end user device 103. That is, a user can send a user operation (also referred to as a “user request”) from the end user device 103 to the computer 101 via the WAN 102. Although the user operation may appear to be simple, such as uploading an object to a cloud storage system, the complications of operating a cloud computing system often have side effects and produce ancillary data, which may be consumed by both the operator of the system (e.g., the computer 101) and by users or other components of the cloud architecture (e.g., the computing environment 100). Ancillary data may be created by user operations that trigger the creation of the ancillary data. Ancillary data may be resource consumption information, notification data, and / or the like, including combinations and / or multiples thereof. Data for an independent event may be inferred from another event (e.g., event to update resource consumption information for an entity in a system also means that the total consumption information for the owner of the entity is also updated).

[0041] Referring now to FIG. 2, a computing system 200 capable of performing intelligent container scaling based on IoT devices is illustrated according to a non-limiting embodiment of the present disclosure. The computing system includes a processor set 110 in signal communication with a plurality of IoT devices 202a, 202b, 202n (collectively referred to as 202a-202n). The IoT devices 202a-202n can be implemented according to a variety of IoT devices including, but not limited to, smart sensors, remote monitoring terminals, wearable devices, remote cameras, remote lighting systems., and remote media systems. In a non-limiting embodiment, each of the IoT devices 202a-202n is powered via a consumable power source, such as, for example, a batteries 203a, 203b, 203n, respectively. Accordingly, the available power provided by a given battery 203a-203n decreases as the IoT device 202a-202c operates.

[0042] The processor set 110 includes a Power Perception and Prediction (PPP) module 204, a Container Scaling Decision (CSD) module 206, and a Task Migration and Scheduling (TMS) module 208. The PPP module 204, CSD module and TMS module 208 work together to facilitate improved battery life of IoT devices 202a-202n and optimized scheduling of IoT device container resources. In a non-limiting embodiment, any one of the PPP module 204, the CSD module 206, and the TMS module 208 module can be constructed as an electronic hardware controller that includes memory and a processor configured to execute algorithms and computer-readable program instructions stored in the memory. In another non-limiting embodiment, each of the PPP module 204, the CSD module 206, and the TMS module 208 module are embedded in the processor set 110. Accordingly, the processor set 110 executes instructions stored on a computer-readable storage media, which causes the PPP module 204, the CSD module 206, and the TMS module 208 to perform the various operations descried herein.

[0043] The PPP module 204 actively monitors the power usage of the IoT devices 202a-202n and forecasts future consumption trends to inform container scaling decisions. The PPP module 204 further collects real-time power metrics and performs predictive analysis to evaluate whether a given device can continue executing its assigned computing tasks. In a non-limiting embodiment, the PPP module 204 performs: (i) device power consumption data collection, (ii) historical power consumption pattern analysis; and (iii) power prediction and evaluation.

[0044] The PPP module 204 is in signal communication with each of the IoT devices 202a-202n to exchange power-related data. Accordingly, the PPP module 204 can actively collect power-related data at regular intervals to determine an up-to-date view of the power status for each IoT device 202a-202n. In a non-limiting embodiment, the data collecting interval ranges, for example, from about 5 seconds to 15 seconds. The collected data includes, but is not limited to, remaining battery capacity, real-time current draw, voltage levels, and device temperature.

[0045] The historical power consumption pattern analysis involves recording the power consumption history of each IoT device 202a-202n over configurable time intervals, such as the past several hours or days. Accordingly, the PPP module 204 constructs time-series data sets that reflect the device's historical power usage behavior. Using this data, the PPP module 204 can apply predictive analytics models to detect patterns and trends. The predictive analytics models include, but are not limited to, Long Short-Term Memory (LSTM) or AutoRegressive Integrated Moving Average (ARIMA).

[0046] After collecting the real-time data metrics and analyzing the historical patterns, the PPP module 204 can perform the power prediction and evaluation by projecting the remaining battery life for a given IoT device 202a-202n over a future time interval or preset time period such as, for example, 10 to 15 minutes. In a non-limiting embodiment, the PPP module uses predictive modeling techniques, which utilize both past and present data, to estimate how quickly the power of a given IoT 202a-202n will deplete under current operating conditions. The PPP module 204 then compares this projected power level to a power threshold. For example, when the PPP module 204 predicts that the battery 203a-230n of a respective IoT 202a-202n will fall below 20% within the next 10 minutes, the PPP module 204 triggers an alert and flags the IoT device 202a-202n for potential container resource scaling allocated to a given IoT device 202a-202n. Additionally, the PPP module 204 evaluates whether a given IoT device 202a-202n can complete its assigned computing task based on the predicted remaining power of the IoT's battery 203a-203n and the known energy consumption rate of the task. In this manner, the PPP module 204 can ensure that one or more IoT devices 202a-202n do not accept workloads that cannot be sustained and thereby avoiding abrupt shutdowns or stoppages of an ongoing computing task.

[0047] The CSD module 206 is in signal communication with the PPP module 204, the TMS module 208, and the container set 144. Accordingly, the CSD module 206 can serve as a “container orchestration sub-system” and dynamically adjust container resources (e.g., provided by the container set 144) allocated to a given IoT devices 202a-202n based on power consumption and computing load. As described herein, container resources can include, but are not limited to, CPU allocation, memory allocation, container instance count, storage capacity, and network bandwidth quotas. For example, the CSD module 206 can perform one or more scaling-decision operations to dynamically adjust the number of containers or resource quotas based on the power consumption status and computing load to optimize energy consumption management. The scaling-decision operations include: (i) power consumption sensing; (ii) container scaling strategizing; and (iii) dynamic container tuning.

[0048] In response to triggering or initiating the power consumption sensing, the CSD module 206 continuously monitors incoming power prediction data from the PPP module 204. In a non-limiting embodiment, the CSD module 206 can utilize the data received from the PPP module 204 to detect early signs of potential power insufficiency and then perform preemptive container scaling actions. Signs of potential power insufficiency can include, but are not limited to, an approaching low-power threshold and a steep consumption slope.

[0049] In a non-limiting embodiment, the CSD module 206 initiates energy-aware orchestration policies before a given IoT device 202a-202n reaches a critical battery state or a battery state at which the IoT device 202a-202n will shut down or power off. In a non-limiting embodiment, the CSD module 206 does not wait for a reactive fault condition, but instead uses predictive data provided from the PPP module 204 to anticipate future constraints. By actively responding to these insights, the CSD module 206 initiates energy-aware orchestration policies that help preserve operational continuity.

[0050] The container scaling strategizing performed by the CSD module 206 involves evaluating a current workload demand on each IoT device 202a-202n, in combination with the predicted power availability of the respective IoT device 202a-202n. In a non-limiting embodiment, the container scaling strategizing includes performing one of three scaling strategies: (a) a scaling container policy; (b) a container reduction policy; and (c) a task migration policy.

[0051] When a given IoT device 202a-202n has sufficient power (e.g., battery life) and is forecasted to remain stable, the CSD module 206 initiates the scaling container policy. In response to initiating the scaling initiating policy, the CSD module scales up container resources by increasing the number of instances or by allocating more CPU and memory.

[0052] When the remaining power (e.g., battery level) of a given IoT device 202a-20n is low or expected to decline rapidly, the CSD module 206 initiates the container reduction policy. In response to initiating the container reduction policy to scale down the workload or reduce one or more container resources associated with the low-power IoT device. For example, the container resources can be scaled down or reduced by reducing the number of container instances, reducing or “throttling” CPU usage, and / or reducing memory allocation.

[0053] In critical cases where minimal power remains (e.g., the available battery power falls below a critical power threshold), the CSD module 206 can initiate the task migration policy. In response to initiating the task migration policy, CSD module 206 outputs an offload command signal to the TMS module 208, which commands the TMS module 208 to offload one or more tasks from the target IoT device 202a-202n (e.g., the IoT device experiencing the minimal remaining power).

[0054] In a non-limiting embodiment, the CSD module 206 interfaces with orchestration platforms such as Kubernetes, for example, to execute scaling decisions. The CSD module 206 can programmatically issue commands using a command-line tool (e.g., kubectl scale) to adjust container deployments. In this manner, the CSD module 206 can modify replica counts (e.g., kubectl set resources) to revise CPU and memory quotas while also ensuring that these adjustments occur seamlessly by checking service thresholds to avoid interruptions. In a non-limiting embodiment, the CSD module 206 enforces one or more limits that prevent container reductions from degrading user-facing service levels to perform dynamic container tuning. The dynamic container tuning not only achieves scaling efficiency, but also balances performance and power across the IoT devices 202a-202n.

[0055] The dynamic container tuning performed by the CSD module 206 involves utilizing container orchestration tools to perform container scaling to ensure business continuity. For example, the CSD module 206 can actively employ a container orchestration tool referred to as “Kubernetes” to manage the scaling of containerized workloads on the IoT devices 202a-202n by allowing the CSD module 206 to execute specific container tuning operations through Kubernetes command interfaces. To increase or reduce the number of running container instances, for example, the CSD module 206 can use the command, “kubectl scale deployment—replicas=N”, which allows the CSD module 206 to analyze and respond to predicted power availability and workload requirements. When adjusting container resource allocation without changing instance counts, the CSD module 206 can also invoke the kubectl set resources command to modify CPU and memory quotas for running containers. Accordingly, the CSD module 206 can provide fine-grained control over each deployed container running on a given IoT device 202a-202n while ensuring that business continuity is maintained even if one or more IoT devices 202a-202n experience fluctuating power levels and / or computational demand.

[0056] In a non-limiting embodiment, the CSD module 206 can analyze threshold detection mechanisms to verify system stability before the applying the various scaling action descried above. For example, the CSD module 206 can continuously monitor workload performance indicators and service availability metrics provided by the PPP module 204 to determine whether a proposed container resource adjustment might negatively impact user-facing services. If a scaling action risks causing service disruption (e.g., delayed response time requirements, degraded processing throughput, etc.) the CSD module 206 can defer applying a scaling action. In this manner, the CSD module 206 can ensure that container tuning associated with a given IoT device 202a-202n remains both power-efficient and operationally safe, even under rapidly changing energy or workload conditions.

[0057] The TMS module 208 is in signal communication with the PPP module 204, the CSD module 206, and each of the IoT devices 202a-202n to transfer computing tasks among the IoT devices 202a-202n. When the battery 203a-203n of a low-power IoT device 202a-202n is low (e.g., falls below a power threshold) or is about to run out of power, for example, the TMS module 208 migrates the computing task performed by the low-power IoT device 202a-202n to a different IoT device 202a-202n that has sufficient power to perform the computing task. In this manner, the continuity of computing tasks can be maintained if a given IoT device 202a-202n shut down due to loss of battery power. In a non-limiting embodiment, the computing task migration performed by the TMS module 208 involves: (i) performing a device assurance operation; (ii) performing a task portability assessment; (iii) performing edge computing scheduling; and enforcing a task migration policy.

[0058] The device assurance operation includes monitoring the power consumption and computing power of the IoT devices 202a-202n. The power consumption and computing power of the IoT devices 202a-202n can be determined and monitored using the data provided by the PPP module 204. In a non-limiting embodiment, the TMS module 208 can record the distance and data transmission latency between two or more IoT devices 202a-202n to ensure that computing tasks can run normally after migration.

[0059] The task portability assessment allows the TMS module 208 to determine whether a computing task being performed by a low-power IoT device 202a-202n can be migrated to another target IoT device 202a-202n having sufficient power to perform the computing task by evaluating the container resource availability of the target IoT device 202a-202n. For example, the TMS module 208 can first determine whether a currently executing computing task running on a low-power IoT device 202a-202n supports migration by analyzing task's state characteristics. When the task is stateless, the TMS module 208 flags the computing task as eligible for direct migration to another IoT device 202a-202n having sufficient power to perform the computing task. When, however, the computing task is stateful, the TMS module 208 identifies the need to synchronize task state before migration.

[0060] Next, the TMS module 208 evaluates the container resources allocated to the target IoT device 202a-202n (i.e., the IoT device identified as having sufficient power to perform the computing task) by examining various computing metrics including, but not limited to, current CPU usage, available memory, network latency, and current battery level). In terms of current CPU usage, for example, the TMS module 208 can determine whether the CPU utilization the target IoT device 202a-202n remains below a defined computing threshold (e.g., below 70% usage). When the usage is below the computing threshold, the TMS module 208 confirms that the target IoT device 202a-202n has sufficient resources to accept and execute the computing task. Accordingly, the TMS module 208 can ensure that computing tasks are migrated to an IoT device 202a-202n capable of maintaining seamless execution.

[0061] To ensure that computing tasks identified as requiring migration are executed on nearby IoT devices with adequate power and resources, the TMS module 208 performs the edge computing scheduling. Accordingly, computing tasks can be migrated to a suitable IoT device 202a-202n using low migration latency when a low-power IoT device 202a-202n approaches the critical power threshold and is close to powering off. In a non-limiting embodiment, the TMS module 208 performs the edge computing scheduling by identifying suitable IoT devices 202a-202n (e.g., IoT devices having a remaining power above a power threshold) that can execute the identified computing task migrated from the low-power IoT device 202a-202n. In a non-limiting embodiment, the TMS module 208 can utilize the data provided by the PPP module 204 to prioritize IoT devices 202a-202n that sufficient resources, stable power levels, and low communication latency, but are also located in closest proximity to the low-power IoT device 202a-202n, e.g., the closest “edge” to the low-power IoT device 202a-202n. By scheduling tasks to be migrated to IoT devices 202a-202n located at the closest “edge”, the TMS module 208 reduces migration delays maintains task computing continuity.

[0062] Once a suitable IoT device 202a-202n is identified the TMS module 208 utilizes the task migration policy to carry out the migration of the computing task from the low-power IoT device 202a-202n. In a non-limiting embodiment, the task migration policy involves creating one or more replicas of a computing task and / or migrating the computing task to ensure that computing tasks are not interrupted and support timeout rollback.

[0063] When migration conditions are met, the TMS module 208 triggers the migration process taking into account the results of the edge computing scheduling. In a non-limiting embodiment, the TMS module 208 can execute a lift-and-shift operation by assigning the computing task running on a low-power IoT device 202a-202n to a suitable target IoT device 202a-202n (e.g., an IoT device having an available power that exceeds a power threshold). The TMS module 208 can also create one or more replicas of the computing task identified for migration by launching a new container instance on the target IoT device 202a-202n, while simultaneously spinning down the computing task on the low-power IoT device 202a-202n. The TMS module 208 can also set a timeout rollback policy that monitors the handoff process and reverts the migration of the computing task if the target IoT device 202a-202n fails to successfully assume control of the computing task within a defined time window. Accordingly, the rollback operation included in the task migration policy can ensure computing task continuity and prevent loss of execution due to failed migration attempts.

[0064] Turning now to FIG. 3, a flow diagram depicts the operations performed by the PPP module 204 according to a non-limiting embodiment of the present disclosure. The PPP module 204 begins at operation 300 by obtaining operating parameters from IoT devices 202a-202n. The operating parameters include, but are not limited to, electricity, voltage, current, temperature, and remaining battery power. In a non-limiting embodiment, the IoT sensor set 135 included in the computer 101 (see FIG. 1) collects the operating parameters from the IoT devices 202a-202n and delivers these parameters to the PPP module 204.

[0065] At operation 302, the PPP module 204 performs a power consumption analysis 303 using the collected operating parameters. This power consumption analysis 303 determines how much power each IoT device 202a-202n consumes in real time while executing its current computing task. At operation 304, the PPP module 204 calculates historical power consumption trends for each IoT device 202a-292n. In a non-limiting embodiment, the PPP module 204 derives the historical power consumption trends from based on real-time data power consumption analysis of an IoT devices 202a-202n as it performs a particular computing task and / or the workload of the IoT device 202a-202n performed over a pre-defined time period.

[0066] At operation 306, the PPP module 204 applies one or more prediction models 305 to forecast power consumption data. The forecasted power consumption data estimates how much power each IoT device 202a-202n will consume if it continues running its current computing task(s). At operation 308, the PPP module 204 uses the forecasted power consumption data to determine a final power consumption result. In a non-limiting embodiment, the PPP module evaluates whether each IoT device 202a-202n has enough remaining power (e.g., remaining battery life) to complete its ongoing task or if a given IoT device 202a-202n is at risk of running too low, or reaching a critical battery level where the IoT device 202a-202n will shut off. When an IoT device 202a-202n lacks sufficient power (e.g., is below a power threshold0 to perform the current computing task, the PPP module 204 flags the IoT device 202a-202n as a low-power IoT device that requires migration of its current computing task to a suitable IoT device 202a-202n (e.g., an IoT device having available power greater than a power threshold) to avoid interrupting execution of the computing task currently executed by the low-power IoT device 202a-202n.

[0067] Turning to FIG. 4, a flow diagram depicts the operations performed by the CSD module 206 according to a non-limiting embodiment of the present disclosure. At operation 400, the CSD module 206 receives power consumption forecast from the PPP module 204. The power consumption data can be the forecasted power consumption data or the final power consumption data determined by the PPP module 204. At operation 402, the CSD module 206 utilizes the consumption data to determine whether the available power (e.g., remaining battery life) of a given IoT device 202a-202n is below a power threshold. When the available power for all the IoT devices 202a-202n are not below the power threshold, the CSD module 206 allows current computing tasks to remain running on the respective IoT devices 202a-202n at operation 404 and returns to operation 402 to continue monitoring the available power of the IoT devices 202a-202n. When, however, the available power of a given IoT device 202a-202n falls below the power threshold, the CSD module 206 identifies the given IoT device as a low-power IoT device and determines whether the computation load of the low-power IoT device is high at operation 406. A computation load refers to the amount of processing and container resources allocated to (e.g., CPU cycles, memory usage, and power consumption, etc.) required by a given IoT device 202a-292n to execute a given computing task. Accordingly, the CSD module 206 determines a high computation load when the computation load of a given IoT device 202a-202n exceeds a load threshold.

[0068] When the computation load is not high, the CSD module 206 acts to reduce processing resources of the low-power IoT device at operation 408. In a non-limiting embodiment, the processing resources can be reduced by actively limits the device's processing capacity. The processing capacity can be limited, for example, by lowering CPU time allocation and / or reducing the number of active processing cores to decrease energy consumption and extend battery life. When, however, the computation load is high, the CSD module 206 acts to reduce container instances allocated to the low-power IoT device at operation 410. As described herein, container resources include, but are not limited to, CPU allocation, memory allocation, container instance count, storage capacity, network bandwidth quotas, applications and services. In a non-limiting embodiment, the container instances can be reduced by actively decreasing a number of running containerized applications, services, or container instances executing on a given IoT device 202a-202n. In this manner, the computational demand of the IoT device 202a-202n is lower, which in turn conserves battery power while subsequent migration operations are initiated and performed.

[0069] At operation 412, the CSD module 206 updates a container resource quota of the low-power IoT device. In a non-limiting embodiment, the CSD module 206 updates a container resource quota of a given IoT device 202a-202n by dynamically adjusting the number of container instances and resource quotas associated with the low-power IoT device. At operation 414, the CSD module 206 initiates migration of a computing task according to a scaling policy. Accordingly, CSD module 206 initiates the process of transferring a computing task performed by the low-power IoT device to another IoT device having sufficient power (e.g., remaining battery life) to continue executing the computing task.

[0070] Referring now to FIG. 5, a flow diagram depicts the operations performed by the TMS module 208 according to a non-limiting embodiment of the present disclosure. At operation 500, the TMS module 208 determines the power consumption of each IoT device 202a-202n using power consumption data provided by the PPP module 204.

[0071] At operation 502, the TMS module 208 evaluates whether the power consumption of each IoT device is below a predefined power threshold. If the power consumption is not below the threshold, the computing task continues on the respective IoT device at operation 504, and the TMS module returns to operation 502 to continue monitoring. When the power consumption of a given IoT device 202a-202n falls below the threshold, the TMS module 208 flags the identified IoT device 202a-202n as a low-power IoT device and proceeds to operation 506.

[0072] At operation 506, the TMS module 208 identifies one or more possible target IoT devices that have sufficient remaining power (e.g., battery life) to continue executing the task originally assigned to the low-power IoT device. At operation 508, the TMS module 208 checks whether the identified target IoT device has sufficient processing resources, such as available CPU capacity and memory, to handle the incoming task. At operation 510, if local processing resources are insufficient or additional support is needed, the TMS module 208 optionally requests support from the cloud. In a non-limiting embodiment, the requested cloud support can include a request to temporarily host computing tasks and / or to store and synchronize state data during task migration when processing resources of a the IoT device 202a-202n are insufficient.

[0073] At operation 512, the TMS module 208 performs a task migration assessment to confirm whether migration is feasible based on device status and task requirements. At operation 514, the TMS module 208 determines whether the task supports stateless migration. If stateless migration is not supported, the TMS module performs state data synchronization at operation 516. If stateless migration is supported, the TMS module executes a direct migration at operation 518, transferring the computing task to the selected target IoT device. t operation 520, the target IoT device receives the task and begins execution. In one embodiment, the target device resumes the task from the precise point at which it was migrated, without requiring a restart.

[0074] Turning now to FIG. 6, a method of performing intelligent container scaling based on IoT devices according to a non-limiting embodiment of the present disclosure. The method begins at operation 600, and a power consumption and a battery power level of a first IoT device among a plurality of IoT devices is monitored at operation 602. At operation 604, container resources allocated to the first IoT device are dynamically adjusted based on the power consumption of the first IoT device. At operation 606, a computing task associated with the container resources is executed using the first IoT device. At operation 608, a determination is made as to whether a power level (e.g., remaining battery life) of the first IoT device is below a power threshold. When the power level is not below the power threshold (NO), the method returns to operation 606 and continues monitoring the power level of the first IoT device. When, however, the power level falls below the power threshold (YES), a second IoT device having a power level (e.g., remaining battery life) greater than the power threshold is identified at operation 610. At operation 612, the computing task is migrated from the first IoT device to the second IoT device. At operation 614, the second IoT device begins executing the migrated computing task, and the method ends at operation 616.

[0075] As described herein, non-limiting embodiments of the present disclosure provide a computing system and method to perform intelligent container scaling based on IoT device. The system provides an optimized container scaling solution that can dynamically adjust resource allocations based on each device's real-time power consumption status to ensure uninterrupted operation while extending device lifespan. The system implements a Power Perception and Prediction Module, a Container Scaling Decision Module, and a Task Migration and Scheduling Module. These modules work together to facilitate improved battery life of IoT devices and optimized scheduling of IoT device processing resources.

[0076] While the foregoing is directed to embodiments of the present disclosure, other and further embodiments of the present disclosure may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims

1. A computer system comprising:a processor set;one or more computer-readable storage media; andprogram instructions stored on the one or more computer-readable storage media to cause the processor set to perform operations comprising:monitoring a power consumption and a first battery power level of a first Internet of Things (IoT) device among a plurality of IoT devices;dynamically adjusting at least one container resource allocated to the first IoT device based on the power consumption so as to allow the first IoT device to perform a computing task; andin response to determining the first battery power level is below a power threshold, migrating the computing task from the first IoT device to a second IoT device among the plurality of IoT devices, the second IoT device having a second battery power level that is greater than or equal to the power threshold.

2. The computer system of claim 1, wherein monitoring the power consumption comprises collecting, at regular intervals, power-related data from the first IoT device, the power-related data including at least one of current, voltage, or temperature.

3. The computer system of claim 2, wherein the program instructions further cause the processor set to perform operations comprising analyzing historical power consumption data of the first IoT device using at least one time-series forecasting model to determine at least one power consumption trend.

4. The computer system of claim 3, wherein the program instructions further cause the processor set to perform operations comprising:predicting a remaining amount of the first battery power level over a future time interval based on the historical power consumption data; andscaling the at least one container resource in response to the predicted remaining amount of the first battery power level being below the power threshold.

5. The computer system of claim 1, wherein dynamically adjusting the at least one container resource allocated to the first IoT device comprises:expanding the at least one container resource when the first battery power level exceeds the power threshold; andreducing the at least one container resource when the first battery power level is below the power threshold.

6. The computer system of claim 5, wherein reducing the at least one container resource comprises at least one of reducing a number of container instances, reducing a CPU usage, or reducing allocated memory.

7. The computer system of claim 1, wherein the program instructions further cause the processor set to migrate the computing task from the first IoT device to the second IoT device by evaluating whether the second IoT device has available container resources to execute the computing task.

8. A computer implemented method of performing intelligent container scaling based on IoT devices, the method comprising:monitoring a power consumption and a first battery power level of a first Internet of Things (IoT) device among a plurality of IoT devices;dynamically adjusting at least one container resource allocated to the first IoT device based on the power consumption so as to allow the first IoT device to perform a computing task; andin response to determining the first battery power level is below a power threshold, migrating the computing task from the first IoT device to a second IoT device among the plurality of IoT devices, the second IoT device having a second battery power level that is greater than or equal to the power threshold.

9. The method of claim 8, wherein monitoring the power consumption comprises collecting, at regular intervals, power-related data from the first IoT device, the power-related data including at least one of current, voltage, or temperature.

10. The method of claim 9, further comprising analyzing historical power consumption data of the first IoT device using at least one time-series forecasting model to determine at least one power consumption trend.

11. The method of claim 10, further comprising:predicting a remaining amount of the first battery power level over a future time interval based on the historical power consumption data; andscaling the at least one container resource in response to the predicted remaining amount of the first battery power level being below the power threshold.

12. The method of claim 8, wherein dynamically adjusting the at least one container resource allocated to the first IoT device comprises:expanding the at least one container resource when the first battery power level exceeds the power threshold; andreducing the at least one container resource when the first battery power level is below the power threshold.

13. The method of claim 12, wherein reducing the at least one container resource comprises at least one of reducing a number of container instances, reducing a CPU usage, or reducing allocated memory.

14. The method of claim 8, further comprising migrating the computing task from the first IoT device to the second IoT device by evaluating whether the second IoT device has available container resources to execute the computing task.

15. A computer program product to control a computing system to perform intelligent container scaling based on IoT devices, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by an electronic computer processor to control the computing system to perform operations comprising:monitoring a power consumption and a first battery power level of a first Internet of Things (IoT) device among a plurality of IoT devices;dynamically adjusting at least one container resource allocated to the first IoT device based on the power consumption so as to allow the first IoT device to perform a computing task; andin response to determining the first battery power level is below a power threshold, migrating the computing task from the first IoT device to a second IoT device among the plurality of IoT devices, the second IoT device having a second battery power level that is greater than or equal to the power threshold.

16. The computer program product of claim 15, wherein monitoring the power consumption comprises collecting, at regular intervals, power-related data from the first IoT device, the power-related data including at least one of current, voltage, or temperature.

17. The computer program product of claim 16, wherein the program instructions further cause the processor set to perform operations comprising analyzing historical power consumption data of the first IoT device using at least one time-series forecasting model to determine at least one power consumption trend.

18. The computer program product of claim 17, wherein the program instructions further cause the processor set to perform operations comprising:predicting a remaining amount of the first battery power level over a future time interval based on the historical power consumption data; andscaling the at least one container resource in response to the predicted remaining amount of the first battery power level being below the power threshold.

19. The computer program product of claim 15, wherein dynamically adjusting the at least one container resource allocated to the first IoT device comprises:expanding the at least one container resource when the first battery power level exceeds the power threshold; andreducing the at least one container resource when the first battery power level is below the power threshold,wherein reducing the at least one container resource comprises at least one of reducing a number of container instances, reducing a CPU usage, or reducing allocated memory.

20. The computer program product of claim 15, wherein the program instructions further cause the processor set to migrate the computing task from the first IoT device to the second IoT device by evaluating whether the second IoT device has available container resources to execute the computing task.