TW202027480A - System for automatically adjusting serverless function and method thereof - Google Patents

System for automatically adjusting serverless function and method thereof Download PDF

Info

Publication number
TW202027480A
TW202027480A TW108101013A TW108101013A TW202027480A TW 202027480 A TW202027480 A TW 202027480A TW 108101013 A TW108101013 A TW 108101013A TW 108101013 A TW108101013 A TW 108101013A TW 202027480 A TW202027480 A TW 202027480A
Authority
TW
Taiwan
Prior art keywords
data
health
module
diagnosis
serverless
Prior art date
Application number
TW108101013A
Other languages
Chinese (zh)
Other versions
TWI684347B (en
Inventor
陳銘金
鄭仁賢
連文達
Original Assignee
中華電信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW108101013A priority Critical patent/TWI684347B/en
Application granted granted Critical
Publication of TWI684347B publication Critical patent/TWI684347B/en
Publication of TW202027480A publication Critical patent/TW202027480A/en

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

System for automatically adjusting serverless function and method thereof are disclosed, wherein using a data collection sub-module in a container to collect operational datas of a serverless function in the container, and diagnosing a health of the operational datas through a health diagnostic module to control a serverless control module to adjust the container resource according to a result of the health diagnosis.

Description

自動調節無伺服器程式之系統與其方法 System and method for automatically adjusting serverless program

本發明係有關一種無伺服器程式技術,由指一種自動調節無伺服器程式之系統與方法。 The present invention relates to a serverless programming technology, and refers to a system and method for automatically adjusting the serverless programming.

無伺服器(Serverless)是一種雲端伺服器,使用者不須架設實體伺服器,使用者只需提供適當的代碼,其餘皆由雲端伺服器自動管理。 Serverless is a kind of cloud server. The user does not need to set up a physical server. The user only needs to provide the appropriate code, and the rest are automatically managed by the cloud server.

此外,無伺服器系統提供程式語言介面讓使用者開發無伺服器程式,再透過無伺服器系統來執行該無伺服器程式。過去該無伺服器系統在執行該無伺服器程式時,是採用生成容器(Container)並將該無伺服器程式載入該容器後,才可執行該無伺服器程式,並在執行完該無伺服器程式後,才將搭載該無伺服器程式的容器移除,然而,此種作法無法對執行中的該無伺服器程式進行即時的資源調節而產生效能低落的問題。 In addition, the serverless system provides a programming language interface for users to develop a serverless program, and then execute the serverless program through the serverless system. In the past, when the serverless system executed the serverless program, it used to generate a container and load the serverless program into the container before the serverless program could be executed. After the server program, the container carrying the serverless program is removed. However, this approach cannot perform real-time resource adjustment for the serverless program in execution, resulting in a problem of low performance.

因此,如何有效的自動調節該無伺服器程式的資源,即為本發明所要解決之技術問題。 Therefore, how to effectively automatically adjust the resources of the serverless program is the technical problem to be solved by the present invention.

為克服習知技術之缺失,本發明提供一種自動調節無伺服器程式之系統,係包括:數據管理模組,係儲存無伺服器程式;無伺服器程式管控模組,係從該數據管理模組所儲存之無伺服器程式中找出使用者介面欲執行者,以生成運作該欲執行的無伺服器程式的容器,其中,該容器包含數據收集子模組,係收集該欲執行的無伺服器程式於運作中的運作資料;以及健康度診斷模組,係供該使用者介面設定診斷週期及診斷條件以及接收該數據收集子模組所傳送該運作資料,以對該診斷週期內的該運作資料進行健康度計算,俾得到健康度資料,再比對該健康度資料與該診斷條件,以將比對之結果做為診斷資料,進而依據該診斷資料控制該無伺服器程式管控模組增加或減少該運作該欲執行的無伺服器程式之容器的生成。 In order to overcome the lack of conventional technology, the present invention provides a system for automatically adjusting serverless programs, which includes: a data management module, which stores serverless programs; a serverless program management and control module, from which data management modules From the serverless programs stored in the group, find the user interface to be executed to generate a container for running the serverless program to be executed. The container contains a data collection sub-module that collects the serverless program to be executed. The operation data of the server program in operation; and the health diagnosis module for the user interface to set the diagnosis period and diagnosis conditions and receive the operation data sent by the data collection sub-module for the diagnosis period Perform health calculation on the operating data to obtain health data, then compare the health data with the diagnostic conditions to use the result of the comparison as the diagnostic data, and then control the serverless program control model based on the diagnostic data The group increases or decreases the generation of the container for the serverless program to be executed for the operation.

於一實施例中,該數據管理模組更包含提供該使用者介面設定該無伺服器程式的自定義資料以及設定該自定義資料的標籤內容,其中,該自定義資料係為該無伺服器程式的功能、效能、特性或屬性,該標籤內容為量化型或非量化型者。 In one embodiment, the data management module further includes providing the user interface to set the custom data of the serverless program and setting the label content of the custom data, wherein the custom data is the serverless program The function, performance, characteristic or attribute of the program, the content of the label is quantitative or non-quantitative.

於一實施例中,該運作資料係為該自定義資料或狀態資料,其中,該狀態資料係為該容器之後端的中央處理器、記憶體、網路I/O或硬碟I/O的資料。 In one embodiment, the operating data is the custom data or status data, where the status data is the data of the central processing unit, memory, network I/O or hard disk I/O at the rear of the container .

於一實施例中,當該運作資料係為該狀態資料或為該自定義資料且該自定義資料的標籤內容為該量化型者時,該健康度診斷模組所進行的該健康度計算係為計算該診斷週期內的該運作資料的平均值,以令該平均值為該健康度資料,而當該運作資料係為該自定義資料且該自定義資料的標籤內容為該非量化型者時,該健康度診斷模組所進行的該健康度計算係為統計出該診斷週期內之每一筆該運作資料的統計資料,以令該統計資料為該健康度資料。 In one embodiment, when the operating data is the state data or the custom data and the label content of the custom data is the quantitative type, the health degree calculation performed by the health degree diagnosis module is In order to calculate the average value of the operating data in the diagnosis period, so that the average value is the health data, and when the operating data is the custom data and the label content of the custom data is the non-quantifiable one , The health degree calculation performed by the health degree diagnosis module is to count the statistical data of each operation data in the diagnosis period, so that the statistical data is the health degree data.

於一實施例中,該容器中的該數據收集子模組所收集到的該欲執行的無伺服器程式於運作中的運作資料係包含時序資料,以供該健康度診斷模組對該診斷週期內的該運作資料進行該健康度計算。 In one embodiment, the operating data of the serverless program to be executed collected by the data collection submodule in the container includes time series data for the health diagnosis module to diagnose The health calculation is performed on the operation data in the cycle.

本發明另提供一種自動調節無伺服器程式之方法,係包括:令數據管理模組接收使用者介面傳送的無伺服器程式;令該使用者介面藉健康度診斷模組設定診斷週期及診斷條件;令無伺服器程式管控模組從該數據管理模組所接收之無伺服器程式中找出該使用者介面欲執行者,以生成運作該欲執行的無伺服器程式的容器,其中,該容器包含數據收集子模組;令該容器中的數據收集子模組收集該欲執行的無伺服器程式於運作中的運作資料;令該健康度診斷模組接收該數據收集子模組所傳送的該運作資料,以對該診斷週期內的該運作資料進行健康度計算,俾得到健康度資料,再比對該健康度資料與該診斷條件,以將比對之結果做為診斷資料;以及令該健康度診斷模組依據該診斷資料控制該無伺服器程式管控模組,以增加或減少該運作該欲執行的無伺服器程式的容器之生成。 The present invention also provides a method for automatically adjusting a serverless program, which includes: enabling the data management module to receive the serverless program transmitted by the user interface; and enabling the user interface to set the diagnosis period and the diagnosis condition through the health diagnosis module ; Make the serverless program control module find the user interface to be executed from the serverless program received by the data management module to generate a container for running the serverless program to be executed, where the The container includes a data collection sub-module; the data collection sub-module in the container collects the operating data of the serverless program to be executed in operation; the health diagnosis module receives the data collection sub-module Calculate the health of the operating data in the diagnostic cycle to obtain the health data, compare the health data with the diagnostic conditions, and use the result of the comparison as the diagnostic data; and The health diagnosis module is made to control the serverless program management and control module according to the diagnostic data, so as to increase or decrease the generation of the container for running the serverless program to be executed.

於一實施例中,更包括令該使用者介面經由該數據管理模組設定該無伺服器程式的自定義資料以及設定該自定義資料的標籤內容,其中,該自定義資料係為該無伺服器程式的功能、效能、特性或屬性,該標籤內容為量化型或非量化型者。 In one embodiment, it further includes allowing the user interface to set the custom data of the serverless program through the data management module and set the label content of the custom data, wherein the custom data is the serverless program The function, performance, characteristics, or attributes of the device program, the content of the tag is quantified or non-quantified.

於一實施例中,該容器中的數據收集子模組收集該欲執行的無伺服器程式於運作中的該運作資料係為該自定義資料或狀態資料,其中,該狀態資料係為該容器之後端的中央處理器、記憶體、網路I/O或硬碟I/O的資料。 In one embodiment, the data collection sub-module in the container collects the operating data of the serverless program to be executed in operation as the custom data or status data, wherein the status data is the container Data from the central processing unit, memory, network I/O or hard disk I/O at the back end.

於一實施例中,當該運作資料係為該狀態資料或為該自定義資料且該自定義資料的標籤內容為該量化型者時,該健康度診斷模組所進行的該健康度計算係為計算該診斷週期內的該運作資料的平均值,以令該平均值為該健康度資料,而當該運作資料係為該自定義資料且該自定義資料的標籤內容為該非量化型者時,該健康度診斷模組所進行的該健康度計算係為統計出該診斷週期內之每一筆該運作資料的統計資料,以令該統計資料為該健康度資料。 In one embodiment, when the operating data is the state data or the custom data and the label content of the custom data is the quantitative type, the health degree calculation performed by the health degree diagnosis module is In order to calculate the average value of the operating data in the diagnosis period, so that the average value is the health data, and when the operating data is the custom data and the label content of the custom data is the non-quantifiable one , The health degree calculation performed by the health degree diagnosis module is to count the statistical data of each operation data in the diagnosis period, so that the statistical data is the health degree data.

於一實施例中,令該容器中的該數據收集子模組所收集到的該欲執行的無伺服器程式於運作中的運作資料係包含時序資料,以提供該健康度診斷模組對該診斷週期內的該運作資料進行該健康度計算。 In one embodiment, the operation data of the serverless program to be executed collected by the data collection submodule in the container includes time series data to provide the health diagnosis module with The health degree calculation is performed on the operation data in the diagnosis period.

本發明的技術特點如下: The technical features of the present invention are as follows:

1.動態生成數據收集模組以時序資料紀錄資源使用狀況,除一般程式運行資源如CPU、memory、network I/O、disk I/O外,亦可收集無伺服器程式自定義的數據資料,大幅提升適用性。 1. Dynamically generate data collection module to record resource usage with time series data. In addition to general program running resources such as CPU, memory, network I/O, disk I/O, it can also collect data without server program customization. Significantly improve applicability.

2.健康度診斷依據以週期資料為主,可針對每個無伺服器程式設定不同的週期及診斷條件,達到高度客製化的健康度診斷。 2. The health diagnosis is based on periodic data, and different periods and diagnosis conditions can be set for each serverless program to achieve a highly customized health diagnosis.

3.提出雙診斷模式,對於量化數據,健康度診斷採用週期平均數據,對於非量化數據,則健康度診斷改為週期統計資料做為輔助量化判斷,因此任何的數據類型皆能作為健康度診斷的依據。 3. The dual diagnosis mode is proposed. For quantitative data, the health diagnosis uses periodic average data, and for non-quantitative data, the health diagnosis is changed to periodic statistics as an auxiliary quantitative judgment, so any data type can be used as a health diagnosis Basis.

4.自動依無伺服器程式執行狀況進行資源調節提高程式可用性。 4. Automatically adjust resources according to the execution status of the serverless program to improve program usability.

由上可知,本發明透過容器中的數據收集子模組可收集該容器中之無伺服器程式於運作中的運作資料,並藉由健康度診斷模組對該運作資料的健康度診斷的結果進行該容器資源的調節。此外,該運作資料除該容器之後端 的中央處理器、記憶體、網路I/O或硬碟I/O的資料外,更包含使用者對該無伺服器程式設定的自定義資料及其的量化類型,故與該無伺服器程式有關的任何數據類型皆能作為健康度診斷的依據。因此,本發明不但能提高該無伺服器程式的可用性,同時也能節省資源的浪費降低營運成本。 It can be seen from the above that the present invention can collect the operating data of the serverless program in the container through the data collection sub-module in the container, and use the health diagnosis module to perform the health diagnosis results of the operating data. Adjust the resource of the container. In addition, the operational data except for the back end of the container In addition to the data of the CPU, memory, network I/O or hard disk I/O, it also includes the user-defined data set by the serverless program and its quantization type, so it is consistent with the serverless Any data type related to the program can be used as a basis for health diagnosis. Therefore, the present invention can not only improve the usability of the serverless program, but also save waste of resources and reduce operating costs.

101‧‧‧使用者介面 101‧‧‧User Interface

102‧‧‧數據管理模組 102‧‧‧Data Management Module

103‧‧‧無伺服器程式管控模組 103‧‧‧Serverless program control module

104‧‧‧健康度診斷模組 104‧‧‧Health Diagnosis Module

105‧‧‧容器 105‧‧‧Container

106‧‧‧數據收集子模組 106‧‧‧Data Collection Submodule

S1~S7‧‧‧步驟 S1~S7‧‧‧Step

第1圖係本發明之自動調節無伺服器程式之系統之示意架構圖;以及第2圖係本發明之自動調節無伺服器程式之方法之步驟流程圖。 Fig. 1 is a schematic structural diagram of the system for automatically adjusting a serverless program of the present invention; and Fig. 2 is a flowchart of the steps of the method for automatically adjusting a serverless program of the present invention.

以下藉由特定的具體實施例說明本發明之實施方式,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點及功效。 The following specific examples illustrate the implementation of the present invention. Those familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification.

須知,本說明書所附圖式所繪示之結構、比例、大小等,均僅用以配合說明書所揭示之內容,以供熟悉此技藝之人士之瞭解與閱讀,並非用以限定本發明可實施之限定條件,故不具技術上之實質意義,任何結構之修飾、比例關係之改變或大小之調整,在不影響本發明所能產生之功效及所能達成之目的下,均應仍落在本發明所揭示之技術內容得能涵蓋之範圍內。 It should be noted that the structures, proportions, sizes, etc. shown in the drawings in this manual are only used to match the contents disclosed in the manual for the understanding and reading of those familiar with the art, and are not intended to limit the implementation of the present invention. Therefore, it does not have any technical significance. Any structural modification, proportional relationship change, or size adjustment should still fall within the scope of the present invention without affecting the effects and objectives that can be achieved. The technical content disclosed by the invention can be covered.

第1圖係本發明之自動調節無伺服器程式之系統之示意架構圖。如圖所示,該系統係包括:使用者介面101、數據管理模組102、無伺服器程式(Serverless)管控模組103、健康度診斷模組104以及容器105,其中,數據管理模組102、無伺服器程式(Serverless)管控模組103、健康度診斷模組104以及容器105各 皆具有應用程式介面(Application programming interface,以下簡稱API),以令使用者介面101、數據管理模組102、無伺服器程式(Serverless)管控模組103以及健康度診斷模組104之間彼此透過該API進行資料的傳輸,以及令無伺服器程式(Serverless)管控模組103、健康度診斷模組104以及容器105之間彼此透過該API進行資料的傳輸。 Figure 1 is a schematic structural diagram of the system for automatically adjusting serverless programs of the present invention. As shown in the figure, the system includes: a user interface 101, a data management module 102, a serverless management control module 103, a health diagnosis module 104, and a container 105. Among them, the data management module 102 , Serverless control module 103, health diagnosis module 104 and container 105 each All have an application programming interface (API) to allow the user interface 101, data management module 102, serverless control module 103, and health diagnosis module 104 to pass through each other The API performs data transmission, and enables the serverless control module 103, the health diagnosis module 104, and the container 105 to perform data transmission among each other through the API.

使用者介面101,係提供使用者透過使用者介面101使用數據管理模組102、無伺服器程式(Serverless)管控模組103以及健康度診斷模組104。 The user interface 101 provides a user to use the data management module 102, the serverless control module 103, and the health diagnosis module 104 through the user interface 101.

數據管理模組102,係接收使用者介面101所傳送的無伺服器程式,並將該無伺服器程式儲存在數據管理模組102中。 The data management module 102 receives the serverless program sent by the user interface 101 and stores the serverless program in the data management module 102.

於一實施例中,數據管理模組102更包含提供使用者介面101設定數據管理模組102中的該無伺服器程式的自定義資料以及設定該自定義資料的標籤內容,其中,該自定義資料係為該無伺服器程式的功能、效能、特性或屬性,該標籤內容為量化型或非量化型者。需理解的是,當該自定義資料的標籤內容為量化型者表示該自定義資料為連續性資料,當該自定義資料的標籤內容為非量化型者表示該自定義資料為非連續性資料(例如開關的開啟或關閉的資料)。 In one embodiment, the data management module 102 further includes a user interface 101 for setting the custom data of the serverless program in the data management module 102 and setting the label content of the custom data, wherein the custom The data is the function, performance, characteristic, or attribute of the serverless program, and the content of the label is quantified or non-quantified. It should be understood that when the label content of the custom data is quantitative, it means that the custom data is continuous data, and when the label content of the custom data is non-quantitative, it means the custom data is non-continuous data. (For example, the data of the switch on or off).

舉例來說,假設該無伺服器程式為影音播放程式,該自定義資料可為影音播放的速度、影音解碼的速度或音量等等,只要是該影音播放程式的功能、效能、特性或屬性皆可設成該自定義資料,但不以此為限。 For example, assuming that the serverless program is an audio-visual player, the custom data can be the speed of audio-visual playback, the speed or volume of audio-visual decoding, etc., as long as the function, performance, characteristics or attributes of the audio-visual player are all This custom data can be set, but not limited to this.

於一實施例中,該使用者可使用一電子裝置(未圖示)操作使用者介面101,以令該使用者使用該電子裝置時,即可操作使用者介面101並透過使用者介面101與數據管理模組102之間的API,向數據管理模組102傳送該無伺服器程 式、設定該無伺服器程式的該自定義資料以及設定該自定義資料的標籤內容,其中,該電子裝置包含電腦或行動裝置,但不以此為限。 In one embodiment, the user can use an electronic device (not shown) to operate the user interface 101, so that when the user uses the electronic device, he can operate the user interface 101 and interact with the user interface 101 through the user interface 101. The API between the data management module 102 sends the serverless program to the data management module 102 Setting, setting the custom data of the serverless program, and setting the label content of the custom data. The electronic device includes a computer or a mobile device, but not limited to this.

無伺服器程式管控模組103,係從該數據管理模組102所儲存之無伺服器程式中找出該使用者介面101欲執行者,以生成運作該欲執行的無伺服器程式的容器105,其中,該容器105包含數據收集子模組106,係收集該欲執行的無伺服器程式於運作中的運作資料。 The serverless program management and control module 103 finds out who the user interface 101 wants to execute from the serverless programs stored in the data management module 102 to generate a container 105 for running the serverless program to be executed Wherein, the container 105 includes a data collection sub-module 106, which collects operating data of the serverless program to be executed in operation.

於一實施例中,該運作資料係為該自定義資料或狀態資料,其中,該狀態資料係為該容器之後端的中央處理器、記憶體、網路I/O或硬碟I/O的資料,但不以此為限。 In one embodiment, the operating data is the custom data or status data, where the status data is the data of the central processing unit, memory, network I/O or hard disk I/O at the rear of the container , But not limited to this.

健康度診斷模組104,係供使用者介面101設定診斷週期及診斷條件以及接收該數據收集子模組106所傳送的該運作資料,以對該診斷週期內的該運作資料進行健康度計算,俾得到健康度資料,再比對該健康度資料與該診斷條件,以將比對之結果做為診斷資料,進而依據該診斷資料控制無伺服器程式管控模組103增加或減少該運作該欲執行的無伺服器程式之容器105的生成。 The health diagnosis module 104 is used for the user interface 101 to set the diagnosis period and diagnosis conditions and receive the operation data sent by the data collection sub-module 106 to calculate the health of the operation data in the diagnosis period. To obtain the health data, compare the health data with the diagnostic condition to use the comparison result as the diagnostic data, and then control the serverless program management control module 103 to increase or decrease the operation requirements based on the diagnostic data. The generation of the container 105 of the executed serverless program.

於一實施例中,當該運作資料係為該狀態資料或為該自定義資料且該自定義資料的標籤內容為該量化型者時,為了有效過濾雜訊值干擾造成的誤判,健康度診斷模組104所進行的該健康度計算係為計算該診斷週期內的該運作資料的平均值,以令該平均值為該健康度資料,而當該運作資料係為該自定義資料且該自定義資料的標籤內容為該非量化型者時,該健康度診斷模組104所進行的該健康度計算係為統計出該診斷週期內之每一筆該運作資料的統計資料,以令該統計資料為該健康度資料。 In one embodiment, when the operating data is the status data or the custom data and the label content of the custom data is the quantitative type, in order to effectively filter the misjudgment caused by the noise value interference, the health diagnosis The health degree calculation performed by the module 104 is to calculate the average value of the operation data in the diagnosis period, so that the average value is the health degree data, and when the operation data is the custom data and the self-defined data When the label content of the definition data is the non-quantitative type, the health degree calculation performed by the health degree diagnosis module 104 is to count the statistical data of each operation data in the diagnosis period, so that the statistical data is The health information.

於一實施例中,容器105中的數據收集子模組106所收集到的該欲執行的無伺服器程式於運作中的運作資料係包含時序資料,以提供該健康度診斷模組104依據該運作資料中的時序資料,對該診斷週期內的該運作資料進行該健康度計算。 In one embodiment, the operating data of the serverless program to be executed collected by the data collection sub-module 106 in the container 105 includes time series data to provide the health diagnosis module 104 according to the For the time series data in the operation data, the health degree calculation is performed on the operation data in the diagnosis period.

於一實施例中,健康度診斷模組104更包含一資料庫,以儲存該數據收集子模組106所傳送的該運作資料,但不以此為限。 In one embodiment, the health diagnosis module 104 further includes a database for storing the operation data sent by the data collection sub-module 106, but it is not limited to this.

於一實施例中,該診斷資料中的健康度資料大於或小於該診斷條件時,則令健康度診斷模組104控制無伺服器管控模組103增加該運作該欲執行的無伺服器程式之容器的生成,或是該診斷資料中的健康度資料大於或小於該診斷條件時,則令健康度診斷模組104控制無伺服器管控模組103減少該運作該欲執行的無伺服器程式之容器的生成,但不以此為限。 In one embodiment, when the health data in the diagnostic data is greater or less than the diagnostic condition, the health diagnostic module 104 is made to control the serverless management control module 103 to increase the number of operations of the serverless program to be executed When the container is generated, or the health data in the diagnosis data is greater or less than the diagnosis condition, the health diagnosis module 104 controls the serverless control module 103 to reduce the number of serverless programs to be executed. The generation of containers, but not limited to this.

於一實施例中,該診斷條件包含第一診斷條件及第二診斷條件,其中,當該診斷資料是該健康度資料大於等於該第一診斷條件時,令健康度診斷模組104控制無伺服器管控模組103增加該運作該欲執行的無伺服器程式之容器105的生成,而當該診斷資料是該健康度資料小於等於該第二診斷條件時,令健康度診斷模組104控制無伺服器管控模組103減少該運作該欲執行的無伺服器程式之容器105的生成,其中,該第一診斷條件大於該第二診斷條件,但不以此為限。 In one embodiment, the diagnosis condition includes a first diagnosis condition and a second diagnosis condition, wherein, when the diagnosis data is that the health information is greater than or equal to the first diagnosis condition, the health diagnosis module 104 is controlled without servo The device management control module 103 increases the generation of the container 105 for operating the serverless program to be executed, and when the diagnostic data is that the health data is less than or equal to the second diagnostic condition, the health diagnostic module 104 controls the server The server management and control module 103 reduces the generation of the container 105 that operates the serverless program to be executed, wherein the first diagnostic condition is greater than the second diagnostic condition, but not limited to this.

第2圖係本發明之自動調節無伺服器程式之方法之步驟流程圖。該方法係包括下列執行步驟: Figure 2 is a flowchart of the steps of the method of automatically adjusting a serverless program of the present invention. The method includes the following execution steps:

在步驟S1中,接收無伺服器程式,其中,令數據管理模組102接收使用者介面101所傳送的無伺服器程式。 In step S1, the serverless program is received, wherein the data management module 102 is made to receive the serverless program sent by the user interface 101.

在步驟S2中,設定自定義資料及標籤內容,其中,令使用者介面101經由數據管理模組102設定該無伺服器程式的自定義資料以及設定該自定義資料的標籤內容,其中,該自定義資料係為該無伺服器程式的功能、效能、特性或屬性,該標籤內容為量化型或非量化型者。 In step S2, custom data and label content are set, wherein the user interface 101 is allowed to set the custom data of the serverless program and the label content of the custom data through the data management module 102, wherein the custom data The definition data is the function, performance, characteristic or attribute of the serverless program, and the content of the label is quantified or non-quantified.

在步驟S3中,設定診斷週期及診斷條件,其中,令使用者介面101藉健康度診斷模組104設定診斷週期及診斷條件。 In step S3, the diagnosis period and diagnosis conditions are set, wherein the user interface 101 is allowed to set the diagnosis period and diagnosis conditions through the health diagnosis module 104.

在步驟S4中,生成運作該無伺服器程式的容器,其中,令無伺服器程式管控模組103從數據管理模組102所接收之無伺服器程式中找出使用者介面101欲執行者,以生成運作該欲執行的無伺服器程式的容器105,其中,容器105包含數據收集子模組106。 In step S4, a container for running the serverless program is generated, wherein the serverless program management control module 103 finds the user interface 101 to be executed from the serverless program received by the data management module 102, In order to generate a container 105 for running the serverless program to be executed, the container 105 includes a data collection sub-module 106.

在步驟S5中,收集該無伺服器程式於運作中的運作資料,其中,令容器105中的數據收集子模組106收集該欲執行的無伺服器程式於運作中的運作資料。 In step S5, the operation data of the serverless program in operation is collected, wherein the data collection sub-module 106 in the container 105 is caused to collect the operation data of the serverless program to be executed in operation.

於一實施例中,該步驟S5中的容器105中的數據收集子模組106所收集該欲執行的無伺服器程式於運作中的該運作資料係為該自定義資料或狀態資料,其中,該狀態資料係為該容器之後端的中央處理器、記憶體、網路I/O或硬碟I/O的資料。 In one embodiment, the operation data collected by the data collection sub-module 106 in the container 105 in the step S5 in the operation of the serverless program to be executed is the custom data or status data, wherein, The status data is data of the central processing unit, memory, network I/O or hard disk I/O at the rear of the container.

在步驟S6中,對該運作資料進行健康度診斷,以得到診斷資料,其中,令健康度診斷模組104接收數據收集子模組106所傳送的該運作資料,以對該診斷週期內的該運作資料進行健康度診斷,俾得到健康度資料,再比對該健康度資料與該診斷條件,以將比對之結果做為診斷資料。 In step S6, perform a health diagnosis on the operation data to obtain the diagnosis data, wherein the health diagnosis module 104 is made to receive the operation data sent by the data collection sub-module 106 for the diagnosis period. The operational data is used for health diagnosis to obtain the health data, and then the health data is compared with the diagnosis condition to use the comparison result as the diagnosis data.

於一實施例中,當該運作資料係為該狀態資料或為該自定義資料且該自定義資料的標籤內容為該量化型者時,健康度診斷模組104所進行的該健康度計算係為計算該診斷週期內的該運作資料的平均值,以令該平均值為該健康度資料,而當該運作資料係為該自定義資料且該自定義資料的標籤內容為該非量化型者時,健康度診斷模組104所進行的該健康度計算係為統計出該診斷週期內之每一筆該運作資料的統計資料,以令該統計資料為該健康度資料。 In one embodiment, when the operating data is the status data or the custom data and the label content of the custom data is the quantitative type, the health degree calculation performed by the health degree diagnosis module 104 is In order to calculate the average value of the operating data in the diagnosis period, so that the average value is the health data, and when the operating data is the custom data and the label content of the custom data is the non-quantifiable one The health degree calculation performed by the health degree diagnosis module 104 is to count the statistical data of each operation data in the diagnosis period, so that the statistical data is the health degree data.

於一實施例中,令該步驟S5中的容器105中的數據收集子模組106所收集該欲執行的無伺服器程式於運作中的該運作資料係包含時序資料,以提供該步驟S6中的健康度診斷模組依據該運作資料中的時序資料,對該診斷週期內的該運作資料進行該健康度計算。 In one embodiment, the operation data collected by the data collection sub-module 106 in the container 105 in the step S5 in the operation of the serverless program to be executed includes time series data to provide the data in the step S6 The health diagnosis module of, according to the time series data in the operation data, performs the health calculation on the operation data in the diagnosis period.

在步驟S7中,依據該診斷資料,使運作該無伺服器程式的容器增加或減少,其中,令該健康度診斷模組104依據該診斷資料控制該無伺服器程式管控模組103,以增加或減少該運作該欲執行的無伺服器程式的容器之生成。 In step S7, according to the diagnostic data, the container for running the serverless program is increased or decreased, wherein the health diagnosis module 104 is made to control the serverless program management control module 103 according to the diagnostic data to increase Or reduce the generation of the container for the serverless program to be executed.

於一實施例中,當該步驟S7中的該診斷資料中的健康度資料大於或小於該診斷條件時,則令健康度診斷模組104控制無伺服器程式管控模組103增加該運作該欲執行的無伺服器程式的容器之生成,或是該診斷資料中的健康度資料大於或小於該診斷條件時,則令健康度診斷模組104控制無伺服器程式管控模組103減少該運作該欲執行的無伺服器程式的容器之生成,但不以此為限。 In one embodiment, when the health information in the diagnosis data in step S7 is greater than or less than the diagnosis condition, the health diagnosis module 104 is made to control the serverless program management module 103 to increase the desired operation. When the serverless program container is generated, or the health data in the diagnostic data is greater than or less than the diagnostic condition, the health diagnostic module 104 controls the serverless program management control module 103 to reduce the operation. The generation of the container of the serverless program to be executed, but not limited to this.

於一實施例中,該步驟S3所設定的該診斷條件包含第一診斷條件及第二診斷條件,以於該步驟S7中的該診斷資料是該健康度資料大於等於該第一診斷條件時,令健康度診斷模組104控制無伺服器程式管控模組103增加該運作該欲執行的無伺服器程式的容器105之生成,或於該診斷資料是該健康度資料小 於等於該第二診斷條件時,令健康度診斷模組104控制無伺服器程式管控模組103減少該運作該欲執行的無伺服器程式的容器105之生成,其中,該第一診斷條件大於該第二診斷條件,但不以此為限。 In one embodiment, the diagnosis condition set in step S3 includes a first diagnosis condition and a second diagnosis condition, so when the diagnosis data in step S7 is that the health information is greater than or equal to the first diagnosis condition, Make the health diagnosis module 104 control the serverless program management control module 103 to increase the generation of the container 105 that runs the serverless program to be executed, or if the diagnosis data is the health data When equal to the second diagnostic condition, the health diagnosis module 104 is made to control the serverless program management and control module 103 to reduce the generation of the container 105 that operates the serverless program to be executed, wherein the first diagnostic condition is greater than The second diagnosis condition, but not limited to this.

下列提供第一情境實例來說明本發明之自動調節無伺服器程式之系統與方法,其中,該第一情境實例中的無伺服程式是影音播放程式且其標籤內容為量化型者。 The following provides a first scenario example to illustrate the system and method for automatically adjusting a serverless program of the present invention, wherein the serverless program in the first scenario example is an audio-visual player program and its label content is a quantitative type.

當無伺服程式由使用者介面101上傳到數據管理模組102後,依使用者介面101設定無伺服程式的自定義資料(例:home_voice_db)及其標籤內容(例:quantifiable,量化型),接著,使用者介面101再向健康度診斷模組104設定無伺服程式的自定義資料的診斷週期(例:3分鐘)及診斷條件(例:home_voice_db<100,表示音量低於100db需增加運算資源)。 After the servoless program is uploaded to the data management module 102 from the user interface 101, the user interface 101 sets the custom data (for example: home_voice_db) and the label content (for example: quantifiable, quantifiable) of the servoless program according to the user interface 101, and then , The user interface 101 then sets the diagnostic period (for example: 3 minutes) and diagnostic conditions of the custom data without the servo program to the health diagnostic module 104 (for example: home_voice_db<100, indicating that the volume is lower than 100db and requires additional computing resources) .

在生成搭載該無伺服器程式的容器105並開始運作後,容器105中的數據收集子模組106會持續收集該無伺服器程式於運作中的該自定義資料,健康度診斷模組104也會依最新於運作中的該自定義資料進行該步驟S6中的健康度診斷,此時因home_voice_db的標籤為『quantifiable』,計算3分鐘內的於運作中的該自定義資料的平均值,並於該平均值小於100時,控制無伺服器程式管控模組103生成更多搭載該無伺服器程式的容器105來增加運算,量化型者之資料的健康度診斷採用週期平均值的優點在於可避免離群值造成的誤判(例:3分鐘內,共有30筆音量資料,其中1筆數值小於50,但其它29筆數值均大於110,此單筆50數值的影響經過週期平均後所造成誤判現象會降低)。 After the container 105 carrying the serverless program is generated and started to operate, the data collection submodule 106 in the container 105 will continue to collect the custom data of the serverless program in operation, and the health diagnosis module 104 will also The health diagnosis in step S6 will be performed based on the latest custom data in operation. At this time, because the label of home_voice_db is "quantifiable", calculate the average value of the custom data in operation within 3 minutes, and When the average value is less than 100, the serverless program management control module 103 is controlled to generate more containers 105 equipped with the serverless program to increase calculations. The health diagnosis of the quantitative data uses the periodic average value. Avoid misjudgment caused by outliers (eg: within 3 minutes, there are 30 volume data, one of which has a value less than 50, but the other 29 values are all greater than 110. The influence of this single 50 value is caused by periodic average. The phenomenon will decrease).

下列提供第二情境實例來說明本發明之自動調節無伺服器程式之系統與方法,其中,該第二情境實例中的無伺服程式是開關的程式且其標籤內容為非量化型者。 The following provides a second scenario example to illustrate the system and method for automatically adjusting a serverless program of the present invention, wherein the serverless program in the second scenario example is a switch program and its label content is a non-quantized one.

當無伺服程式由使用者介面101上傳到數據管理模組102後,依使用者介面101設定無伺服程式的自定義資料(例:busy_status)及其標籤內容(例:unquantifiable,非量化型)和定義值(例:high,mid,low共三種),接著,使用者介面101再向健康度診斷模組104設定無伺服程式的自定義資料的診斷週期(例:10分鐘)及診斷條件(例:busy_status==high>80%表示狀態忙碌超過百分比80時需增加運算資源)。 After the servoless program is uploaded from the user interface 101 to the data management module 102, the user interface 101 sets the custom data (for example: busy_status) and its label content (for example: unquantifiable, non-quantifiable) and Define the value (for example: high, mid, and low in total). Then, the user interface 101 then sets the diagnostic period (for example: 10 minutes) and diagnostic conditions (for example, 10 minutes) of the custom data without the servo program to the health diagnosis module 104 :Busy_status==high>80% means that computing resources need to be increased when the status is busy exceeding 80%).

在生成搭載該無伺服器程式的容器105並開始運作後,容器105中的數據收集子模組106會持續收集該無伺服器程式於運作中的該自定義資料,健康度診斷模組104也會依最新於運作中的該自定義資料進行該步驟S6中的健康度診斷,此時因busy_status的標籤為『unquantifiable』,統計10分鐘內的每一筆於運作中的該自定義資料的統計資料,當該統計資料發現busy_state為high的統計次數大於10分鐘內總次數的80%,則需增加運算資源。 After the container 105 carrying the serverless program is generated and started to operate, the data collection submodule 106 in the container 105 will continue to collect the custom data of the serverless program in operation, and the health diagnosis module 104 will also The health diagnosis in step S6 will be performed based on the latest custom data in operation. At this time, because the busy_status label is "unquantifiable", statistics of each custom data in operation within 10 minutes will be counted. When the statistical data finds that the number of times that busy_state is high is greater than 80% of the total number of times in 10 minutes, computing resources need to be increased.

當上述該第一及二情境實例中的容器105運作一陣子後,若健康度診斷模組104發現容器105中的無伺服器程式閒置並無進行運算,同樣會發送要求無伺服器程式管控模組103進行此容器105的回收,將閒置的資源釋放達到資源調節的目的。 After the container 105 in the first and second scenario examples has been running for a while, if the health diagnosis module 104 finds that the serverless program in the container 105 is idle and no calculation is performed, it will also send a request for serverless program control mode The group 103 recycles the container 105 and releases idle resources to achieve the purpose of resource adjustment.

由上可知,本發明透過容器中的數據收集子模組可收集該容器中之無伺服器程式於運作中的運作資料,並藉由健康度診斷模組對該運作資料的健康度診斷的結果進行該容器資源的調節。此外,該運作資料除該容器之後端 的中央處理器、記憶體、網路I/O或硬碟I/O的資料外,更包含使用者對該無伺服器程式設定的自定義資料及其的量化類型,故與該無伺服器程式有關的任何數據類型皆能作為健康度診斷的依據。因此,本發明不但能提高該無伺服器程式的可用性,同時也能節省資源的浪費降低營運成本。 It can be seen from the above that the present invention can collect the operating data of the serverless program in the container through the data collection sub-module in the container, and use the health diagnosis module to perform the health diagnosis results of the operating data. Adjust the resource of the container. In addition, the operational data is In addition to the data of the CPU, memory, network I/O or hard disk I/O, it also includes the user-defined data set by the serverless program and its quantization type, so it is consistent with the serverless Any data type related to the program can be used as a basis for health diagnosis. Therefore, the present invention can not only improve the usability of the serverless program, but also save waste of resources and reduce operating costs.

上述實施例係用以例示性說明本發明之原理及其功效,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修改。因此本發明之權利保護範圍,應如後述之申請專利範圍所列。 The above-mentioned embodiments are used to exemplify the principles and effects of the present invention, but not to limit the present invention. Anyone familiar with this technique can modify the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the rights of the present invention should be listed in the scope of patent application described later.

101‧‧‧使用者介面 101‧‧‧User Interface

102‧‧‧數據管理模組 102‧‧‧Data Management Module

103‧‧‧無伺服器程式管控模組 103‧‧‧Serverless program control module

104‧‧‧健康度診斷模組 104‧‧‧Health Diagnosis Module

105‧‧‧容器 105‧‧‧Container

106‧‧‧數據收集子模組 106‧‧‧Data Collection Submodule

Claims (10)

一種自動調節無伺服器程式之系統,係包括:數據管理模組,係儲存無伺服器程式;無伺服器程式管控模組,係從該數據管理模組所儲存之無伺服器程式中找出使用者介面欲執行者,以生成運作該欲執行的無伺服器程式的容器,其中,該容器包含數據收集子模組,係收集該欲執行的無伺服器程式於運作中的運作資料;以及健康度診斷模組,係供該使用者介面設定診斷週期及診斷條件以及接收該數據收集子模組所傳送該運作資料,以對該診斷週期內的該運作資料進行健康度計算,俾得到健康度資料,再比對該健康度資料與該診斷條件,以將比對之結果做為診斷資料,進而依據該診斷資料控制該無伺服器程式管控模組增加或減少該運作該欲執行的無伺服器程式之容器的生成。 A system for automatically adjusting serverless programs, including: a data management module, which stores serverless programs; a serverless program management and control module, which finds out the serverless programs stored in the data management module The user interface is intended to be executed to generate a container for running the serverless program to be executed, wherein the container includes a data collection sub-module that collects operating data of the serverless program to be executed in operation; and The health diagnosis module is used for the user interface to set the diagnosis period and diagnosis conditions and receive the operation data sent by the data collection sub-module, so as to calculate the health degree of the operation data in the diagnosis period to obtain health Then compare the health data with the diagnostic condition, and use the result of the comparison as the diagnostic data, and then control the serverless program control module to increase or decrease the number of operations to be executed based on the diagnostic data. The generation of the container of the server program. 如申請專利範圍第1項所述之系統,其中,該數據管理模組更包含提供該使用者介面設定該無伺服器程式的自定義資料以及設定該自定義資料的標籤內容,其中,該自定義資料係為該無伺服器程式的功能、效能、特性或屬性,該標籤內容為量化型或非量化型者。 For example, the system described in item 1 of the scope of patent application, wherein the data management module further includes providing the user interface to set the custom data of the serverless program and setting the label content of the custom data, wherein the self The definition data is the function, performance, characteristic or attribute of the serverless program, and the content of the label is quantified or non-quantified. 如申請專利範圍第2項所述之系統,其中,該運作資料係為該自定義資料或狀態資料,其中,該狀態資料係為該容器之後端的中央處理器、記憶體、網路I/O或硬碟I/O的資料。 For example, the system described in item 2 of the scope of patent application, wherein the operating data is the custom data or status data, and the status data is the central processing unit, memory, and network I/O at the rear of the container Or hard disk I/O data. 如申請專利範圍第3項所述之系統,其中,當該運作資料係為該狀態資料或為該自定義資料且該自定義資料的標籤內容為該量化型者時,該健康度診斷模組所進行的該健康度計算係為計算該診斷週期內的該運作資料的平 均值,以令該平均值為該健康度資料,而當該運作資料係為該自定義資料且該自定義資料的標籤內容為該非量化型者時,該健康度診斷模組所進行的該健康度計算係為統計出該診斷週期內之每一筆該運作資料的統計資料,以令該統計資料為該健康度資料。 Such as the system described in item 3 of the scope of patent application, wherein, when the operating data is the status data or the custom data and the label content of the custom data is the quantitative type, the health diagnosis module The health calculation performed is to calculate the average of the operating data during the diagnosis period. The average value, so that the average value is the health data, and when the operation data is the custom data and the label content of the custom data is the non-quantitative person, the health diagnosis performed by the health diagnosis module The calculation of degree is to calculate the statistical data of each operation data in the diagnosis period, so that the statistical data is the health data. 如申請專利範圍第1項所述之系統,其中,該容器中的該數據收集子模組所收集到的該欲執行的無伺服器程式於運作中的運作資料係包含時序資料,以供該健康度診斷模組對該診斷週期內的該運作資料進行該健康度計算。 For example, the system described in item 1 of the scope of patent application, wherein the operating data of the serverless program to be executed collected by the data collection sub-module in the container includes timing data for the The health degree diagnosis module performs the health degree calculation on the operation data in the diagnosis period. 一種自動調節無伺服器程式之方法,係包括:令數據管理模組接收使用者介面傳送的無伺服器程式;令該使用者介面藉健康度診斷模組設定診斷週期及診斷條件;令無伺服器程式管控模組從該數據管理模組所接收之無伺服器程式中找出該使用者介面欲執行者,以生成運作該欲執行的無伺服器程式的容器,其中,該容器包含數據收集子模組;令該容器中的數據收集子模組收集該欲執行的無伺服器程式於運作中的運作資料;令該健康度診斷模組接收該數據收集子模組所傳送的該運作資料,以對該診斷週期內的該運作資料進行健康度計算,俾得到健康度資料,再比對該健康度資料與該診斷條件,以將比對之結果做為診斷資料;以及令該健康度診斷模組依據該診斷資料控制該無伺服器程式管控模組,以增加或減少該運作該欲執行的無伺服器程式的容器之生成。 A method for automatically adjusting a serverless program includes: enabling the data management module to receive the serverless program sent by the user interface; enabling the user interface to set the diagnostic cycle and diagnostic conditions through the health diagnosis module; The server program management and control module finds out the user interface to be executed from the serverless program received by the data management module to generate a container for operating the serverless program to be executed, wherein the container contains data collection Sub-module; make the data collection sub-module in the container collect the operating data of the serverless program to be executed in operation; make the health diagnosis module receive the operating data sent by the data collection sub-module , To calculate the health degree of the operation data in the diagnosis cycle to obtain the health degree data, and then compare the health degree data with the diagnosis condition to use the comparison result as the diagnosis data; and make the health degree The diagnostic module controls the serverless program management and control module according to the diagnostic data to increase or decrease the generation of containers for the serverless program to be executed. 如申請專利範圍第6項所述之方法,更包括令該使用者介面經由該數據管理模組設定該無伺服器程式的自定義資料以及設定該自定義資料的標 籤內容,其中,該自定義資料係為該無伺服器程式的功能、效能、特性或屬性,該標籤內容為量化型或非量化型者。 For example, the method described in item 6 of the scope of patent application further includes enabling the user interface to set the custom data of the serverless program through the data management module and setting the standard of the custom data Label content, where the custom data is the function, performance, feature, or attribute of the serverless program, and the label content is either quantitative or non-quantifiable. 如申請專利範圍第7項所述之方法,其中,該容器中的數據收集子模組收集該欲執行的無伺服器程式於運作中的該運作資料係為該自定義資料或狀態資料,其中,該狀態資料係為該容器之後端的中央處理器、記憶體、網路I/O或硬碟I/O的資料。 Such as the method described in item 7 of the scope of patent application, wherein the data collection sub-module in the container collects the operating data of the serverless program to be executed in operation is the custom data or status data, wherein The status data is the data of the central processing unit, memory, network I/O or hard disk I/O at the rear of the container. 如申請專利範圍第8項所述之方法,其中,當該運作資料係為該狀態資料或為該自定義資料且該自定義資料的標籤內容為該量化型者時,該健康度診斷模組所進行的該健康度計算係為計算該診斷週期內的該運作資料的平均值,以令該平均值為該健康度資料,而當該運作資料係為該自定義資料且該自定義資料的標籤內容為該非量化型者時,該健康度診斷模組所進行的該健康度計算係為統計出該診斷週期內之每一筆該運作資料的統計資料,以令該統計資料為該健康度資料。 Such as the method described in item 8 of the scope of patent application, wherein, when the operating data is the status data or the custom data and the label content of the custom data is the quantitative type, the health diagnosis module The health degree calculation performed is to calculate the average value of the operation data in the diagnosis period, so that the average value is the health degree data, and when the operation data is the custom data and the value of the custom data When the label content is the non-quantitative person, the health calculation performed by the health diagnosis module is to count the statistical data of each operation data in the diagnosis period, so that the statistical data is the health data . 如申請專利範圍第6項所述之方法,其中,令該容器中的該數據收集子模組所收集到的該欲執行的無伺服器程式於運作中的運作資料係包含時序資料,以提供該健康度診斷模組對該診斷週期內的該運作資料進行該健康度計算。 For example, the method described in item 6 of the scope of patent application, wherein the operation data of the serverless program to be executed collected by the data collection sub-module in the container includes time series data to provide The health diagnosis module performs the health calculation on the operation data in the diagnosis period.
TW108101013A 2019-01-10 2019-01-10 System for automatically adjusting serverless function and method thereof TWI684347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108101013A TWI684347B (en) 2019-01-10 2019-01-10 System for automatically adjusting serverless function and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108101013A TWI684347B (en) 2019-01-10 2019-01-10 System for automatically adjusting serverless function and method thereof

Publications (2)

Publication Number Publication Date
TWI684347B TWI684347B (en) 2020-02-01
TW202027480A true TW202027480A (en) 2020-07-16

Family

ID=70413246

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108101013A TWI684347B (en) 2019-01-10 2019-01-10 System for automatically adjusting serverless function and method thereof

Country Status (1)

Country Link
TW (1) TWI684347B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI785931B (en) * 2021-12-14 2022-12-01 中華電信股份有限公司 System, method and computer readable medium for monitoring serverless running function process

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100481783C (en) * 2007-04-20 2009-04-22 北京航空航天大学 Control system of grid service container
CN107797807B (en) * 2016-08-29 2021-04-06 阿里巴巴集团控股有限公司 Method, device, terminal, server and system for generating container
TWI646435B (en) * 2017-12-28 2019-01-01 中華電信股份有限公司 Serverless system and execution method thereof

Also Published As

Publication number Publication date
TWI684347B (en) 2020-02-01

Similar Documents

Publication Publication Date Title
US10439900B2 (en) Quality of service policy based load adaption
WO2021063339A1 (en) Cluster resource scheduling method, apparatus, device and storage medium
WO2019141134A1 (en) Data query method, apparatus and device
JP4912401B2 (en) System and method for adaptively collecting performance and event information
US11204806B2 (en) Systems and methods for user adaptive resource management
JP5744707B2 (en) Computer-implemented method, computer program, and system for memory usage query governor (memory usage query governor)
US8595366B2 (en) Method and system for dynamically creating and servicing master-slave pairs within and across switch fabrics of a portable computing device
WO2017028697A1 (en) Method and device for growing or shrinking computer cluster
US9275102B2 (en) System load query governor
US11726540B2 (en) Usage scenario based monitoring and adjustment
WO2021093365A1 (en) Gpu video memory management control method and related device
WO2021258753A1 (en) Service processing method and apparatus, and electronic device and storage medium
WO2020253111A1 (en) Automatic expansion method and apparatus for blockchain node, and operation and maintenance terminal and storage medium
CN112131005B (en) Resource adjustment strategy determination method and device
TW201743223A (en) Self-adaptive resource allocation method and device
WO2018166297A1 (en) Cache allocation method and device
DE102020102783A1 (en) METHODS AND DEVICES FOR IMPROVING A PERFORMANCE DATA COLLECTION OF A HIGH PERFORMANCE CALCULATION APPLICATION
CN111858034B (en) Resource management method, system, device and medium
Han et al. E3: Energy-efficient engine for frame rate adaptation on smartphones
WO2022016845A1 (en) Multi-node monitoring method and apparatus, electronic device, and storage medium
CN107402863B (en) Method and equipment for processing logs of service system through log system
CN112835698A (en) Heterogeneous cluster-based dynamic load balancing method for request classification processing
US20220300323A1 (en) Job Scheduling Method and Job Scheduling Apparatus
JP3993848B2 (en) Computer apparatus and computer apparatus control method
CN105242955B (en) A kind of magnetic disk of virtual machine input/output scheduling method and system