JP3964896B2 - Resource allocation apparatus and resource allocation method - Google Patents
Resource allocation apparatus and resource allocation method Download PDFInfo
- Publication number
- JP3964896B2 JP3964896B2 JP2004288913A JP2004288913A JP3964896B2 JP 3964896 B2 JP3964896 B2 JP 3964896B2 JP 2004288913 A JP2004288913 A JP 2004288913A JP 2004288913 A JP2004288913 A JP 2004288913A JP 3964896 B2 JP3964896 B2 JP 3964896B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- server
- processing request
- servers
- type
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Description
本発明は、サーバ負荷分散装置と複数のサーバとが組込まれた情報処理システムに係わり、特に、この情報処理システムにおける負荷状態に応じて、サーバ(資源)の動作(割当数)を制御する資源割当装置及び資源割当方法に関する。 The present invention relates to an information processing system in which a server load balancer and a plurality of servers are incorporated, and in particular, a resource for controlling the operation (allocation number) of a server (resource) according to a load state in the information processing system. The present invention relates to an allocation device and a resource allocation method .
例えば、図5に示すように、企業のネットワーク(インターネット)1上に公開されたWebサイトに採用される情報処理システム2においては、多数のクライアント(顧客 消費者)3からの同一IPアドレス(URL)を指定したアクセス要求(処理要求)に短時間で応答するために、1台のサーバ負荷分散装置(ロードバランサー)4と複数台のサーバ5とが組込まれている。各サーバ5には、クライアント(顧客 消費者)3からの例えばホームページ閲覧要求等の処理要求を実現するためのWeb処理部6が組込まれている。
For example, as shown in FIG. 5, in an
サーバ負荷分散装置4は、各クライアント3からネットワーク(インターネット)1を介して入力された同一IPアドレス(URL)を指定した複数のアクセス要求(処理要求)を各サーバ5に割り振る。処理要求が割り振られたサーバ5は、自己のWeb処理部6で処理要求が指定する例えばホームページ閲覧に応じるホームページ送信等の処理を実行する。
The server load balancer 4 allocates a plurality of access requests (processing requests) specifying the same IP address (URL) input from each
なお、各サーバ5は、同時に複数の処理を実施可能である。同時にM個の処理が可能であれば、n個のサーバ5が情報処理システム2に組込まれていた場合は、この情報処理システム2で同時に(M×n)個のクライアント3からの処理要求に応じることが可能である。
Each
このような情報処理システム2においては、サーバ負荷分散装置4へ入力される処理要求数は、一定でなく、時間、曜日に応じて大きく変動する。したがって、常時、全部のサーバ5を動作状態にすることはなく、その時点の処理要求数Aに応じて運転するサーバ数Eを1台分余裕を見越して次のように決めておく。
In such an
E=(A/M)+1
このサーバ数E分のサーバ5のみを運転(動作)状態にする。そして、サーバ負荷分散装置4は、各クライアント3からネットワーク1を介して入力された各処理要求を動作中の各サーバ5に割り振る。
E = (A / M) +1
Only the
なお、特許文献1に、各負荷ユニット(サーバ)の負荷率を算出して、負荷率の小さい負荷ユニット(サーバ)に新規の負荷要求を送信する技術が開示されている。
しかしながら、上述した手法でその時点の処理要求数Aに応じて運転するサーバ数Eを求める情報処理システム2においても、まだ解消すべき次のような課題があった。
However, the
すなわち、図6に示すように、各サーバ5内に、上述した例えばクライアント3からのホームページ閲覧要求等の処理要求を実現するためのWeb処理部6の他に、クライアント3からのメール応答要求等の処理要求を実現するためメール処理部7が設けられている場合を想定する。
That is, as shown in FIG. 6, in each
この場合、各サーバ5にはWeb処理要求とメール処理要求との2種別の処理要求が入力される。各サーバ5は、同時にM個の処理を実施可能である。しかし、一つのメール処理を実行する場合のCPUの処理負担は、一つのWeb処理を実行する場合のCPUの処理負担に比較して格段に大きく、その結果、処理時間も長くなる。
In this case, each
したがって、サーバ5に入力されたM個の処理要求が全部メール処理要求である場合のサーバ5の処理負担は、サーバ5に入力されたM個の処理要求が全部Web処理要求である場合のサーバ5の処理負担に比較して格段に大きくなる。その結果、該当サーバ5の全体の処理時間が他のサーバ5に比較して長くなる。この場合、メール処理要求が多いサーバ5に入力されたWeb処理要求の処理も遅れることになる。
Therefore, the processing load of the
このことは、各クライアント3からネットワーク1を介して情報処理システム2に入力された各処理要求の処理所要時間に大きな差が生じる問題がある。また、サーバ5間で処理負担の大きな不均一が生じる。
This has a problem that a large difference occurs in the processing time required for each processing request input from each
本発明はこのような事情に鑑みてなされたものであり、たとえ外部から入力される処理要求が処理負担の異なる複数種別の処理要求であったとしても、かつ外部から入力される処理要求数が時間的に変動したとしても、各サーバの処理負担をほぼ均一に維持でき、外部から入力される処理要求が指定する処理を時間遅れなく正常に実行できる資源割当装置及び資源割当方法を提供することを目的とする。 The present invention has been made in view of such circumstances, and even if the processing requests input from the outside are a plurality of types of processing requests having different processing loads, the number of processing requests input from the outside is not limited. To provide a resource allocation device and a resource allocation method that can maintain the processing load of each server almost evenly even if it fluctuates in time, and that can normally execute processing specified by a processing request input from the outside without time delay With the goal.
本発明は、複数のサーバと、クライアントから入力された複数かつ複数種別の処理要求を動作状態のサーバに割り振るサーバ負荷分散装置とを持つ情報処理システムにおける資源割当装置である。 The present invention is a resource allocation apparatus in the information processing system having a plurality of servers, a server load balancer that allocate processing requests of a plurality and plurality of types of input from a client to a server operating state.
そして、上記課題を解消するために、本発明の資源割当装置は、処理要求の種別毎に当該種別の処理を実行するに要する時間に対応した補正値を記憶する補正値記憶手段と、クライアントから入力される種別毎の単位時間当たりの処理要求数を算出する処理要求数算出手段と、処理要求数算出手段で算出した種別毎の単位時間当たりの処理要求数に前記補正値記憶手段に記憶された該当種別毎の補正値を乗算して種別毎の単位時間当たりの処理要求数を補正する処理要求数補正手段と、この処理要求数補正手段で補正された種別毎の単位時間当たりの補正済処理要求数を加算して、クライアントから入力された処理要求に対する補正済合計処理要求数を求める処理要求加算手段と、加算した補正済合計処理要求数をサーバの同時処理可能な処理要求数を示す最大処理可能数で除算して、この除算値に余裕台数を加算した数をクライアントから入力された処理要求を処理するために必要なサーバ数として求めるサーバ数算出手段と、このサーバ数算出手段で算出された必要サーバ数に基づいて動作状態のサーバ数を増減するサーバ制御手段とを備えている。 In order to solve the above-described problem, the resource allocation device of the present invention includes a correction value storage unit that stores a correction value corresponding to the time required to execute the type of processing for each type of processing request, and a client. The processing request number calculating means for calculating the number of processing requests per unit time for each type inputted, and the processing request number per unit time for each type calculated by the processing request number calculating means are stored in the correction value storage means. It was appropriate as the processing request count correcting means for classification for each of multiplying the correction value for correcting the number of processing requests per unit of each type time, corrected per unit time per corrected type in this processing request number correction means by adding the number of processing requests, a processing request adding means for obtaining the number of corrected total processing required for the input processing request from the client, that can be processed simultaneously in the addition number was corrected total processing requesting server punished Is divided by the maximum processable number indicating the number of requests, a server number calculating means for determining a number of servers necessary to process the input processing request number obtained by adding a margin number to the quotient from the client, the server Server control means for increasing or decreasing the number of servers in the operating state based on the required number of servers calculated by the number calculation means.
このように構成された情報処理システムにおける資源割当装置においては、外部から入力される種別毎の処理要求数が算出され、算出された種別毎の処理要求数は、種別毎の処理時間に対応する補正値で補正される。したがって、補正後の種別毎の処理要求数は処理に必要な時間に対応する(比例する)処理要求数となる。よって、補正後の種別毎の処理要求数の加算値から必要なサーバ数を正確に求めることが可能となる。 In the resource allocation device in the information processing system configured as described above, the number of processing requests for each type input from the outside is calculated, and the calculated number of processing requests for each type corresponds to the processing time for each type. It is corrected with the correction value. Therefore, the number of processing requests for each type after correction is the number of processing requests corresponding to (proportional to) the time required for processing. Therefore, the required number of servers can be accurately obtained from the added value of the number of processing requests for each type after correction.
その結果、たとえ外部からに入力される処理要求が処理負担の異なる複数種別の処理要求であったとしても、かつ外部から入力される処理要求数が変動したとしても、各サーバの処理負担をほぼ均一に維持できる。 As a result, even if the processing request input from the outside is a plurality of types of processing requests with different processing loads, and the number of processing requests input from the outside fluctuates, the processing load of each server is almost the same. It can be maintained uniformly.
また、別の発明は、複数のサーバと、クライアントから入力された複数かつ複数種別の処理要求を動作状態のサーバに割り振るサーバ負荷分散装置とを持つ情報処理システムにおける資源割当方法である。 Another invention includes a plurality of servers, a resource allocation method in an information processing system having a server load balancer that allocate the server process requests the operating status of the plurality and plurality of types input from the client.
そして、上記課題を解消するために、本発明の資源割当方法は、クライアントから入力される種別毎の単位時間当たりの処理要求数を算出する処理要求数算出ステップと、処理要求数算出ステップで算出した種別毎の単位時間当たりの処理要求数に、該当種別の処理要求の処理時間に対応した補正値を乗算して種別毎の単位時間当たりの処理要求数を補正する処理要求数補正ステップと、この処理要求数補正ステップで補正された種別毎の単位時間当たりの補正済処理要求数を加算して、クライアントから入力された処理要求に対する補正済合計処理要求を求める処理要求加算ステップと、加算した補正済合計処理要求数をサーバの同時処理可能な処理要求数を示す最大処理可能数で除算して、この除算値に余裕台数を加算した数をクライアントから入力された処理要求を処理するために必要なサーバ数として求めるサーバ数算出ステップと、このサーバ数算出ステップで算出された必要サーバ数に基づいて動作状態のサーバ数を増減するサーバ制御ステップとを備えている。 In order to solve the above problem, the resource allocation method according to the present invention is calculated by a processing request number calculating step for calculating a processing request number per unit time for each type input from a client, and a processing request number calculating step. A processing request number correction step of correcting the processing request number per unit time for each type by multiplying the processing request number per unit time for each type by a correction value corresponding to the processing time of the processing request of the corresponding type ; A processing request addition step for obtaining a corrected total processing request for the processing request input from the client by adding the corrected processing request number per unit time for each type corrected in the processing request number correction step, and adding Divide the corrected total processing request count by the maximum processing count that indicates the number of processing requests that can be processed simultaneously by the server, and add the surplus number to the division value. Server control step of increasing or decreasing the number of servers calculating step of obtaining a number of servers required, the number of servers operating state based on the required number of servers that are calculated by the server number calculating step for processing the processing request inputted from bets And.
このように構成された情報処理システムにおける資源割当方法においては、上述した情報処理システムにおける資源割当装置とほぼ同じ作用効果を奏することが可能である。 In the resource allocation method in the information processing system configured as described above, it is possible to achieve substantially the same operational effects as the resource allocation device in the information processing system described above.
本発明は、外部から入力される種別毎の処理要求数を算出し、算出した種別毎の処理要求数を種別毎の処理時間に対応する補正値で補正し、補正後の種別毎の処理要求数の加算値から必要なサーバ数を求めている。 The present invention calculates the number of processing requests for each type input from the outside, corrects the calculated number of processing requests for each type with a correction value corresponding to the processing time for each type, and processes the processing request for each type after correction. The required number of servers is obtained from the sum of the numbers.
したがって、たとえ外部から入力される処理要求が処理負担の異なる複数種別の処理要求であったとしても、かつ外部から入力される処理要求数が時間的に変動したとしても、各サーバの処理負担をほぼ均一に維持でき、外部から入力される処理要求が指定する処理を時間遅れなく正常に実行できる。 Therefore, even if processing requests input from the outside are multiple types of processing requests with different processing loads, and even if the number of processing requests input from outside fluctuates over time, the processing load on each server is reduced. The process can be maintained almost uniformly, and the process specified by the process request input from the outside can be executed normally without time delay.
以下、本発明の一実施形態を図面を用いて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
図1は、本発明の一実施形態の資源割当方法が採用された資源割当装置が組込まれた情報処理システムの概略構成を示す模式図である。図5、図6に示す従来の情報処理システム2と同一部分には同一符号を付して重複する部分の重複説明を省略する。
FIG. 1 is a schematic diagram showing a schematic configuration of an information processing system in which a resource allocation device employing a resource allocation method according to an embodiment of the present invention is incorporated. The same parts as those of the conventional
例えば、企業のネットワーク(インターネット)1上に公開されたWebサイトに採用される情報処理システム11には、多数のクライアント(顧客 消費者)3からの各アクセス要求(処理要求)に短時間で応答するために、1台のサーバ負荷分散装置(ロードバランサー)12と、n台のサーバ5と、1台の資源割当装置13とが組込まれている。
For example, the information processing system 11 employed in a Web site published on the corporate network (Internet) 1 responds to each access request (processing request) from a large number of clients (customer consumers) 3 in a short time. For this purpose, one server load balancer (load balancer) 12,
各サーバ5には、クライアント(顧客 消費者)3からの例えばホームページ閲覧要求等の処理要求を実現するためのWeb処理部6と、クライアント(顧客 消費者)3からのメール応答要求等の処理要求を実現するためメール処理部7との2種別の処理部が組込まれている。メール処理部7で一つのメール処理を実行する場合のCPUの処理負担、すなわち処理時間は、例えば、Web処理部6で一つのWeb処理を実行する場合の処理時間に対して2倍を必要とする。各サーバ5は同時にM個の処理を実施可能である。なお、各サーバ5は、資源割当装置13でON/OFF制御される。
Each
したがって、各クライアント3から情報処理システム11へ入力される処理要求には、Web処理要求(種別W1)とメール処理要求(種別W2)との2種別ある。
Accordingly, there are two types of processing requests input from each
サーバ負荷分散装置(ロードバランサー)12には、サーバ処理容量メモリ14、サーバ状態メモリ15、サーバ負荷状況メモリ16、処理要求受信部17、処理種別判定部18、処理要求分配部19が設けられている。
The server load balancer (load balancer) 12 includes a server
サーバ処理容量メモリ14内には、図2(a)に示すように、各サーバ5における同時に処理可能な処理要求数を示す最大処理可能数M(この実施形態においては、M=50)と、各処理種別W1、W2の単独処理可能数N1、N2(この実施形態においては、N1=50、N2=25)とが記憶されている。この各単独処理可能数N1、N2は、サーバ5において、対応する種別W1、W2の処理のみを実行した場合において、その処理時間が基準時間内に終了する処理要求数である。
In the server
サーバ状態メモリ15内には、図2(b)に示すように、No.1〜No.nのn台の各サーバ5の現在時点における動作中(ON)又は停止中(OFF)であるかの状態が記憶されている。
In the
サーバ負荷状況メモリ16内には、n台の各サーバ5の現在時点における処理中の処理要求の各種別W1、W2毎の処理要求数X1、X2が記憶されている。
The server
処理要求受信部17は、各クライアント3からネットワーク1を介して入力された複数のアクセス要求(処理要求)を受信し、次の処理種別判定部18へ送出する。処理種別判定部18は、入力された各処理要求の種別W1、W2を判定して、各処理要求に種別W1、W2を付して、次の処理要求分配部19へ送出する。
The processing request reception unit 17 receives a plurality of access requests (processing requests) input from each
処理要求分配部19は、順次入力される各種別W1、W2の処理要求を、サーバ状態メモリ15内に設定された動作中の各サーバ5に対して例えばラウンドロビン方式で順番に割り振って(送信して)いく。そして、割り振り(送信)結果をサーバ負荷状況メモリ16内に登録(書込む)する。
The processing
なお、サーバ負荷状況メモリ16内の割り振り先のサーバ5の割り振り済みの、処理時間で補正した処理要求数S=X1+2X2が最大処理可能数Mを超える場合は、このサーバ5に対する新規処理要求の割り振り(送信)を実施せずに、次のサーバ5に新規処理要求の割り振り(送信)を行う。さらに、処理要求分配部19は、サーバ5にて情報処理が終了した処理要求をサーバ負荷状況メモリ16内から削除する。
If the processing request number S = X 1 + 2X 2 already allocated by the
図3は、資源割当装置13の概略構成を示すブロック図である。
処理要求数算出部20は、サーバ負荷分散装置12の処理種別判定部18から出力されたWeb処理要求(種別W1)の単位時間当たりの処理要求数c1を算出して、次の処理要求数補正部21へ送出する。一方、処理要求数算出部22は、サーバ負荷分散装置12の処理種別判定部18から出力されたメール処理要求(種別W2)の単位時間当たりの処理要求数c2を算出して、次の処理要求数補正部23へ送出する。
FIG. 3 is a block diagram showing a schematic configuration of the
The processing request
補正値メモリ24内には、処理要求の前述した種別W1、W2毎に各処理要求の処理を実行するに要する時間に対応した補正値B1、B2が記憶されている。この実施形態においては、メール処理要求(種別W2)の処理時間はWeb処理要求(種別W1)の処理時間の2倍であるので、各補正値は、B1=1、B2=2に設定されている。
In the
処理要求数補正部21は、処理要求数c1に補正値B1=1を乗算して、Web処理要求(種別W1)の処理要求数を補正して、補正後の処理要求数c1Aとして、有効サーバ数算出部25へ送出する。同様に、処理要求数補正部23は、処理要求数c2に補正値B2=2を乗算して、メール処理要求(種別W2)の処理要求数を補正して、補正後の処理要求数c2Aとして、有効サーバ数算出部25へ送出する。
The processing request
c1A=c1×B1=c1×1=c1
c2A=c2×B2=c2×2=2c2
有効サーバ数算出式メモリ26内には、前述した最大処理可能数M、及び補正後の処理要求数c1A、c2Aを用いて、1台分余裕を見越した必要なサーバ数D1を算出する算出式が記憶されている。
c 1A = c 1 × B 1 = c 1 × 1 = c 1
c 2A = c 2 × B 2 = c 2 × 2 = 2c 2
Valid server number
D1=[(c1A+c2A)/M]+1
有効サーバ数算出部25は、補正後の処理要求数c1A、c2A分の処理要求を実現させるために必要なサーバ数D1を前述した算出式を用いて算出して、比較部27へ送出する。
D 1 = [(c 1A + c 2A ) / M] +1
The effective server
サーバ状態読取部28は、サーバ負荷分散装置12のサーバ状態メモリ15内の動作中のサーバ数D0を読取って比較部27へ送出する。さらに、サーバ状態読取部28は、各サーバ5の現在時点における動作中(ON)又は停止中(OFF)の状態を読取って状態変更サーバ決定部30へ送出する。
The server
比較部27は、算出した必要なサーバ数D1と現在時点で動作中のサーバ数D0とを比較して、不一致の場合のみ、サーバ変更数算出部29を起動する。サーバ変更数算出部29は、必要なサーバ数D1と動作中のサーバ数D0との差で示されるサーバ変更数(D1ーD0)を算出して、状態変更サーバ決定部30へ送出する。
The
状態変更サーバ決定部30は、各サーバ5の現在時点における動作中(ON)又は停止中(OFF)の状態に基づいて、新たに起動又は停止するサーバ5を例えばサーバ番号の若い順に決定して、サーバ状態変更部31を介してサーバ負荷分散装置12のサーバ状態メモリ15内の該当サーバ5の動作中(ON)又は停止中(OFF)の状態を変更する。
The state change
さらに、状態変更サーバ決定部30は、決定した起動又は停止するサーバ5を、サーバ起動停止制御部32を介して実際に起動又は停止する。
Further, the state change
図4は、このように構成された資源割当装置13の全体動作を示す流れ図である。制御周期で定まる規定時間TSが経過すると(ステップS1)、各クライアント3から情報処理システム11へ入力されるWeb処理要求(種別W1)とメール処理要求(種別W2)との単位時間当たりの処理要求数c1、c2を読取る(S2)。読取った各処理要求数c1、c2を、一律条件とするために、補正値B1、B2を乗算して補正する(S3)。
FIG. 4 is a flowchart showing the overall operation of the
補正済みの処理要求数c1A、c2Aから、1台分余裕を見越した必要なサーバ数D1を算出式D1=[(c1A+c2A)/M]+1を用いて算出する(S4)。現在時点で動作中のサーバ数D0を読取る(S5)。算出した必要なサーバ数D1と現在時点で動作中のサーバ数D0とを比較して(S6)、一致する場合は(S7)、動作中のサーバ数を変更する必要ないので、何もせずに、そのままS1へ戻り、次の制御周期まで待つ。 From the corrected number of processing requests c 1A and c 2A , the necessary number of servers D 1 in anticipation of a margin for one is calculated using the calculation formula D 1 = [(c 1A + c 2A ) / M] +1 (S4 ). The number of servers D 0 currently operating is read (S5). Compared calculated and server number D 1 required a number of servers D 0 in operation at the present time (S6), if there is a match (S7), since it is not necessary to change the number of servers during operation, doing anything Instead, the process returns to S1 and waits until the next control cycle.
算出した必要なサーバ数D1と現在時点で動作中のサーバ数D0とが不一致の場合のみ(S7)、サーバ変更数(D1ーD0)を算出する(S8)。そして、起動又は停止すべきサーバ5を決定する(S9)。サーバ負荷分散装置12のサーバ状態メモリ15内の該当サーバ5の動作中(ON)又は停止中(OFF)の状態を変更する(S10)。最後に、決定した起動又は停止すべきサーバ5を、サーバ起動停止制御部32を介して実際に起動又は停止する(S11)。以上の処理が終了すると、S1へ戻り、次の制御周期まで待つ。
Calculated with the server number D 1 and required number of servers D 0 in operation at the present time is not matched only (S7), and calculates the server change number (D 1 over D 0) (S8). Then, the
このように構成された情報処理システムにおける資源割当装置及び資源割当方法においては、各クライアント3からネットワーク1を介して情報処理システム11へ入力されるWeb処理要求(種別W1)とメール処理要求(種別W2)との単位時間当たりの処理要求数c1、c2が算出され、算出された種別W1、W2毎の処理要求数c1、c2は、種別毎の処理時間に対応する補正値B1、B2で補正される。したがって、補正後の種別毎の処理要求数cA1、cA2は処理に必要な時間に対応する(比例する)処理要求数となる。よって、補正後の種別毎の処理要求数の加算値(cA1+cA2)から必要なサーバ数D1=[(c1A+c2A)/M]+1を正確に求めることが可能となる。
In the resource allocation device and the resource allocation method in the information processing system configured as described above, a Web processing request (type W 1 ) and a mail processing request (type W 1 ) input from each
その結果、たとえ各クライアント3からネットワーク1を介して情報処理システム11へ入力される処理負担の異なるWeb処理要求(種別W1)とメール処理要求(種別W2)との単位時間当たりの処理要求数c1、c2の比が時間的に変動したとしても、各サーバ5の処理負担をほぼ均一に維持できる。よって、各クライアント3からネットワーク1を介して情報処理システム11へ入力される処理要求が指定する処理を時間遅れなく正常に実行できる。
As a result, processing requests per unit time of Web processing requests (type W 1 ) and mail processing requests (type W 2 ) with different processing loads input from each
なお、本発明は上述した実施形態に限定されるものではない。実施形態においては、各サーバ5には、Web処理部6とメール処理部7との2種別W1、W2の処理要求に対応する2種類の処理部が設けられている場合を示したが、処理要求の種別数、各サーバ5の処理部数は、2に限定されるものではない。
In addition, this invention is not limited to embodiment mentioned above. In the embodiment, the case where each
また、各サーバ5に設けられた各処理部もWeb処理部やメール処理部に限定されるものではない。
Also, each processing unit provided in each
1…ネットワーク、3…クライアント、5…サーバ、6…Web処理部、7…メール処理部、11…情報処理システム、12…サーバ負荷分散装置、13…資源割当装置、14…サーバ処理容量メモリ、15…サーバ状態メモリ、16…サーバ負荷状況メモリ、17…処理要求受信部、18…処理種別判定部、19…処理要求分配部、20,22…処理要求数算出部、21.23…処理要求数補正部、24…補正値メモリ、25…有効サーバ数算出部、26…有効サーバ数算出式メモリ、27…比較部、28…サーバ状態読取部、29…サーバ変更数算出部、30…状態変更サーバ決定部、31…サーバ状態変更部、32…サーバ起動停止制御部
DESCRIPTION OF
Claims (2)
前記処理要求の種別毎に当該種別の処理を実行するに要する時間に対応した補正値を記憶する補正値記憶手段と、
前記クライアントから入力される種別毎の単位時間当たりの処理要求数を算出する処理要求数算出手段と、
前記処理要求数算出手段で算出した種別毎の単位時間当たりの処理要求数に前記補正値記憶手段に記憶された該当種別毎の補正値を乗算して種別毎の単位時間当たりの処理要求数を補正する処理要求数補正手段と、
この処理要求数補正手段で補正された種別毎の単位時間当たりの補正済処理要求数を加算して、前記クライアントから入力された処理要求に対する補正済合計処理要求数を求める処理要求加算手段と、
前記加算した補正済合計処理要求数を前記サーバの同時処理可能な処理要求数を示す最大処理可能数で除算して、この除算値に余裕台数を加算した数を前記クライアントから入力された処理要求を処理するために必要なサーバ数として求めるサーバ数算出手段と、
このサーバ数算出手段で算出された必要サーバ数に基づいて動作状態のサーバ数を増減するサーバ制御手段と
を備えた資源割当装置。 A plurality of servers, keep the information processing system having a server load balancer that allocate processing requests of a plurality and plurality of types of input from a client to a server operating state,
Correction value storage means for storing a correction value corresponding to the time required to execute the type of processing for each type of processing request;
Processing request number calculating means for calculating the number of processing requests per unit time for each type input from the client ;
The number of processing requests per unit time calculated by the processing request number calculating means is multiplied by the correction value for each corresponding type stored in the correction value storage means by the number of processing requests per unit time calculated by the processing request number calculating means. A processing request number correcting means for correcting;
Processing request addition means for adding the corrected number of processing requests per unit time for each type corrected by the processing request number correction means to obtain a corrected total processing request number for the processing requests input from the client ;
The number of corrected total processing requests added is divided by the maximum number of processing requests indicating the number of processing requests that can be processed simultaneously by the server, and the number obtained by adding the surplus number to the divided value is the processing request input from the client. Server number calculating means for obtaining the number of servers necessary for processing
A resource allocation device comprising server control means for increasing or decreasing the number of servers in an operating state based on the required number of servers calculated by the server number calculation means.
前記クライアントから入力される種別毎の単位時間当たりの処理要求数を算出する処理要求数算出ステップと、
前記処理要求数算出ステップで算出した種別毎の単位時間当たりの処理要求数に、該当種別の処理要求の処理時間に対応した補正値を乗算して種別毎の単位時間当たりの処理要求数を補正する処理要求数補正ステップと、
この処理要求数補正ステップで補正された種別毎の単位時間当たりの補正済処理要求数を加算して、前記クライアントから入力された処理要求に対する補正済合計処理要求数を求める処理要求加算ステップと、
前記加算した補正済合計処理要求数を前記サーバの同時処理可能な処理要求数を示す最大処理可能数で除算して、この除算値に余裕台数を加算した数を前記クライアントから入力された処理要求を処理するために必要なサーバ数として求めるサーバ数算出ステップと、
このサーバ数算出ステップで算出された必要サーバ数に基づいて動作状態のサーバ数を増減するサーバ制御ステップと
を備えた資源割当方法。 A plurality of servers, in the information processing system having a server load balancer that allocate processing requests of a plurality and plurality of types of input from a client to a server operating state,
A processing request number calculating step of calculating the number of processing requests per unit time for each type input from the client ;
The number of processing requests per unit time for each type calculated in the processing request number calculation step is multiplied by a correction value corresponding to the processing time of the processing request for the corresponding type to correct the number of processing requests per unit time for each type. A processing request number correction step to be performed;
A processing request addition step for adding the corrected processing request count per unit time for each type corrected in the processing request count correction step to obtain a corrected total processing request count for the processing request input from the client ;
The number of corrected total processing requests added is divided by the maximum number of processing requests indicating the number of processing requests that can be processed simultaneously by the server, and the number obtained by adding the surplus number to the divided value is the processing request input from the client. Calculating the number of servers as the number of servers required to process
A resource allocation method comprising: a server control step for increasing / decreasing the number of servers in an operating state based on the required number of servers calculated in the server number calculation step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004288913A JP3964896B2 (en) | 2004-09-30 | 2004-09-30 | Resource allocation apparatus and resource allocation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004288913A JP3964896B2 (en) | 2004-09-30 | 2004-09-30 | Resource allocation apparatus and resource allocation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006106859A JP2006106859A (en) | 2006-04-20 |
JP3964896B2 true JP3964896B2 (en) | 2007-08-22 |
Family
ID=36376567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004288913A Active JP3964896B2 (en) | 2004-09-30 | 2004-09-30 | Resource allocation apparatus and resource allocation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3964896B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080133271A1 (en) * | 2006-11-30 | 2008-06-05 | Fujifilm Corporation | Job dispatcher for medical intelligent server architecture |
JP4756553B2 (en) * | 2006-12-12 | 2011-08-24 | 株式会社ソニー・コンピュータエンタテインメント | Distributed processing method, operating system, and multiprocessor system |
JP2009140212A (en) * | 2007-12-06 | 2009-06-25 | Mitsubishi Electric Corp | Communication relay apparatus, server, client, network system, and communication method |
JP2012203430A (en) * | 2011-03-23 | 2012-10-22 | Ricoh Co Ltd | Remote management device, remote management system, and remote management program |
JP6094272B2 (en) | 2013-03-06 | 2017-03-15 | 富士通株式会社 | Management system, management method, management program, and management apparatus |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08297643A (en) * | 1995-04-26 | 1996-11-12 | Hitachi Ltd | Processing distributing system for plural cpus |
US6986137B1 (en) * | 1999-09-28 | 2006-01-10 | International Business Machines Corporation | Method, system and program products for managing logical processors of a computing environment |
US6880156B1 (en) * | 2000-07-27 | 2005-04-12 | Hewlett-Packard Development Company. L.P. | Demand responsive method and apparatus to automatically activate spare servers |
JP2002091936A (en) * | 2000-09-11 | 2002-03-29 | Hitachi Ltd | Device for distributing load and method for estimating load |
JP2002163241A (en) * | 2000-11-29 | 2002-06-07 | Ntt Data Corp | Client server system |
JP2003067351A (en) * | 2001-08-28 | 2003-03-07 | Nec System Technologies Ltd | Configuration control system of distributed computer |
-
2004
- 2004-09-30 JP JP2004288913A patent/JP3964896B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2006106859A (en) | 2006-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210385171A1 (en) | Software load balancer to maximize utilization | |
JP3716753B2 (en) | Transaction load balancing method, method and program between computers of multiprocessor configuration | |
US6360270B1 (en) | Hybrid and predictive admission control strategies for a server | |
KR100869421B1 (en) | Splicing persistent connections | |
US8364163B2 (en) | Method, system and apparatus for connecting a plurality of client machines to a plurality of servers | |
US8767535B2 (en) | Dynamic feedback control of resources in computing environments | |
EP2706731A2 (en) | Systems and methods for load balancing using predictive routing | |
US20030101265A1 (en) | System and method for dynamically allocating processing on a network amongst multiple network servers | |
US10069757B1 (en) | Reserved network device capacity | |
JP4984169B2 (en) | Load distribution program, load distribution method, load distribution apparatus, and system including the same | |
CN107026907A (en) | A kind of load-balancing method, load equalizer and SiteServer LBS | |
CN108173937A (en) | Access control method and device | |
JP5244717B2 (en) | Load allocation control method and load distribution system | |
US20170237684A1 (en) | Decentralized resource allocation | |
JP2005182641A (en) | Dynamic load distribution system and dynamic load distribution method | |
Meskar et al. | Fair multi-resource allocation with external resource for mobile edge computing | |
JP3546850B2 (en) | Intelligent load distribution system and method for minimizing response time to accessing web content | |
JP3964896B2 (en) | Resource allocation apparatus and resource allocation method | |
EP2415213B1 (en) | Smart routing | |
JP2008059040A (en) | Load control system and method | |
JP6543090B2 (en) | Load balancing device, load balancing method and program | |
US20050050139A1 (en) | Parametric-based control of autonomic architecture | |
JP3952058B2 (en) | Transaction load distribution method and method based on estimated expansion rate, and computer-readable recording medium | |
JP2007172531A (en) | Load distribution device and method, and program | |
JP6724631B2 (en) | Information processing device and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060922 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061010 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061211 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070522 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070524 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 3964896 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100601 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110601 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120601 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130601 Year of fee payment: 6 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |