JP6368699B2 - Load distribution apparatus and load distribution method - Google Patents

Load distribution apparatus and load distribution method Download PDF

Info

Publication number
JP6368699B2
JP6368699B2 JP2015239899A JP2015239899A JP6368699B2 JP 6368699 B2 JP6368699 B2 JP 6368699B2 JP 2015239899 A JP2015239899 A JP 2015239899A JP 2015239899 A JP2015239899 A JP 2015239899A JP 6368699 B2 JP6368699 B2 JP 6368699B2
Authority
JP
Japan
Prior art keywords
processing
load
site
processing server
local
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
Application number
JP2015239899A
Other languages
Japanese (ja)
Other versions
JP2017107353A (en
Inventor
雄大 北野
雄大 北野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2015239899A priority Critical patent/JP6368699B2/en
Publication of JP2017107353A publication Critical patent/JP2017107353A/en
Application granted granted Critical
Publication of JP6368699B2 publication Critical patent/JP6368699B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、データセンタの複数の処理サーバに対して、クライアントからリクエストされた情報処理を実行させるサーバを決定する負荷分散装置および負荷分散方法に関する。   The present invention relates to a load distribution apparatus and a load distribution method for determining a server that executes information processing requested by a client for a plurality of processing servers in a data center.

サーバ構成技術や仮想化技術の発達、激甚災害対策等により、地域や国をまたいでデータセンタが接続され、そのデータセンタ内に複数の処理サーバが存在するようになった。点在する処理サーバに対して負荷を分散するため、ロードバランサのような負荷分散装置を設置し、当該負荷分散装置を用いて要求信号(リクエスト)を処理サーバに振り分け、各処理サーバの負荷を分散させることが一般的である。
例えば、非特許文献1では、各処理サーバの負荷状態(CPU使用率など)や応答時間を考慮して振分先の処理サーバを決定し、負荷分散を実現している。
Due to the development of server configuration technology, virtualization technology, and severe disaster countermeasures, data centers are connected across regions and countries, and there are multiple processing servers in the data center. In order to distribute the load to the scattered processing servers, a load distribution device such as a load balancer is installed, and the load distribution device is used to distribute request signals (requests) to the processing servers. It is common to disperse.
For example, in Non-Patent Document 1, load distribution is realized by determining a processing server as a distribution destination in consideration of the load state (CPU usage rate, etc.) and response time of each processing server.

負荷分散入門(ロードバランサ入門),[online],[平成27年11月19日検索],インターネット 〈 URL : http://fenics.fujitsu.com/products/ipcom/catalog/data/1/3.html〉Introduction to load balancing (introduction to load balancers), [online], [searched on November 19, 2015], Internet <URL: http://fenics.fujitsu.com/products/ipcom/catalog/data/1/3. html>

しかし、地域や国をまたいで信号を処理サーバに振り分けることによって、当該信号において、地域や国をまたぐ分の処理遅延が生じることになる。処理遅延が生じると、例えば通信制御サーバにおいては、後続信号が先行信号を追い抜いたりすることも考えられ問題となる。
一方で、処理遅延を防止するため、拠点内の処理サーバへ優先して信号を割り振ると、拠点内の処理サーバのみ負荷が重くなってしまい、ハードウェアリソースの非効率化や不要なスケーリングにつながってしまう。
非特許文献1に記載の負荷分散方法は、応答時間や処理サーバの負荷を考慮して処理サーバを決定している。しかし、全ての処理サーバの負荷状態や応答時間を収集する必要があるため、処理サーバが地域や国をまたいで存在していた場合は、情報を収集するための信号が増大しネットワーク帯域を圧迫する可能性がある。
However, when a signal is distributed to processing servers across regions and countries, a processing delay corresponding to the region and country is caused in the signal. When the processing delay occurs, for example, in the communication control server, it is considered that the subsequent signal may overtake the preceding signal.
On the other hand, in order to prevent processing delay, if a signal is assigned with priority to the processing server in the base, only the processing server in the base becomes heavy, leading to inefficient hardware resources and unnecessary scaling. End up.
The load distribution method described in Non-Patent Document 1 determines a processing server in consideration of response time and processing server load. However, since it is necessary to collect the load status and response time of all processing servers, if processing servers exist across regions and countries, the signal for collecting information increases and compresses the network bandwidth. there's a possibility that.

このような背景に鑑みて本発明がなされたのであり、本発明は、処理サーバの情報を収集するための信号量を減らしつつ、応答時間と処理サーバの処理負荷を減らすことができる負荷分散装置および負荷分散方法を提供することを課題とする。   The present invention has been made in view of such a background, and the present invention provides a load distribution apparatus capable of reducing the response time and the processing load of the processing server while reducing the signal amount for collecting information of the processing server. It is another object of the present invention to provide a load balancing method.

前記した課題を解決するため、請求項1に記載の発明は、自身が設置された自拠点の複数の処理サーバ、または前記自拠点から離隔した他拠点の複数の処理サーバに対して、クライアントからリクエストされた情報処理を実行させる処理サーバを決定する負荷分散装置であって、前記自拠点の処理サーバの処理の限界値である負荷制限値を記憶する記憶部と、前記自拠点の処理サーバの負荷情報を取得する負荷情報取得部と、取得した前記負荷情報の最大値と前記自拠点の処理サーバの負荷変動を示す処理サーバの負荷変動率とに基づいて、前記負荷制限値を超えない範囲で、前記他拠点の処理サーバに振り分けるべき信号を前記自拠点の処理サーバに振り分ける自拠点戻信号数を算出する信号数算出部と、算出した前記自拠点戻信号数分を、前記他拠点から自拠点の処理サーバに振り分ける振分部と、を備える負荷分散装置とした。   In order to solve the above-described problem, the invention according to claim 1 is directed to a plurality of processing servers at a local site where the device is installed, or a plurality of processing servers at other sites separated from the local site from a client. A load balancer that determines a processing server for executing the requested information processing, the storage unit storing a load limit value that is a limit value of processing of the processing server at the local site, and a processing server of the local processing server A range that does not exceed the load limit value based on a load information acquisition unit that acquires load information, a maximum value of the acquired load information, and a load variation rate of the processing server that indicates a load variation of the processing server at the local site Then, a signal number calculation unit for calculating the number of return signals of the own site that distributes the signals to be distributed to the processing server of the other site to the processing server of the own site, and the calculated number of the return signals of the own site A distribution unit for distributing the processing server of the own base from the other sites, and the load balancer comprising a.

また、請求項4に記載の発明は、自身が設置された自拠点の複数の処理サーバ、または前記自拠点から離隔した他拠点の複数の処理サーバに対して、クライアントからリクエストされた情報処理を実行させる処理サーバを決定する負荷分散装置の負荷分散方法であって、前記負荷分散装置は、前記自拠点の処理サーバの処理の限界値である負荷制限値を記憶部に記憶しており、前記自拠点の処理サーバの負荷情報を取得する負荷情報取得ステップと、取得した前記負荷情報の最大値と前記自拠点の処理サーバの負荷変動を示す処理サーバの負荷変動率とに基づいて、前記負荷制限値を超えない範囲で、前記他拠点の処理サーバに振り分けるべき信号を前記自拠点の処理サーバに振り分ける自拠点戻信号数を算出する信号数算出ステップと、算出した前記自拠点戻信号数分を、前記他拠点から自拠点の処理サーバに振り分ける振分ステップと、実行する負荷分散方法とした。   In addition, the invention according to claim 4 performs information processing requested by a client to a plurality of processing servers at a local site where the device is installed or a plurality of processing servers at other sites separated from the local site. A load distribution method for a load distribution apparatus that determines a processing server to be executed, wherein the load distribution apparatus stores a load limit value that is a limit value of processing of the processing server at the local site in a storage unit, and Based on the load information acquisition step of acquiring load information of the processing server at the local site, and the load fluctuation rate of the processing server indicating the load fluctuation of the processing server at the local site and the maximum value of the acquired load information. A signal number calculating step for calculating the number of return signals of its own site that distributes the signal to be distributed to the processing server of the other site to the processing server of its own site within a range not exceeding the limit value; The own base back signal number of that, the distribution step of distributing from the remotely located site to the processing server own base, and the load distribution method to be executed.

このようにすることで、負荷分散装置は、処理サーバの負荷情報を自拠点の処理サーバからしか取得しないので、他拠点の処理サーバから取得する場合と比べて、迅速に、処理サーバの負荷状態や応答時間を取得することが可能となる。これにより、処理サーバの決定に際し、よりタイムリーな情報で負荷分散処理が可能となり、かつ、ネットワーク帯域をも圧迫することも少ない効果がある。特に、処理サーバが地域や国をまたいで存在していた場合に、情報を収集するための信号が増大しネットワーク帯域を圧迫するという問題を解決することができる。   By doing so, the load balancer acquires the load information of the processing server only from the processing server at its own site, so the load status of the processing server is more rapid than when acquiring from the processing server at the other site. And the response time can be acquired. Thereby, when determining the processing server, load distribution processing can be performed with more timely information, and the network bandwidth is hardly reduced. In particular, when the processing server exists across regions and countries, it is possible to solve the problem that the signal for collecting information increases and the network bandwidth is compressed.

また、請求項2に記載の発明は、前記信号数算出部は、前記自拠点の処理サーバで処理した場合の処理TAT(Turn Around Time)と、前記他拠点の処理サーバで処理した場合の処理TATとに基づいて、前記リクエストをあらかじめ決めた順序で各前記処理サーバに振り分ける場合の処理応答時間の変動を示す平均信号処理TAT変動率を算出するとともに、前記自拠点の処理サーバの負荷変動率と前記平均信号処理TAT変動率とを基に、前記自拠点戻信号数を評価するスコアを算出し、前記振分部は、取得した前記負荷情報の最大値と前記自拠点の処理サーバの負荷変動率とに基づいて、前記負荷制限値を超えない範囲の中から、最大の前記スコアとなる前記自拠点戻信号分を、前記他拠点から自拠点の処理サーバに振り分けることを特徴とする。   Further, the invention according to claim 2 is that the signal number calculation unit performs processing TAT (Turn Around Time) when processed by the processing server at the local site and processing when processed by the processing server at the other site. Based on the TAT, an average signal processing TAT variation rate indicating a variation in processing response time when the requests are distributed to the processing servers in a predetermined order, and a load variation rate of the processing server at the local site is calculated. And the average signal processing TAT fluctuation rate, a score for evaluating the number of return signals of the own site is calculated, and the allocating unit calculates the maximum value of the acquired load information and the load of the processing server of the own site. Based on a variation rate, the self-site return signal for the maximum score is distributed from the other bases to a processing server at the self-base from a range not exceeding the load limit value. To do.

このようにすることで、処理サーバの負荷と応答時間の両面を考慮して、処理負荷を制限しつつ、応答時間をできるだけ早めることができる。換言すれば、自拠点の処理サーバの処理負荷をギリギリまで上げてTATを減らすことができる。   In this way, it is possible to make the response time as fast as possible while limiting the processing load in consideration of both the load of the processing server and the response time. In other words, it is possible to reduce the TAT by increasing the processing load of the processing server at the local site to the limit.

また、請求項3に記載の発明は、前記負荷情報取得部が、前記自拠点の処理サーバのCPU使用率を負荷情報として取得することを特徴とする。   The invention according to claim 3 is characterized in that the load information acquisition unit acquires the CPU usage rate of the processing server at the local site as load information.

このようにすることで、各処理サーバのCPU使用率は比較的取得が容易であるため、各処理サーバの処理負荷をタイムリーで取得でき、負荷分散動作に直ちに反映させることができる。   In this way, since the CPU usage rate of each processing server is relatively easy to acquire, the processing load of each processing server can be acquired in a timely manner and can be immediately reflected in the load distribution operation.

本発明によれば、処理サーバの情報を収集するための信号量を減らしつつ、応答時間と処理サーバの処理負荷を減らすことができる負荷分散装置および負荷分散方法を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the load distribution apparatus and load distribution method which can reduce a response time and the processing load of a processing server can be provided, reducing the signal amount for collecting the information of a processing server.

本発明の実施形態に係る負荷分散装置が適用される分散システムを示す構成図である。1 is a configuration diagram illustrating a distribution system to which a load distribution apparatus according to an embodiment of the present invention is applied. 本発明の実施形態に係る負荷分散装置の情報格納部が格納する拠点情報を示す図である。It is a figure which shows the base information which the information storage part of the load distribution apparatus which concerns on embodiment of this invention stores. 本実施形態に係る負荷分散装置の負荷分散動作を説明する図である。It is a figure explaining the load distribution operation | movement of the load distribution apparatus which concerns on this embodiment. 本実施形態に係る負荷分散装置の他拠点の処理サーバに振り分ける信号を自拠点の処理サーバで処理する負荷分散動作を表にして説明する図である。It is a figure explaining the load distribution operation | movement which processes the signal distributed to the processing server of the other base of the load distribution apparatus which concerns on this embodiment with the processing server of a self base using a table | surface. 本実施形態に係る負荷分散装置の(方法1)の負荷分散のシーケンス例を示すフローチャートである。It is a flowchart which shows the example of a load distribution sequence of the (method 1) of the load distribution apparatus which concerns on this embodiment. 図5のシーケンス例を説明する図である。It is a figure explaining the example of a sequence of FIG. 本実施形態に係る負荷分散装置の情報格納部が保持する拠点情報を示す図である。It is a figure which shows the base information which the information storage part of the load distribution apparatus which concerns on this embodiment hold | maintains. 本実施形態に係る負荷分散装置の信号数算出部により算出された自拠点戻信号数S、および自拠点の処理サーバの負荷変動率Aの算出例を示す図である。It is a figure which shows the example of calculation of the own site return signal number S calculated by the signal number calculation part of the load distribution apparatus which concerns on this embodiment, and the load fluctuation rate A of the processing server of an own site. 本実施形態に係る負荷分散装置の他拠点の処理サーバに振り分ける信号を自拠点の処理サーバで処理する負荷分散動作を表にして説明する図である。It is a figure explaining the load distribution operation | movement which processes the signal distributed to the processing server of the other base of the load distribution apparatus which concerns on this embodiment with the processing server of a self base using a table | surface. 本実施形態に係る負荷分散装置の(方法2)の負荷分散のシーケンス例を示すフローチャートである。It is a flowchart which shows the example of a load distribution sequence of the (method 2) of the load distribution apparatus which concerns on this embodiment. 図10のシーケンス例を説明する図である。It is a figure explaining the example of a sequence of FIG. 本実施形態に係る負荷分散装置の振分部により算出された自拠点戻信号数S、自拠点の処理サーバの負荷変動率A、平均信号処理TAT変動率B、およびスコアの算出例を示す図である。The figure which shows the example of calculation of the own site return signal number S calculated by the distribution part of the load distribution apparatus which concerns on this embodiment, the load fluctuation rate A of the processing server of an own site, the average signal processing TAT fluctuation rate B, and a score It is. 本実施形態に係る負荷分散装置の他拠点の処理サーバに振り分ける信号を自拠点の処理サーバで処理する負荷分散動作を表にして説明する図である。It is a figure explaining the load distribution operation | movement which processes the signal distributed to the processing server of the other base of the load distribution apparatus which concerns on this embodiment with the processing server of a self base using a table | surface.

以下、図面を参照して本発明を実施するための形態(以下、「本実施形態」という)における負荷分散装置等について説明する。
図1は、本実施形態に係る負荷分散装置が適用される分散システムを示す構成図である。
図1に示すように、2つのデータセンタ(DC:Data Center)11,12が存在している。データセンタ11(自拠点)とデータセンタ12(他拠点)とは、地域や国をまたいで存在可能である。例えば、データセンタ11は東京(日本)を拠点とし、データセンタ12はワシントンD.C.(米国)を拠点とする。データセンタ11とデータセンタ12間は、広帯域と低遅延のネットワーク13で接続される。ただし、データセンタ11とデータセンタ12には、信号の拠点間遅延がある。
Hereinafter, a load balancer and the like in a mode for carrying out the present invention (hereinafter referred to as “the present embodiment”) will be described with reference to the drawings.
FIG. 1 is a configuration diagram illustrating a distributed system to which a load distribution apparatus according to the present embodiment is applied.
As shown in FIG. 1, there are two data centers (DC: Data Center) 11 and 12. The data center 11 (own site) and the data center 12 (other sites) can exist across regions and countries. For example, the data center 11 is based in Tokyo (Japan), and the data center 12 is based in Washington, DC (USA). The data center 11 and the data center 12 are connected by a network 13 having a wide band and a low delay. However, the data center 11 and the data center 12 have a delay between signals.

本明細書において、自拠点とは、負荷分散装置100が置かれている拠点をいう。ここでは、自拠点は、データセンタ11である。他拠点とは、負荷分散装置100(自身)が置かれている拠点とは別の離れた拠点をいう。ここでは、他拠点は、データセンタ12である。
データセンタ11内には、複数(複数台)の処理サーバ21〜23が収容されており、各処理サーバ21〜23は、負荷分散装置100にデータセンタ内ネットワークで接続されている。また、データセンタ12は、複数の処理サーバ24〜27がデータセンタ内ネットワークで接続されている。
データセンタ11は、クライアント31〜34がネットワークで接続されて構成される。
クライアント31〜34は、ユーザの端末や対向システムであり、データセンタ11,12の処理サーバ21〜27に対して、アプリケーションの処理を要求する。
In this specification, the own site refers to a site where the load balancer 100 is placed. Here, the local base is the data center 11. The other site refers to a site that is separate from the site where the load balancer 100 (self) is placed. Here, the other base is the data center 12.
In the data center 11, a plurality of (multiple) processing servers 21 to 23 are accommodated, and each of the processing servers 21 to 23 is connected to the load distribution apparatus 100 via a data center network. In addition, the data center 12 includes a plurality of processing servers 24 to 27 connected via a data center network.
The data center 11 is configured by connecting clients 31 to 34 via a network.
The clients 31 to 34 are user terminals or opposing systems, and request application processing to the processing servers 21 to 27 of the data centers 11 and 12.

負荷分散装置100は、データセンタ11(自拠点)に存在している。負荷分散装置100は、データセンタ11またはデータセンタ12の処理サーバ21〜27に対してクライアント31〜34からの要求信号(リクエスト)の振分を行っている。負荷分散装置100は、クライアント31〜34からの要求を受け、データセンタ11またはデータセンタ12の処理サーバ21〜27のうちの1台を選択し、その選択した処理サーバに処理を依頼する。選択された処理サーバは、クライアント31〜34からのアプリケーションの要求を処理する。
このように、負荷分散装置100は、自身が設置された自拠点の処理サーバ21〜23、または自拠点から離隔した他拠点の処理サーバ24〜27に対して、クライアント31〜34からリクエストされた情報処理を実行させる処理サーバを決定する。負荷分散装置100の詳細構成については後記する。
The load distribution apparatus 100 exists in the data center 11 (own site). The load distribution apparatus 100 distributes request signals (requests) from the clients 31 to 34 to the processing servers 21 to 27 of the data center 11 or the data center 12. Upon receiving a request from the clients 31 to 34, the load distribution apparatus 100 selects one of the processing servers 21 to 27 of the data center 11 or the data center 12, and requests the selected processing server to perform processing. The selected processing server processes application requests from the clients 31-34.
As described above, the load distribution apparatus 100 is requested from the clients 31 to 34 to the processing servers 21 to 23 at the local site where the load balancing apparatus 100 is installed or the processing servers 24 to 27 at other sites remote from the local site. A processing server for executing information processing is determined. The detailed configuration of the load distribution apparatus 100 will be described later.

なお、負荷分散装置100は、分散システムで動作するプログラムの一例としての分散処理ミドルウェアであってもよく、分散システム内の複数台の処理サーバ21〜27に処理を振り分けるロードバランサのいずれでもよい。   The load distribution apparatus 100 may be distributed processing middleware as an example of a program that operates in the distributed system, or may be any load balancer that distributes processing to a plurality of processing servers 21 to 27 in the distributed system.

また、図1の分散システムを構成する各装置は、CPU(Central Processing Unit)とメモリとハードディスク(記憶手段)とネットワークインタフェースとを有するコンピュータとして構成され、このコンピュータは、CPUが、メモリ上に読み込んだプログラムを実行することにより、各処理部を動作させる。
また、図1の分散システムを構成する各装置の台数は、図1に例示した台数に限定されず、任意の台数としてもよい。
1 is configured as a computer having a CPU (Central Processing Unit), a memory, a hard disk (storage means), and a network interface. The computer reads the CPU into the memory. Each processing unit is operated by executing the program.
Further, the number of devices constituting the distributed system in FIG. 1 is not limited to the number illustrated in FIG. 1 and may be an arbitrary number.

負荷分散装置100の詳細について説明する。
図1に示すように、負荷分散装置100は、負荷情報取得部110と、情報格納部120(記憶部)と、信号数算出部130と、振分部140と、を備える。
Details of the load balancer 100 will be described.
As shown in FIG. 1, the load distribution apparatus 100 includes a load information acquisition unit 110, an information storage unit 120 (storage unit), a signal number calculation unit 130, and a distribution unit 140.

<負荷情報取得部110>
負荷情報取得部110は、自拠点の処理サーバ21〜23の負荷情報(例えば、CPU使用率、メモリ使用率等がある。本実施形態では、CPU使用率を例に採る)を定期的に収集(取得)する。負荷情報取得部110は、収集したCPU使用率(負荷情報)を情報格納部120に格納するとともに、振分部140に通知する。
<Load information acquisition unit 110>
The load information acquisition unit 110 periodically collects load information (for example, CPU usage rate, memory usage rate, etc., in this embodiment, taking the CPU usage rate as an example) of the processing servers 21 to 23 at its own base. (get. The load information acquisition unit 110 stores the collected CPU usage rate (load information) in the information storage unit 120 and notifies the distribution unit 140 of it.

<情報格納部120>
情報格納部120は、取得したCPU使用率(負荷情報)や自拠点(ここではデータセンタ11)の処理サーバ21〜23のCPU限界値(負荷制限値)、データセンタ11とデータセンタ12間の処理遅延時間値(拠点間遅延)、自拠点の処理サーバ数、自拠点以外(すなわち他拠点)の処理サーバ数などを拠点情報200として格納する。情報格納部120が保持する拠点情報200については、図2により後記する。
<Information storage unit 120>
The information storage unit 120 stores the acquired CPU usage rate (load information), the CPU limit values (load limit values) of the processing servers 21 to 23 of the own base (here, the data center 11), and between the data center 11 and the data center 12. The processing delay time value (inter-base delay), the number of processing servers at the base, the number of processing servers other than the base (that is, other bases), and the like are stored as the base information 200. The base information 200 held by the information storage unit 120 will be described later with reference to FIG.

<信号数算出部130>
信号数算出部130は、後記(方法1)を実行する場合、自拠点の処理サーバ数と他拠点の処理サーバ数と他拠点から自拠点で処理するために戻す自拠点戻信号数S(後記)とを用いて自拠点の処理サーバの負荷変動を示す処理サーバの負荷変動率Aを算出する。ここで自拠点戻信号数Sは、n(nは自然数)個あり、S=0からS=nまで、後記する式(1)に順次当てはめて、自拠点の処理サーバの負荷変動率Aを求める。なお、自拠点戻信号数S決定の詳細については実施例1:(方法1)(図5〜図9)で後記する。
そして、信号数算出部130は、取得したCPU使用率(負荷情報)の最大値と自拠点の処理サーバの負荷変動率Aとに基づいて、CPU限界値(負荷制限値)を超えない範囲で、他拠点の処理サーバ24〜27が処理すべき信号を自拠点の処理サーバ21〜23で処理する自拠点戻信号数Sを決定する。
<Signal number calculation unit 130>
When executing the following method (method 1), the signal number calculation unit 130 determines the number of processing servers at its own site, the number of processing servers at other sites, and the number S of own-site return signals to be returned from other sites for processing at its own site (described later). ) Is used to calculate the load variation rate A of the processing server indicating the load variation of the processing server at the local site. Here, the local site return signal number S is n (n is a natural number), and the load fluctuation rate A of the processing server at the local site is sequentially applied from S = 0 to S = n in the following formula (1). Ask. Details of determination of the number S of returning signals from the own site will be described later in Example 1: (Method 1) (FIGS. 5 to 9).
And the signal number calculation part 130 is in the range which does not exceed CPU limit value (load limit value) based on the maximum value of the acquired CPU usage rate (load information) and the load fluctuation rate A of the processing server at its own base. Then, the local site return signal number S to be processed by the local processing servers 21 to 23 is determined.

また、信号数算出部130は、後記(方法2)を実行する場合、自拠点の処理サーバ数と他拠点の処理サーバ数と他拠点から自拠点で処理するために戻す自拠点戻信号数Sと、自拠点の処理サーバで処理した場合の処理TAT(Turn Around Time)(応答時間)と、他拠点の処理サーバで処理した場合の処理TATとを用いて、リクエストをあらかじめ決めた順序で各処理サーバに振り分ける場合の応答時間の変動を示す平均信号処理TAT変動率Bを算出する。ここで自拠点戻信号数Sは、n(nは自然数)個あり、S=0からS=nまで、後記する式(2)に順次当てはめて、平均信号処理TAT変動率Bを求める。   In addition, when executing the following method (method 2), the signal number calculation unit 130 counts the number of processing servers at its own base, the number of processing servers at other bases, and the number of local base return signals S to be returned from other bases for processing at the local base. And the processing TAT (Turn Around Time) (response time) when processed by the processing server at the local site and the processing TAT when processed by the processing server at the other site in the order determined in advance. An average signal processing TAT fluctuation rate B indicating fluctuations in response time when distributing to processing servers is calculated. Here, the number S of own-site return signals is n (n is a natural number), and from S = 0 to S = n, the average signal processing TAT fluctuation rate B is obtained by sequentially applying to equation (2) described later.

そして、信号数算出部130は、自拠点の処理サーバの負荷変動率Aと平均信号処理TAT変動率Bとを用いて、他拠点の処理サーバ24〜27が処理すべき信号を自拠点の処理サーバ21〜23で処理する自拠点戻信号数Sの範囲を算出する。具体的には、信号数算出部130は、情報格納部120から拠点情報200(後記図2参照)を参照し、取得した負荷情報の中の最大値と自拠点の処理サーバの負荷変動率Aを乗算し、あらかじめ設定されている自拠点の処理サーバのCPU限界値(負荷制限値)を超えない自拠点戻信号数Sの範囲を算出し、算出した自拠点戻信号数Sの範囲の中で最大の自拠点戻信号数を評価するスコアとなる自拠点戻信号数Sを決定する。すなわち、信号数算出部130は、自拠点の処理サーバのCPU使用率の最大値をA倍しても自拠点の処理サーバのCPU限界値(負荷制限値)を超えないような最大自拠点戻信号数の範囲を算出し、この最大自拠点戻信号数を超えない範囲で最も高いスコアとなる自拠点戻信号数Sを決定する。なお、スコア算出による自拠点戻信号数S決定の詳細については実施例2:(方法2)(図10〜図13)で後記する。   Then, the signal number calculation unit 130 uses the load variation rate A and the average signal processing TAT variation rate B of the processing server at its own site to process signals to be processed by the processing servers 24 to 27 at other sites. The range of the local base return signal number S processed by the servers 21 to 23 is calculated. Specifically, the signal number calculation unit 130 refers to the base information 200 (see FIG. 2 to be described later) from the information storage unit 120, and determines the maximum value in the acquired load information and the load fluctuation rate A of the processing server at its own base. To calculate the range of the number S of local return signals that does not exceed the CPU limit value (load limit value) of the processing server of the local base set in advance. The self-site return signal number S that is a score for evaluating the maximum self-site return signal number is determined. In other words, the signal number calculation unit 130 returns the maximum local site so that the CPU limit value (load limit value) of the local processing server does not exceed the CPU limit value (load limit value) of the local processing server even if the maximum value of the CPU usage rate of the local processing server is multiplied by A. The range of the number of signals is calculated, and the local site return signal number S that is the highest score within a range not exceeding the maximum local site return signal number is determined. The details of the determination of the number S of own-site return signals by score calculation will be described later in Example 2: (Method 2) (FIGS. 10 to 13).

ここで、負荷分散装置100は、各処理サーバに均等にリクエストを振り分けるラウンドロビン(静的分散方式の1つ)を採る場合、上記平均信号処理TAT変動率Bは、例えばラウンドロビンの1ラウンドにおける平均信号処理TAT変動率Bである。なお、処理サーバの処理能力に応じてリクエストの分散比率を変えて各処理サーバの負荷を均等にする重み付きラウンドロビンに適用し、この重み付きラウンドロビンにおいて、1ラウンドにおける平均信号処理TAT変動率Bを算出する態様でもよい。   Here, when the load distribution apparatus 100 adopts round robin (one of static distribution methods) that distributes requests equally to each processing server, the average signal processing TAT fluctuation rate B is, for example, in one round of round robin. Average signal processing TAT variation rate B. In addition, it applies to the weighted round robin which changes the distribution ratio of requests according to the processing capacity of the processing server and equalizes the load of each processing server, and in this weighted round robin, the average signal processing TAT variation rate in one round A mode of calculating B may be used.

<振分部140>
振分部140は、クライアント31〜34からの要求信号(リクエスト)を受け取ると、あらかじめ決められた方法(例えばラウンドロビン方式)によって振分先の処理サーバを決める。
<Distribution part 140>
Upon receiving the request signals (requests) from the clients 31 to 34, the distribution unit 140 determines a distribution destination processing server by a predetermined method (for example, a round robin method).

また、振分部140は、後記(方法1)を実行する場合、算出した自拠点戻信号数S分だけ、本来他拠点の処理サーバに振り分けていた信号を自拠点の処理サーバ21〜23に振り分ける。具体的には、振分部140は、振分先の処理サーバが自拠点以外(すなわち他拠点)の処理サーバ24〜27だった場合、決定した自拠点戻信号数Sの分だけ、自拠点の処理サーバ21〜23に振り分ける(実施例1:(方法1)で後記)。   Further, when executing the postscript (method 1), the allocating unit 140 sends the signal originally distributed to the processing servers at other bases to the processing servers 21 to 23 at the local bases by the calculated number S of return signals from the local base. Distribute. Specifically, when the distribution destination processing server is a processing server 24 to 27 other than its own base (that is, another base), the distribution unit 140 determines that its own base is equal to the determined number S of local return signals. To the processing servers 21 to 23 (Example 1 (described later in (Method 1)).

また、振分部140は、後記(方法2)を実行する場合、自拠点の処理サーバのCPU限界値(負荷制限値)を超えない自拠点戻信号数Sの範囲の中で最大のスコアとなる自拠点戻信号数S分を、他拠点から自拠点の処理サーバ21〜23に振り分ける(実施例2:(方法2)で後記)。   In addition, when executing the postscript (method 2), the allocating unit 140 has a maximum score within the range of the number S of return signals of its own site that does not exceed the CPU limit value (load limit value) of the processing server of its own site. The local site return signal number S is distributed from other sites to the processing servers 21 to 23 of the local site (Example 2: (described later in (Method 2)).

図2は、図1の負荷分散装置100の情報格納部120が格納する拠点情報200を示す図である。
図2に示すように、情報格納部120は、拠点情報200として、自拠点の処理サーバのCPU限界値(負荷制限値)、拠点間遅延、自拠点の処理サーバ数、他拠点の処理サーバ数、自拠点の処理サーバ21〜23の使用率(処理サーバ21のCPU使用率、処理サーバ22のCPU使用率、および処理サーバ23のCPU使用率)を格納する。なお、上記CPU限界値を格納しておくことで、上記CPU使用率の最大値をA(自拠点の処理サーバの負荷変動率)倍した場合の比較から、自拠点戻信号数Sを決定することができる。
FIG. 2 is a diagram illustrating the base information 200 stored in the information storage unit 120 of the load distribution apparatus 100 in FIG.
As shown in FIG. 2, the information storage unit 120 includes, as the base information 200, the CPU limit value (load limit value) of the processing server at its own base, the delay between bases, the number of processing servers at its base, and the number of processing servers at other bases. The usage rates of the processing servers 21 to 23 at the local site (the CPU usage rate of the processing server 21, the CPU usage rate of the processing server 22, and the CPU usage rate of the processing server 23) are stored. By storing the CPU limit value, the local site return signal number S is determined from a comparison when the maximum value of the CPU usage rate is multiplied by A (the load fluctuation rate of the processing server at the local site). be able to.

図2の例では、自拠点の処理サーバのCPU限界値は、「80」(CPU限界値の最大値を100%とした場合、その80%)である。
拠点間遅延は、「1000」(1000[ms])である。
自拠点の処理サーバ数は、自拠点(データセンタ11)内に3つの処理サーバ21〜23(図1参照)を有するので「3」である。
他拠点の処理サーバ数は、他拠点(データセンタ12)内に4つの処理サーバ24〜27(図1参照)を有するので「4」である。
自拠点の処理サーバ21のCPU使用率は、「35」(CPU使用率の最大値を100%とした場合、その35%。以下同様。)、処理サーバ22のCPU使用率は、「34」、処理サーバ23のCPU使用率は、「34」である。
In the example of FIG. 2, the CPU limit value of the local processing server is “80” (80% when the maximum value of the CPU limit value is 100%).
The inter-base delay is “1000” (1000 [ms]).
The number of processing servers at the local site is “3” because there are three processing servers 21 to 23 (see FIG. 1) in the local site (data center 11).
The number of processing servers at other bases is “4” because there are four processing servers 24-27 (see FIG. 1) in the other base (data center 12).
The CPU usage rate of the processing server 21 at its own site is “35” (35% when the maximum value of the CPU usage rate is 100%, the same applies hereinafter), and the CPU usage rate of the processing server 22 is “34”. The CPU usage rate of the processing server 23 is “34”.

以下、上述のように構成された負荷分散装置100の負荷分散方法について説明する。
[原理説明]
まず、本発明の基本的な考え方について述べる。
本発明は、処理サーバの処理負荷を考慮しながら、本来であれば他拠点の処理サーバへ振り分けられる信号を自拠点の処理サーバへ振り分ける(戻す)。
ここで、自拠点の処理サーバ数をNm、他拠点の処理サーバ数をNn、本来他拠点で処理する信号を自拠点の処理サーバで処理する1ラウンドあたりの自拠点戻信号数をS(0≦S≦Nn)とすると、自拠点の処理サーバの負荷変動率Aは、次式(1)で示される。
Hereinafter, a load distribution method of the load distribution apparatus 100 configured as described above will be described.
[Principle explanation]
First, the basic concept of the present invention will be described.
The present invention distributes (returns) a signal that is originally distributed to a processing server at another site to the processing server at its own site, while considering the processing load of the processing server.
Here, the number of processing servers at its own base is Nm, the number of processing servers at other bases is Nn, and the number of own-site return signals per round in which signals processed originally at other bases are processed by the processing server at its own base is S (0 ≦ S ≦ Nn), the load fluctuation rate A of the processing server at the local site is expressed by the following equation (1).

自拠点の処理サーバの負荷変動率A=(Nm+S)/Nm …(1)   Load fluctuation rate A = (Nm + S) / Nm (1)

また、自拠点の処理サーバで処理した場合の処理TAT(Turn Around Time)(応答時間)を1としたとき、他拠点の処理サーバで処理した場合の処理TATをDとすると、平均信号処理TAT変動率B(1ラウンドにおける平均信号処理TAT変動率B)は、次式(2)で示される。   Further, when the processing TAT (Turn Around Time) (response time) when processing is performed at the processing server at the local site is 1, and the processing TAT when processing is performed at the processing server at another base is D, the average signal processing TAT The fluctuation rate B (average signal processing TAT fluctuation rate B in one round) is expressed by the following equation (2).

平均信号処理TAT変動率B=((Nm+S)+D*(Nn-S))/(Nm+D*Nn) …(2)   Average signal processing TAT fluctuation rate B = ((Nm + S) + D * (Nn−S)) / (Nm + D * Nn) (2)

負荷分散装置100は、自拠点戻信号数Sを決定する方法として(方法1)と、(方法2)と、を備える。   The load distribution apparatus 100 includes (Method 1) and (Method 2) as methods for determining the number S of return signals of the own site.

(方法1):自拠点の処理サーバの負荷変動率Aを用いて自拠点戻信号数Sを決定する。
負荷分散装置100は、自拠点の各処理サーバのCPU使用率(負荷情報)を取得し、取得した負荷情報の中の最大値と自拠点の処理サーバの負荷変動率Aを乗算する。あらかじめ設定されている処理サーバのCPU限界値(負荷制限値)を超えない範囲で最大の自拠点戻信号数Sを算出し、算出した自拠点戻信号数Sまで他拠点信号を自拠点の処理サーバで処理するようにする。
(Method 1): The own site return signal number S is determined using the load fluctuation rate A of the processing server at the own site.
The load distribution apparatus 100 acquires the CPU usage rate (load information) of each processing server at its own site, and multiplies the maximum value in the acquired load information by the load fluctuation rate A of the processing server at its own site. Calculates the maximum number of local return signals S within a range not exceeding the CPU limit value (load limit value) of the processing server set in advance, and processes other base signals up to the calculated local base return signal number S. Process on the server.

(方法2):自拠点の処理サーバの負荷変動率Aを用いて最大自拠点戻信号数の範囲を算出し、最大自拠点戻信号数の範囲中で最大のスコアとなる自拠点戻信号数Sを決定する。
負荷分散装置100は、自拠点の各処理サーバのCPU使用率(負荷情報)を取得し、取得した負荷情報の中の最大値と自拠点の処理サーバの負荷変動率Aを乗算する。あらかじめ設定されている処理サーバの負荷制限値を超えない自拠点戻信号数Sの範囲を算出する。算出した自拠点戻信号数Sの範囲の中で最大のスコアとなる自拠点戻信号数Sの値で他拠点信号を自拠点の処理サーバで処理するようにする。上記スコアは、自拠点の処理サーバの負荷変動率Aと平均信号処理TAT変動率Bを用いて算出される評価関数で表される値である。例えば、スコアの一例として、自拠点の処理サーバの負荷変動率Aと平均信号処理TAT変動率Bから算出される減少関数を評価関数として用いる。この減少関数は、自拠点の処理サーバの負荷変動率Aまたは平均信号処理TAT変動率Bが減少すると、スコアが上昇する値(例えば1/(A*B))である。
(Method 2): The range of the maximum local site return signal number is calculated using the load fluctuation rate A of the processing server of the local site, and the local site return signal number that becomes the maximum score in the range of the maximum local site return signal number S is determined.
The load distribution apparatus 100 acquires the CPU usage rate (load information) of each processing server at its own site, and multiplies the maximum value in the acquired load information by the load fluctuation rate A of the processing server at its own site. The range of the number S of own-site return signals that does not exceed the preset load limit value of the processing server is calculated. The other site signal is processed by the processing server of the own site with the value of the own site return signal number S that is the maximum score in the calculated range of the own site return signal S. The score is a value represented by an evaluation function calculated using the load fluctuation rate A and the average signal processing TAT fluctuation rate B of the processing server at the local site. For example, as an example of the score, a decrease function calculated from the load fluctuation rate A and the average signal processing TAT fluctuation rate B of the processing server at the local site is used as the evaluation function. This decrease function is a value (for example, 1 / (A * B)) in which the score increases when the load fluctuation rate A or the average signal processing TAT fluctuation rate B of the processing server at the local site decreases.

上記(方法1)または(方法2)により、自拠点戻信号数Sが決定した後、負荷分散装置100は、本来他拠点の処理サーバに振り分けられる信号(本来他拠点の処理サーバが処理するはずだった信号)を自拠点戻信号数S分だけ、自拠点の処理サーバで処理するように自拠点の処理サーバへ振り分ける。その際、負荷分散装置100は、自拠点のどの処理サーバを選択するかは、負荷分散装置100がこれまで用いていた振分アルゴリズムに従えばよい。   After the self-site return signal number S is determined by the above (Method 1) or (Method 2), the load distribution apparatus 100 is a signal that is originally distributed to the processing server at the other base (the processing server at the other base should be processed originally). Signal) is distributed to the processing server at its own site so that it is processed by the processing server at its own site for the number S of return signals of its own site. At this time, the load balancer 100 may select which processing server at its own site according to the distribution algorithm used by the load balancer 100 so far.

まず、上記(方法1)の具体的動作例について説明する。
[実施例1:(方法1)の動作例]
上記(方法1)は、自拠点の処理サーバの処理負荷をギリギリまで上げてTATを減らす手法を提供する。
図3および図4を参照して負荷分散装置100の負荷分散方法の(方法1)動作について説明する。
図3は、負荷分散装置100の負荷分散動作を説明する図である。図1と同一構成部には同一符号を付している。
図3に示すように、データセンタ11(自拠点)とデータセンタ12(他拠点)とは、国をまたいで存在しているので、信号の拠点間遅延がある。
図3において、自拠点(データセンタ11)内の負荷分散装置100から各処理サーバ21〜27に伸びる矢印(細実線矢印、破線矢印、太実線矢印)は、負荷分散装置100が各処理サーバ21〜27に信号を振り分けることを示している。例えば、負荷分散装置100は、図3の細実線矢印(→印)に示すように、データセンタ11とデータセンタ12の処理サーバ21〜23,25〜27に対してクライアントからの要求信号の振分を行っている。
First, a specific operation example of the above (Method 1) will be described.
[Example 1: Operation example of (Method 1)]
The above (Method 1) provides a method of reducing TAT by increasing the processing load of the processing server at its own site to the limit.
With reference to FIG. 3 and FIG. 4, the (method 1) operation of the load distribution method of the load distribution apparatus 100 will be described.
FIG. 3 is a diagram for explaining the load distribution operation of the load distribution apparatus 100. The same components as those in FIG. 1 are denoted by the same reference numerals.
As shown in FIG. 3, since the data center 11 (own site) and the data center 12 (other sites) exist across countries, there is a delay between signals.
In FIG. 3, arrows (thin solid line arrow, broken line arrow, thick solid line arrow) extending from the load distribution apparatus 100 in the local site (data center 11) to the respective processing servers 21 to 27 are indicated by the load distribution apparatus 100 as the respective processing servers 21. ˜27 indicate that the signal is distributed. For example, the load balancer 100 distributes request signals from clients to the processing servers 21 to 23 and 25 to 27 of the data center 11 and the data center 12 as indicated by thin solid arrows (→ marks) in FIG. Have a minute.

原理説明の(方法1)で述べたように、負荷分散装置100は、自拠点の処理サーバの負荷変動率Aを用いて自拠点戻信号数Sを算出し、算出した自拠点戻信号数Sまで本来他拠点の処理サーバに振り分けられる信号を自拠点戻信号数S分だけ、自拠点の処理サーバに振り分ける。図3の符号aおよび白抜き矢印(⇒印)に示すように、本来であれば他拠点の処理サーバ24に振り分けられる信号(破線矢印参照)を自拠点の処理サーバ21へ振り分ける(太実線矢印参照)。   As described in (Method 1) of the principle explanation, the load distribution apparatus 100 calculates the local site return signal number S using the load fluctuation rate A of the processing server at the local site, and calculates the calculated local site return signal number S. The signal that is originally distributed to the processing server at the other site is allocated to the processing server at the own site for the number S of return signals of the own site. As shown by a symbol a and a white arrow (⇒ mark) in FIG. 3, a signal that is originally distributed to the processing server 24 at another site (see a broken line arrow) is allocated to the processing server 21 at its own site (thick solid arrow) reference).

図4は、図3の負荷分散装置100によって、他拠点の処理サーバ24〜27に振り分ける信号を自拠点の処理サーバ21〜23で処理する負荷分散動作を表にして説明する図である。図4は、1ラウンドあたりの自拠点戻信号数Sが1の場合の振分例を示す。図4の縦軸は処理サーバによってシーケンシャル処理される信号1〜14を示し、横軸は処理サーバ21〜27(自拠点の処理サーバ21〜23と他拠点の処理サーバ24〜27)を示す。図4において、実線の白丸(○印)は信号が該当処理サーバに振り分けられることを示している。例えば、図4の信号1と自拠点の処理サーバ21とが交差する位置の実線の白丸(○印)は、信号1が自拠点の処理サーバ21に振り分けられることを示している。また、図4において、破線の白丸(破線○印)は、本来他拠点の処理サーバに振り分けられる信号が自拠点の処理サーバに振り分けられた(戻された)ことを示している。例えば、図4の信号4と自拠点の処理サーバ21とが交差する位置の実線の白丸(○印)は、本来他拠点の処理サーバ24に振り分けられる信号4が自拠点の処理サーバ21に振り分けられることを示している。   FIG. 4 is a diagram illustrating the load distribution operation in which the load distribution apparatus 100 in FIG. 3 processes the signals distributed to the processing servers 24 to 27 at other sites by the processing servers 21 to 23 at the own site. FIG. 4 shows an example of distribution when the number S of local site return signals per round is one. The vertical axis in FIG. 4 indicates signals 1 to 14 that are sequentially processed by the processing server, and the horizontal axis indicates processing servers 21 to 27 (the processing servers 21 to 23 at the local site and the processing servers 24 to 27 at the other sites). In FIG. 4, a solid white circle (◯ mark) indicates that the signal is distributed to the corresponding processing server. For example, a solid white circle (o mark) at a position where signal 1 in FIG. 4 and processing server 21 at its own site intersect indicates that signal 1 is distributed to processing server 21 at its own site. In FIG. 4, a broken white circle (broken line ○ mark) indicates that a signal originally distributed to the processing server at the other site is allocated (returned) to the processing server at the own site. For example, a solid white circle (◯ mark) at a position where the signal 4 in FIG. 4 and the processing server 21 at the own site intersect is assigned to the processing server 21 at the own site. It is shown that.

図4に示すように、1ラウンドあたりの自拠点戻信号数Sが1の場合、自拠点戻信号数Sが1であるので、1ラウンドあたり他拠点の処理サーバに振り分けられる信号の1つを自拠点の処理サーバへ振り分ける。すなわち、図4の符号aおよび破線の白丸(破線○印)に示すように、本来であれば他拠点の処理サーバ24(図3参照)に振り分けられる信号を自拠点の処理サーバ21(図3参照)へ振り分ける。また、図4の符号bおよび破線の白丸(破線○印)に示すように、本来であれば他拠点の処理サーバ25(図3参照)に振り分けられる信号を自拠点の処理サーバ22(図3参照)へ振り分ける。   As shown in FIG. 4, when the local site return signal number S per round is 1, the local site return signal number S is 1. Therefore, one signal distributed to the processing servers at other sites per round is obtained. Distribute to the processing server at your site. That is, as indicated by a symbol a in FIG. 4 and a white circle with a broken line (dashed circle mark), a signal that is normally distributed to the processing server 24 at another site (see FIG. 3) is sent to the processing server 21 at its own site (see FIG. 3). See). Further, as indicated by a symbol b in FIG. 4 and a broken white circle (marked with a broken line ○), a signal that is normally distributed to the processing server 25 at another site (see FIG. 3) is transmitted to the processing server 22 at the own site (see FIG. 3). See).

図4の符号cおよび破線の枠囲みに示すように、1ラウンドあたりの自拠点戻信号数Sが1の場合の振分例の効果は下記の通りである。
すなわち、他拠点の処理サーバ24〜27に振り分けられる信号の1つを自拠点の処理サーバ21〜23へ振り分けることで、自拠点の処理サーバ21〜23の負荷は4/3倍になった。また、1ラウンドにおける平均信号処理TAT変動率Bは、前記式(2)にNm「3」とNn「4」を代入することで、(4+D*3)/(3+D*4)倍となることが分かる。他拠点の処理サーバ24〜27に振り分けられていた信号が自拠点の処理サーバ21〜23により多く振り分けられるので、本負荷分散動作を実施しない場合と比べて、迅速に取得が可能であり、よりタイムリーな情報で負荷分散処理が可能となり、かつ、ネットワーク帯域も圧迫することも少ない効果がある。
As shown in the reference symbol c and the dashed box in FIG. 4, the effects of the example of distribution when the number S of local return signals per round is 1 are as follows.
That is, by assigning one of the signals distributed to the processing servers 24 to 27 of the other bases to the processing servers 21 to 23 of the local base, the load of the processing servers 21 to 23 of the local base has increased 4/3 times. In addition, the average signal processing TAT fluctuation rate B in one round is (4 + D * 3) / (3 + D * 4) times by substituting Nm “3” and Nn “4” into the equation (2). I understand. Since the signals distributed to the processing servers 24 to 27 at other bases are distributed more by the processing servers 21 to 23 at the local base, they can be acquired more quickly than when the load balancing operation is not performed. Load balancing processing can be performed with timely information, and the network bandwidth is hardly reduced.

図5は、負荷分散装置100の(方法1)の負荷分散のシーケンス例を示すフローチャートである。図6は、図5のシーケンス例を説明する図である。図3と同一構成部には同一符号を付している。
図5のステップS101において、負荷分散装置100の負荷情報取得部110(図1参照)は、定期的に自拠点の処理サーバ21〜23のCPU使用率(負荷情報)を取得する。図6の符号aに示すように、負荷情報取得部110は、処理サーバ21のCPU使用率「45」、処理サーバ22のCPU使用率「44」、処理サーバ23のCPU使用率「47」を取得する。
FIG. 5 is a flowchart illustrating a load balancing sequence example of the (method 1) of the load balancing apparatus 100. FIG. 6 is a diagram illustrating the sequence example of FIG. The same components as those in FIG. 3 are denoted by the same reference numerals.
In step S101 of FIG. 5, the load information acquisition unit 110 (see FIG. 1) of the load distribution apparatus 100 periodically acquires the CPU usage rates (load information) of the processing servers 21 to 23 at the local site. 6, the load information acquisition unit 110 obtains the CPU usage rate “45” of the processing server 21, the CPU usage rate “44” of the processing server 22, and the CPU usage rate “47” of the processing server 23. get.

図5のステップS102において、負荷情報取得部110は、取得した情報を情報格納部120に格納し、振分部140(図1参照)に通知する。図7は、情報格納部120が保持する拠点情報200を示す図である。図7の例では、情報格納部120は、自拠点の処理サーバ21〜23のCPU限界値「80」、拠点間遅延「1000」、自拠点の処理サーバ数「3」、他拠点の処理サーバ数「4」を格納している。   In step S102 of FIG. 5, the load information acquisition unit 110 stores the acquired information in the information storage unit 120, and notifies the distribution unit 140 (see FIG. 1). FIG. 7 is a diagram showing the base information 200 held by the information storage unit 120. In the example of FIG. 7, the information storage unit 120 includes the CPU limit value “80” of the processing servers 21 to 23 at its own site, the inter-base delay “1000”, the number of processing servers at its own site “3”, and the processing servers at other sites. The number “4” is stored.

図5のステップS103において、信号数算出部130(図1参照)は、情報格納部120から拠点情報200(図7参照)を取り出し、自拠点の処理サーバ数と他拠点の処理サーバ数と自拠点戻信号数Sとを用いて、式(1)に、S=0からS=nまでを順次当てはめて、自拠点戻信号数S毎の自拠点の処理サーバの負荷変動率Aを算出する。図8は、信号数算出部130により算出された自拠点戻信号数S、および自拠点の処理サーバの負荷変動率Aの算出例を示す図である。図8に示すように、自拠点戻信号数S「0」,「1」,…である場合にそれぞれ対応する自拠点の処理サーバ21〜23の負荷変動率A「1」,「1.33」,…が算出される。   In step S103 of FIG. 5, the signal number calculation unit 130 (see FIG. 1) retrieves the base information 200 (see FIG. 7) from the information storage unit 120, and the number of processing servers at its own base and the number of processing servers at other bases. Using the number of base return signals S, S = 0 to S = n are sequentially applied to equation (1) to calculate the load fluctuation rate A of the processing server at the base for each base return signal number S. . FIG. 8 is a diagram illustrating a calculation example of the local site return signal number S calculated by the signal number calculation unit 130 and the load fluctuation rate A of the processing server at the local site. As shown in FIG. 8, the load fluctuation rates A “1” and “1.33” of the processing servers 21 to 23 corresponding to the own site corresponding to the case where the own site return signal number S is “0”, “1”,. ", ... are calculated.

図5のステップS104において、信号数算出部130は、取得したCPU使用率(負荷情報)の最大値と自拠点の処理サーバの負荷変動率Aとに基づいて、CPU限界値(負荷制限値)を超えない範囲で、本来他拠点の処理サーバに振り分けられる信号を自拠点の処理サーバ21〜23に振り分ける(戻す)自拠点戻信号数Sを決定する(詳細は後記する)。   In step S104 in FIG. 5, the signal number calculation unit 130 determines the CPU limit value (load limit value) based on the acquired maximum value of the CPU usage rate (load information) and the load fluctuation rate A of the processing server at the local site. The number S of local site return signals to be distributed (returned) to the local processing servers 21 to 23 is determined (details will be described later).

図5のステップS105において、振分部140は、クライアント31〜34(図1参照)からの要求信号を受け取ると、あらかじめ決められた方法(例えばラウンドロビン方式)によって振分先の処理サーバを決める。特に、振分部140は、振分先の処理サーバが自拠点以外(すなわち他拠点)の処理サーバ24〜27だった場合、算出した自拠点戻信号数Sの分だけ、本来他拠点の処理サーバに振り分けられる信号を自拠点の処理サーバ21〜23に振り分ける。   In step S105 of FIG. 5, when the distribution unit 140 receives a request signal from the clients 31 to 34 (see FIG. 1), the distribution unit 140 determines a distribution destination processing server by a predetermined method (for example, a round robin method). . In particular, if the distribution destination processing server is a processing server 24 to 27 other than its own base (that is, another base), the distribution unit 140 originally processes other bases by the calculated number S of local return signals. The signal distributed to the server is distributed to the processing servers 21 to 23 at its own site.

本例の場合、図6の符号aに示すように、取得された自拠点の処理サーバ21〜23のCPU使用率(負荷情報)は、処理サーバ21のCPU使用率「45」、処理サーバ22のCPU使用率「44」、処理サーバ23のCPU使用率「47」であり、CPU使用率の最大値は、処理サーバ23の「47」である。また、図7に示すように、情報格納部120には、拠点情報200として、自拠点の処理サーバのCPU限界値「80」、拠点間遅延「1000」、自拠点の処理サーバ数「3」、他拠点の処理サーバ数「4」が格納されている。さらに、信号数算出部130は、図8に示す自拠点戻信号数Sおよび自拠点の処理サーバの負荷変動率Aを算出している。   In the case of this example, as indicated by the symbol a in FIG. 6, the CPU usage rate (load information) of the acquired processing servers 21 to 23 at the local site is the CPU usage rate “45” of the processing server 21, and the processing server 22. CPU usage rate “44”, the processing server 23 CPU usage rate “47”, and the maximum CPU usage rate is “47” of the processing server 23. As shown in FIG. 7, the information storage unit 120 stores, as the base information 200, the CPU limit value “80” of the processing server at its own base, the delay between bases “1000”, and the number of processing servers at its own base “3”. The number of processing servers at other bases “4” is stored. Furthermore, the signal number calculation unit 130 calculates the local site return signal number S shown in FIG. 8 and the load fluctuation rate A of the processing server at the local site.

この場合、図8の符号aに示すように、振分部140は、取得したCPU使用率の最大値「47」を、自拠点戻信号数S「2」のときの自拠点の処理サーバの負荷変動率A「1.67」基にして、1.67倍してもCPU限界値「80」を超えないため、自拠点戻信号数Sは「2」と決定される。振分部140は、2信号を自拠点の処理サーバ21〜23へ振り分ける。   In this case, as shown by reference symbol a in FIG. 8, the allocating unit 140 sets the acquired maximum value “47” of the CPU usage rate to the processing server at the local site when the local site return signal number S is “2”. Since the CPU limit value “80” is not exceeded even if multiplied by 1.67 based on the load fluctuation rate A “1.67”, the local site return signal number S is determined to be “2”. The distribution unit 140 distributes the two signals to the processing servers 21 to 23 at its own base.

2信号を自拠点の処理サーバ21〜23へ振り分ける具体例について、図9を参照して説明する。
図9は、図6ないし図8の算出例において、他拠点の処理サーバ24〜27に振り分ける信号を自拠点の処理サーバ21〜23で処理する負荷分散動作を表にして説明する図である。図9は、ラウンドロビンで負荷分散を行っていて、2信号を自拠点の処理サーバ21〜23で処理するようにする場合を例に採る。
図9の縦軸は処理サーバ21〜27によってシーケンシャル処理される信号1〜21を、横軸は処理サーバ21〜27(自拠点の処理サーバ21〜23と他拠点の処理サーバ24〜27)をそれぞれ示す。図9において、実線の白丸(○印)は信号が該当処理サーバに振り分けられることを示している。また、破線の白丸(破線○印)は、本来他拠点の処理サーバに振り分けられる信号が自拠点の処理サーバに振り分けられた(戻された)ことを示している。
A specific example of distributing the two signals to the processing servers 21 to 23 at the own site will be described with reference to FIG.
FIG. 9 is a diagram illustrating the load distribution operation for processing the signals distributed to the processing servers 24 to 27 at the other bases by the processing servers 21 to 23 at the local base in the calculation examples of FIGS. FIG. 9 shows an example in which load distribution is performed in round robin and two signals are processed by the processing servers 21 to 23 at the local site.
9, the vertical axis represents signals 1 to 21 that are sequentially processed by the processing servers 21 to 27, and the horizontal axis represents processing servers 21 to 27 (the processing servers 21 to 23 at the local site and the processing servers 24 to 27 at the other sites). Each is shown. In FIG. 9, a solid white circle (◯ mark) indicates that the signal is distributed to the corresponding processing server. Further, a broken white circle (a broken line circle) indicates that a signal originally distributed to the processing server at the other site is distributed (returned) to the processing server at the own site.

図9の符号aに示すように、自拠点戻信号数Sが「2」であるので、2信号の自拠点の処理サーバ21〜23への振り分けを開始する。図9の破線以下の信号の振り分けにおいて、他拠点の処理サーバ24〜27に振り分けられる信号の2つを自拠点の処理サーバ21〜23へ振り分ける。この例では、図9の符号bおよび破線の白丸(破線○印)に示すように、信号11,12は本来であれば他拠点の処理サーバ24,25に振り分けられる信号を自拠点の処理サーバ21,22へ振り分ける。また、図9の符号cおよび破線の白丸(破線○印)に示すように、信号20,21は本来であれば他拠点の処理サーバ26,27に振り分けられる信号を自拠点の処理サーバ20,21へ振り分ける。   As indicated by the symbol a in FIG. 9, since the local site return signal number S is “2”, distribution of the two signals to the processing servers 21 to 23 at the local site is started. In the distribution of signals below the broken line in FIG. 9, two of the signals distributed to the processing servers 24 to 27 at other sites are distributed to the processing servers 21 to 23 at the local site. In this example, as shown by the symbol b in FIG. 9 and the broken white circle (dotted circle mark), the signals 11 and 12 are signals that are originally distributed to the processing servers 24 and 25 at other sites. Sort to 21 and 22. Further, as indicated by the symbol c in FIG. 9 and the broken white circle (marked with a broken line ○), the signals 20 and 21 are originally signals that are distributed to the processing servers 26 and 27 at the other bases. Sort to 21.

(方法1)の負荷分散によれば、処理サーバの負荷と応答時間の両面を考慮して、処理負荷を制限しつつ、応答時間をできるだけ早めることができ、自拠点の処理サーバ21〜23の処理負荷をギリギリまで上げてTATを減らすことができる。   According to the load distribution of (Method 1), it is possible to speed up the response time as much as possible while limiting the processing load in consideration of both the load of the processing server and the response time. TAT can be reduced by increasing the processing load to the limit.

次に、上記(方法2)の具体的動作例について説明する。
[実施例2:(方法2)の動作例]
上記(方法2)は、処理負荷とTATから算出されるスコアを最大にする手法を提供する。
Next, a specific operation example of the above (Method 2) will be described.
[Example 2: Operation example of (Method 2)]
The above (Method 2) provides a method for maximizing the score calculated from the processing load and TAT.

図10は、負荷分散装置100の(方法2)の負荷分散のシーケンス例を示すフローチャートである。図11は、図10のシーケンス例を説明する図である。図3と同一構成部には同一符号を付している。
図10のステップS101において、負荷分散装置100の負荷情報取得部110(図1参照)は、定期的に自拠点の処理サーバ21〜23のCPU使用率(負荷情報)を取得する。図11の符号aに示すように、負荷情報取得部110は、処理サーバ21のCPU使用率「35」、処理サーバ22のCPU使用率「34」、処理サーバ23のCPU使用率「34」を取得する。
FIG. 10 is a flowchart illustrating a load balancing sequence example of the (method 2) of the load balancing apparatus 100. FIG. 11 is a diagram illustrating the sequence example of FIG. The same components as those in FIG. 3 are denoted by the same reference numerals.
In step S101 of FIG. 10, the load information acquisition unit 110 (see FIG. 1) of the load distribution apparatus 100 periodically acquires the CPU usage rates (load information) of the processing servers 21 to 23 at the local site. 11, the load information acquisition unit 110 obtains the CPU usage rate “35” of the processing server 21, the CPU usage rate “34” of the processing server 22, and the CPU usage rate “34” of the processing server 23. get.

図10のステップS102において、負荷情報取得部110は、取得した情報を情報格納部120に格納し、振分部140(図1参照)に通知する。前記図7は、情報格納部120が保持する拠点情報200を示す図である。前記図7の例では、情報格納部120は、自拠点の処理サーバ21〜23のCPU限界値「80」、拠点間遅延「1000」、自拠点の処理サーバ数「3」、他拠点の処理サーバ数「4」を格納している。   In step S102 of FIG. 10, the load information acquisition unit 110 stores the acquired information in the information storage unit 120 and notifies the distribution unit 140 (see FIG. 1). FIG. 7 is a diagram showing the base information 200 held by the information storage unit 120. In the example of FIG. 7, the information storage unit 120 has the CPU limit value “80” of the processing servers 21 to 23 at its own site, the inter-base delay “1000”, the number of processing servers at its own site “3”, and the processing at other sites. The number of servers “4” is stored.

図10のステップS203において、信号数算出部130(図1参照)は、情報格納部110から拠点情報200(図7参照)を取り出し、自拠点戻信号数S毎の自拠点の処理サーバの負荷変動率Aと平均信号処理TAT変動率Bとスコアとを算出する。図12は、振分部140により算出された自拠点戻信号数S、自拠点の処理サーバの負荷変動率A、平均信号処理TAT変動率B、およびスコアの算出例を示す図である。なお、スコアは、減少関数(1/(A*B))を用いている。自拠点の処理サーバの負荷変動率Aは、前記式(1)にNm「3」を代入することによって算出され、また平均信号処理TAT変動率Bは、前記式(2)にNm「3」とNn「4」を代入することで算出される。例えば、自拠点戻信号数S「1」の場合には、Nm「3」とS「1」を前記式(1)に導入して自拠点の処理サーバの負荷変動率A「1.33」が算出され、またNm「3」とNn「4」とS「1」を前記式(2)に導入して平均信号処理TAT変動率B「0.75」が算出される。また、S「1」の場合のスコアは、減少関数(1/(A*B))に、A「1.33」とB「0.75」を代入することで、スコア「0.99」が算出される。同様にして、S「2」の場合には、自拠点の処理サーバの負荷変動率A「1.67」、平均信号処理TAT変動率B「0.51」、スコア「1.18」が算出され、S「3」の場合には、自拠点の処理サーバの負荷変動率A「2」、平均信号処理TAT変動率B「0.26」、スコア「1.90」が算出され、S「4」の場合には、自拠点の処理サーバの負荷変動率A「2.33」、平均信号処理TAT変動率B「0.02」、スコア「24.67」が算出される。   In step S203 of FIG. 10, the signal number calculation unit 130 (see FIG. 1) extracts the base information 200 (see FIG. 7) from the information storage unit 110, and the load on the processing server at the local base for each local base return signal number S. The fluctuation rate A, average signal processing TAT fluctuation rate B, and score are calculated. FIG. 12 is a diagram illustrating a calculation example of the local base return signal number S calculated by the allocating unit 140, the load fluctuation rate A, the average signal processing TAT fluctuation rate B, and the score of the processing server at the local site. The score uses a decreasing function (1 / (A * B)). The load fluctuation rate A of the processing server at the local site is calculated by substituting Nm “3” into the equation (1), and the average signal processing TAT fluctuation rate B is calculated as Nm “3” in the equation (2). And Nn “4” are substituted. For example, in the case where the local site return signal number S is “1”, Nm “3” and S “1” are introduced into the formula (1), and the load fluctuation rate A “1.33” of the processing server at the local site is obtained. Nm “3”, Nn “4”, and S “1” are introduced into the equation (2) to calculate the average signal processing TAT fluctuation rate B “0.75”. In addition, the score in the case of S “1” is obtained by substituting A “1.33” and B “0.75” into the decreasing function (1 / (A * B)), thereby obtaining a score “0.99”. Is calculated. Similarly, in the case of S “2”, the load fluctuation rate A “1.67”, the average signal processing TAT fluctuation rate B “0.51”, and the score “1.18” of the processing server at the local site are calculated. In the case of S “3”, the load fluctuation rate A “2”, the average signal processing TAT fluctuation rate B “0.26”, and the score “1.90” of the processing server at the local site are calculated. In the case of “4”, the load fluctuation rate A “2.33”, the average signal processing TAT fluctuation rate B “0.02”, and the score “24.67” of the processing server at the local site are calculated.

図10のステップS204において、振分部140は、クライアント31〜34(図1参照)からの要求信号を受け取ると、あらかじめ決められた方法(例えばラウンドロビン方式)によって振分先の処理サーバを決める。特に、振分部140は、振分先の処理サーバが自拠点以外(すなわち他拠点)の処理サーバ24〜27だった場合、最大自拠点戻信号数を超えない範囲で最も高いスコアとなる最大自拠点戻信号数の分だけ、本来他拠点の処理サーバに振り分けられる信号を自拠点の処理サーバ21〜23に振り分ける。   In step S204 of FIG. 10, when the distribution unit 140 receives a request signal from the clients 31 to 34 (see FIG. 1), it determines a distribution destination processing server by a predetermined method (for example, round robin method). . In particular, when the processing server of the distribution destination is a processing server 24 to 27 other than its own base (that is, another base), the distribution unit 140 has the maximum score that is the highest in a range that does not exceed the maximum number of return signals of the local base. The signals that are originally distributed to the processing servers at the other bases are distributed to the processing servers 21 to 23 at the own bases by the number of return signals from the local bases.

本例の場合、図11に示すように、取得された自拠点の処理サーバ21〜23のCPU使用率(負荷情報)は、処理サーバ21のCPU使用率「35」、処理サーバ22のCPU使用率「34」、処理サーバ23のCPU使用率「34」であり、CPU使用率の最大値は、処理サーバ21の「35」である。また、前記図7に示すように、情報格納部120には、拠点情報200として、自拠点の処理サーバのCPU限界値「80」、拠点間遅延「1000」、自拠点の処理サーバ数「3」、他拠点の処理サーバ数「4」が格納されている。さらに、信号数算出部130は、図12に示す自拠点戻信号数S、自拠点の処理サーバの負荷変動率A、平均信号処理TAT変動率B、およびスコアを算出している。   In the case of this example, as shown in FIG. 11, the CPU usage rate (load information) of the acquired processing servers 21 to 23 at the local site is the CPU usage rate “35” of the processing server 21 and the CPU usage of the processing server 22. The rate “34” is the CPU usage rate “34” of the processing server 23, and the maximum value of the CPU usage rate is “35” of the processing server 21. As shown in FIG. 7, the information storage unit 120 stores, as the base information 200, the CPU limit value “80” of the processing server at its own base, the inter-base delay “1000”, and the number of processing servers at its base “3”. ", The number of processing servers at other sites" 4 "is stored. Furthermore, the signal number calculation unit 130 calculates the local site return signal number S shown in FIG. 12, the load variation rate A, the average signal processing TAT variation rate B, and the score of the processing server at the local site.

この場合、図12の符号aに示すように、振分部140は、取得したCPU使用率の最大値「35」を2倍してもCPU限界値「80」を超えないため、自拠点戻信号数S「3」が最大自拠点戻信号数の範囲となり、この最大自拠点戻信号数の範囲の3信号を自拠点の処理サーバ21〜23へ振り分けることが可能である。ちなみに、この最大自拠点戻信号数をそのまま自拠点戻信号数Sとして決定する方法が前記(方法1)に対応する。   In this case, as shown by the symbol a in FIG. 12, the allocating unit 140 does not exceed the CPU limit value “80” even if the acquired maximum value “35” of the CPU usage rate is doubled. The number of signals S “3” is within the range of the maximum own site return signal number, and three signals within the range of the maximum own site return signal number can be distributed to the processing servers 21 to 23 at the own site. Incidentally, a method of determining the maximum own site return signal number as it is as the own site return signal number S corresponds to the above (Method 1).

一方、図12の符号bに示すように、振分部140は、最大自拠点戻信号数を超えない範囲で最も高いスコアは自拠点戻信号数Sが「3」のため、自拠点戻信号数S「3」の範囲の中で最も高いスコアであるスコア「1.90」が選ばれ、そして該スコア「1.90」が示すS「3」が決定される。この例では、スコアから自拠点戻信号数Sを決定した場合もS「3」が決定され、3信号を自拠点の処理サーバ21〜23に振り分けることができる。   On the other hand, as shown by the symbol b in FIG. 12, the allocating unit 140 has the highest score within the range not exceeding the maximum number of local site return signals, and the local site return signal is “3”. The score “1.90” that is the highest score in the range of the number S “3” is selected, and S “3” indicated by the score “1.90” is determined. In this example, even when the local site return signal number S is determined from the score, S “3” is determined, and the 3 signals can be distributed to the processing servers 21 to 23 at the local site.

図12の例では、自拠点の処理サーバの負荷変動率Aのみを用いて、自拠点戻信号数Sを決定する方法(方法1)によるS「3」と(図12の符号a参照)、最大自拠点戻信号数の範囲の中で最大のスコアとなる自拠点戻信号数Sを決定する方法(方法2)によるS「3」と(図12の符号b参照)、が同じ結果となっているが、決定される自拠点戻信号数Sが両者で異なる場合もあり得る。すなわち、スコアの値によっては最大自拠点戻信号数の範囲の中から、スコアの値がより高い別の自拠点戻信号数Sが決定されることは有り得る。両者による自拠点戻信号数Sが異なった場合、(方法2)による自拠点戻信号数Sの決定を優先させる。
このように、(方法2)では、(方法1)で得られた最大自拠点戻信号数の範囲から、最も評価の高い自拠点戻信号数Sを決定するので、より信頼度の高い自拠点戻信号数Sを得ることができる。その結果、より最適な自拠点戻信号数S分だけ他拠点から自拠点の処理サーバに振り分けることができるので、負荷分散のさらなる最適化を図ることができ、より一層処理負荷を制限しつつ、応答時間をできるだけ早めることができる。
In the example of FIG. 12, S “3” by the method (method 1) for determining the local site return signal number S using only the load fluctuation rate A of the processing server at the local site (see symbol a in FIG. 12), S “3” obtained by the method (method 2) for determining the number S of local site return signals S having the maximum score in the range of the maximum number of local site return signals (see symbol b in FIG. 12) has the same result. However, there may be a case where the determined number S of returning signals from the own site differs between the two. That is, depending on the score value, it is possible that another own base return signal number S having a higher score value is determined from the range of the maximum self base return signal number. When the number S of own site return signals by the two is different, priority is given to the determination of the number S of own site return signals by (Method 2).
In this way, in (Method 2), the highest number of own site return signals S is determined from the range of the maximum number of own site return signals obtained in (Method 1). The number S of return signals can be obtained. As a result, since it is possible to distribute from the other bases to the processing server at the local site by the optimal number of local site return signals S, further optimization of load distribution can be achieved, while further limiting the processing load, Response time can be accelerated as much as possible.

3信号を自拠点の処理サーバ21〜23へ振り分ける具体例について、図13を参照して説明する。
図13は、(方法2)において、他拠点の処理サーバに振り分ける信号を自拠点の処理サーバで処理する負荷分散動作を表にして説明する図である。図13は、ラウンドロビンで負荷分散を行っていて、3信号を自拠点の処理サーバ21〜23で処理するようにする場合を例に採る。
図13の縦軸は処理サーバによってシーケンシャル処理される信号1〜14を、横軸は処理サーバ21〜27(自拠点の処理サーバ21〜23と他拠点の処理サーバ24〜27)をそれぞれ示す。図13において、実線の白丸(○印)は信号が該当処理サーバに振り分けられることを示している。また、破線の白丸(破線○印)は、本来他拠点の処理サーバに振り分けられる信号が自拠点の処理サーバに振り分けられた(戻された)ことを示している。
A specific example in which the three signals are distributed to the processing servers 21 to 23 at the local site will be described with reference to FIG.
FIG. 13 is a diagram illustrating, in a table, a load distribution operation in which a signal distributed to a processing server at another site is processed by the processing server at its own site in (Method 2). FIG. 13 shows an example in which load distribution is performed by round robin and three signals are processed by the processing servers 21 to 23 at the local site.
The vertical axis in FIG. 13 indicates signals 1 to 14 that are sequentially processed by the processing server, and the horizontal axis indicates processing servers 21 to 27 (the processing servers 21 to 23 at the local site and the processing servers 24 to 27 at other sites). In FIG. 13, a solid white circle (◯ mark) indicates that a signal is distributed to the corresponding processing server. Further, a broken white circle (a broken line circle) indicates that a signal originally distributed to the processing server at the other site is distributed (returned) to the processing server at the own site.

自拠点戻信号数Sが「3」であるので、図13の符号aに示すように3信号の自拠点の処理サーバへ21〜23の振り分けを開始する。図13の破線以下の信号の振り分けにおいて、他拠点の処理サーバ24〜27に振り分けられる信号の3つを自拠点の処理サーバ21〜23へ振り分ける。この例では、図13の破線以下の破線の白丸(破線○印)に示すように、信号11,12,13は本来であれば他拠点の処理サーバ24,25,26に振り分けられる信号を自拠点の処理サーバ21,22,23へ振り分ける。   Since the number S of own site return signals is “3”, the distribution of 21 to 23 is started to the processing server at the own site of 3 signals as indicated by reference symbol a in FIG. In the distribution of signals below the broken line in FIG. 13, three of the signals distributed to the processing servers 24 to 27 at other sites are distributed to the processing servers 21 to 23 at the local site. In this example, the signals 11, 12, and 13 are originally signals that are distributed to the processing servers 24, 25, and 26 at other sites as indicated by the white circles (dashed circles) after the broken line in FIG. Allocate to the processing servers 21, 22, 23 at the base.

(方法2)の負荷分散によれば、処理サーバの負荷と応答時間と評価関数を用いたスコアをもとに、算出されるスコアを最大にする自拠点戻信号数Sの値で他拠点信号を自拠点の処理サーバ21〜23で処理するようにすることで、より一層処理負荷を制限しつつ、応答時間をできるだけ早めることができる。   According to the load distribution in (Method 2), based on the load of the processing server, the response time, and the score using the evaluation function, the signal of the other base is obtained with the value of the number S of local return signals that maximizes the calculated score. Is processed by the processing servers 21 to 23 at its own base, the response time can be shortened as much as possible while further restricting the processing load.

なお、上記(方法2)では、信号数算出部130は、自拠点の処理サーバの負荷変動率Aと平均信号処理TAT変動率Bから減少関数(評価関数)を用いてスコアを算出しているが、平均信号処理TAT変動率Bを用いるものであればよく、評価関数に基づくスコアを算出しないものでもよい。すなわち、自拠点の処理サーバの負荷変動率Aと平均信号処理TAT変動率Bを用いて自拠点戻信号数Sを決定するものであれば、どのようなものでもよい。
また、自拠点の処理サーバの負荷変動率Aを用いることなく、平均信号処理TAT変動率Bのみを用いるものでもよい。この場合には、あらかじめTAT変動率B目標値を設定し、実測値との差値等から自拠点戻信号数Sを求めることができる。
In the above (Method 2), the signal number calculation unit 130 calculates a score from the load variation rate A and the average signal processing TAT variation rate B of the processing server at its own site using a decreasing function (evaluation function). However, the average signal processing TAT fluctuation rate B may be used, and the score based on the evaluation function may not be calculated. That is, as long as the local site return signal number S is determined using the load variation rate A and the average signal processing TAT variation rate B of the processing server at the local site, any method may be used.
Further, only the average signal processing TAT fluctuation rate B may be used without using the load fluctuation rate A of the processing server at its own site. In this case, the TAT fluctuation rate B target value can be set in advance, and the local site return signal number S can be obtained from the difference value from the actual measurement value or the like.

以上説明したように、本実施形態の負荷分散装置100は、自拠点の処理サーバのCPU限界値(負荷制限値)を記憶する情報格納部120と、自拠点の処理サーバのCPU使用率(負荷情報)を取得する負荷情報取得部110と、取得したCPU使用率の最大値と自拠点の処理サーバの負荷変動率Aとに基づいて、CPU限界値を超えない範囲で、他拠点の処理サーバに振り分けるべき信号を自拠点の処理サーバに振り分ける自拠点戻信号数Sを算出する信号数算出部130と、算出した自拠点戻信号数S分を、他拠点から自拠点の処理サーバに振り分ける振分部140と、を備える。   As described above, the load distribution apparatus 100 according to the present embodiment includes the information storage unit 120 that stores the CPU limit value (load limit value) of the local processing server, and the CPU usage rate (load) of the local processing server. Load information acquisition unit 110 that acquires information), the maximum value of the acquired CPU usage rate, and the load fluctuation rate A of the processing server at the local site, within a range not exceeding the CPU limit value, the processing server at the other site A signal number calculation unit 130 that calculates the number S of local site return signals that distributes signals to be distributed to the processing server at the local site, and a distribution that distributes the calculated number S of local site return signals to the processing server at the local site from other sites. A dividing unit 140.

これにより、負荷分散装置100は、処理サーバの負荷情報を自拠点の処理サーバ21〜23からしか取得しないので、他拠点の処理サーバ24〜27から取得する場合と比べて、迅速に、処理サーバの負荷状態や応答時間を取得することが可能となる。よって、処理サーバの決定に際し、よりタイムリーな情報で負荷分散処理が可能となり、かつ、ネットワーク帯域も圧迫することも少ない効果がある。特に、処理サーバが地域や国をまたいで存在していた場合に、情報を収集するための信号が増大しネットワーク帯域を圧迫するという問題を解決することができる。   Thereby, since the load distribution apparatus 100 acquires the load information of the processing server only from the processing servers 21 to 23 of its own base, the processing server can be quickly compared with the case of acquiring from the processing servers 24 to 27 of other bases. It becomes possible to acquire the load state and response time. Therefore, when determining a processing server, load distribution processing can be performed with more timely information, and the network bandwidth is less likely to be compressed. In particular, when the processing server exists across regions and countries, it is possible to solve the problem that the signal for collecting information increases and the network bandwidth is compressed.

また、本実施形態では、CPU限界値を超えない範囲で、本来他拠点の処理サーバ24〜27が処理すべき信号を自拠点の処理サーバ21〜23に戻す振分を行っている。換言すれば、負荷分散装置100は、自拠点の処理サーバ21〜23への信号の振り分けを最適化するようにしているので、他拠点の処理サーバ24〜27への信号の振分を、より減らすことで、処理遅延を防止しつつ、自拠点の処理サーバ21〜23に過度の処理負荷をかけないようにしてハードウェアリソースの非効率化や不要なスケーリングを抑制することができる。   Further, in the present embodiment, within a range that does not exceed the CPU limit value, the distribution of the signals that should be processed by the processing servers 24 to 27 at the other bases to the processing servers 21 to 23 at the own bases is performed. In other words, since the load distribution apparatus 100 optimizes the distribution of signals to the processing servers 21 to 23 at its own site, the distribution of signals to the processing servers 24 to 27 at other sites can be further performed. By reducing the number, it is possible to prevent inefficiency of hardware resources and unnecessary scaling by preventing an excessive processing load on the processing servers 21 to 23 at the local site while preventing a processing delay.

なお、他拠点の処理サーバに振り分けられる信号を自拠点の処理サーバへ振り分ける(戻す)動作は、信号を他拠点から自拠点へ巻き取るイメージとなっている。この点で、自拠点の処理サーバへの「振り分け(戻す)」は、「巻き取り」と呼称してもよい。   The operation of distributing (returning) the signal distributed to the processing server at the other site to the processing server at the own site is an image of winding the signal from the other site to the own site. In this respect, “sorting (returning)” to the processing server at the local site may be referred to as “winding”.

また、上記実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部又は一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部又は一部を公知の方法で自動的に行うこともできる。この他、上述文書中や図面中に示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部又は一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。
In addition, among the processes described in the above embodiment, all or part of the processes described as being performed automatically can be performed manually, or the processes described as being performed manually can be performed. All or a part can be automatically performed by a known method. In addition, the processing procedures, control procedures, specific names, and information including various data and parameters shown in the above-described document and drawings can be arbitrarily changed unless otherwise specified.
Further, each component of each illustrated apparatus is functionally conceptual, and does not necessarily need to be physically configured as illustrated. That is, the specific form of distribution / integration of each device is not limited to the one shown in the figure, and all or a part of the distribution / integration may be functionally or physically distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured.

また、上記の各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行するためのソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、又は、IC(Integrated Circuit)カード、SD(Secure Digital)カード、光ディスク等の記録媒体に保持することができる。また、本明細書において、時系列的な処理を記述する処理ステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理(例えば、並列処理あるいはオブジェクトによる処理)をも含むものである。   Each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit. Further, each of the above-described configurations, functions, and the like may be realized by software for interpreting and executing a program that realizes each function by the processor. Information such as programs, tables, and files for realizing each function is stored in a memory, a hard disk, a recording device such as an SSD (Solid State Drive), an IC (Integrated Circuit) card, an SD (Secure Digital) card, an optical disk, etc. It can be held on a recording medium. Further, in this specification, the processing steps describing time-series processing are not limited to processing performed in time series according to the described order, but are not necessarily performed in time series, either in parallel or individually. The processing (for example, parallel processing or object processing) is also included.

11 データセンタ(自拠点)
12 データセンタ(他拠点)
21〜23 自拠点の処理サーバ
24〜27 他拠点の処理サーバ
31〜34 クライアント
100 負荷分散装置
110 負荷情報取得部
120 情報格納部(記憶部)
130 信号数算出部
140 振分部
200 拠点情報
A 自拠点の処理サーバの負荷変動率
B 平均信号処理TAT変動率
S 自拠点戻信号数
11 Data center (own site)
12 Data center (other bases)
21-23 Processing server at own site 24-27 Processing server at other site 31-34 Client 100 Load distribution device 110 Load information acquisition unit 120 Information storage unit (storage unit)
130 Signal Number Calculation Unit 140 Distribution Unit 200 Site Information A Load Variation Rate of Processing Server of Local Site B Average Signal Processing TAT Variation Rate S Number of Return Signals of Local Site

Claims (4)

自身が設置された自拠点の複数の処理サーバ、または前記自拠点から離隔した他拠点の複数の処理サーバに対して、クライアントからリクエストされた情報処理を実行させる処理サーバを決定する負荷分散装置であって、
前記自拠点の処理サーバの処理の限界値である負荷制限値を記憶する記憶部と、
前記自拠点の処理サーバの負荷情報を取得する負荷情報取得部と、
取得した前記負荷情報の最大値と前記自拠点の処理サーバの負荷変動を示す処理サーバの負荷変動率とに基づいて、前記負荷制限値を超えない範囲で、前記他拠点の処理サーバに振り分けるべき信号を前記自拠点の処理サーバに振り分ける自拠点戻信号数を算出する信号数算出部と、
算出した前記自拠点戻信号数分を、前記他拠点から自拠点の処理サーバに振り分ける振分部と、
を備えることを特徴とする負荷分散装置。
A load balancer that determines a processing server that executes information processing requested by a client for a plurality of processing servers at its own site where it is installed or a plurality of processing servers at other sites separated from the own site. There,
A storage unit that stores a load limit value that is a limit value of processing of the processing server at the local site;
A load information acquisition unit that acquires load information of the processing server at the local site;
Based on the acquired maximum value of the load information and the load fluctuation rate of the processing server indicating the load fluctuation of the processing server at the local site, it should be distributed to the processing servers at the other sites within a range not exceeding the load limit value. A signal number calculation unit for calculating the number of return signals of the own site that distributes the signal to the processing server of the own site;
A distribution unit that distributes the calculated number of return signals from the local site to the processing server of the local site from the other site;
A load balancer comprising:
前記信号数算出部は、前記自拠点の処理サーバで処理した場合の処理TAT(Turn Around Time)と、前記他拠点の処理サーバで処理した場合の処理TATとに基づいて、前記リクエストをあらかじめ決めた順序で各前記処理サーバに振り分ける場合の処理応答時間の変動を示す平均信号処理TAT変動率を算出するとともに、
前記自拠点の処理サーバの負荷変動率と前記平均信号処理TAT変動率とを基に、前記自拠点戻信号数を評価するスコアを算出し、
前記振分部は、取得した前記負荷情報の最大値と前記自拠点の処理サーバの負荷変動率とに基づいて、前記負荷制限値を超えない範囲の中から、最大の前記スコアとなる前記自拠点戻信号分を、前記他拠点から自拠点の処理サーバに振り分ける
ことを特徴とする請求項1に記載の負荷分散装置。
The signal number calculation unit determines the request in advance based on a processing TAT (Turn Around Time) when processed by the processing server at the local site and a processing TAT when processed by the processing server at the other site. And calculating an average signal processing TAT variation rate indicating variation in processing response time when allocating to each of the processing servers in a predetermined order,
Based on the load fluctuation rate of the processing server at the local site and the average signal processing TAT fluctuation rate, a score for evaluating the local site return signal number is calculated,
Based on the acquired maximum value of the load information and the load fluctuation rate of the processing server at the local site, the allocating unit has the self score that has the maximum score from a range that does not exceed the load limit value. The load distribution apparatus according to claim 1, wherein the base return signal is distributed from the other bases to a processing server at the local base.
前記負荷情報取得部は、前記自拠点の処理サーバのCPU使用率を負荷情報として取得する
ことを特徴とする請求項1または請求項2に記載の負荷分散装置。
The load distribution apparatus according to claim 1, wherein the load information acquisition unit acquires the CPU usage rate of the processing server at the local site as load information.
自身が設置された自拠点の複数の処理サーバ、または前記自拠点から離隔した他拠点の複数の処理サーバに対して、クライアントからリクエストされた情報処理を実行させる処理サーバを決定する負荷分散装置の負荷分散方法であって、
前記負荷分散装置は、
前記自拠点の処理サーバの処理の限界値である負荷制限値を記憶部に記憶しており、
前記自拠点の処理サーバの負荷情報を取得する負荷情報取得ステップと、
取得した前記負荷情報の最大値と前記自拠点の処理サーバの負荷変動を示す処理サーバの負荷変動率とに基づいて、前記負荷制限値を超えない範囲で、前記他拠点の処理サーバに振り分けるべき信号を前記自拠点の処理サーバに振り分ける自拠点戻信号数を算出する信号数算出ステップと、
算出した前記自拠点戻信号数分を、前記他拠点から自拠点の処理サーバに振り分ける振分ステップと、
を実行する負荷分散方法。
A load balancer that determines a processing server that executes information processing requested by a client with respect to a plurality of processing servers at its own site where it is installed, or a plurality of processing servers at other sites separated from the own site. A load balancing method,
The load balancer is
A load limit value that is a limit value of processing of the processing server at the local site is stored in a storage unit,
A load information acquisition step of acquiring load information of the processing server at the local site;
Based on the acquired maximum value of the load information and the load fluctuation rate of the processing server indicating the load fluctuation of the processing server at the local site, it should be distributed to the processing servers at the other sites within a range not exceeding the load limit value. A signal number calculating step of calculating the number of return signals of the own site that distributes the signal to the processing server of the own site;
A distribution step of distributing the calculated number of the return signals of the local site to the processing server of the local site from the other sites;
Load balancing method to execute.
JP2015239899A 2015-12-09 2015-12-09 Load distribution apparatus and load distribution method Active JP6368699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015239899A JP6368699B2 (en) 2015-12-09 2015-12-09 Load distribution apparatus and load distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015239899A JP6368699B2 (en) 2015-12-09 2015-12-09 Load distribution apparatus and load distribution method

Publications (2)

Publication Number Publication Date
JP2017107353A JP2017107353A (en) 2017-06-15
JP6368699B2 true JP6368699B2 (en) 2018-08-01

Family

ID=59059734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015239899A Active JP6368699B2 (en) 2015-12-09 2015-12-09 Load distribution apparatus and load distribution method

Country Status (1)

Country Link
JP (1) JP6368699B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6835683B2 (en) * 2017-08-07 2021-02-24 日本電信電話株式会社 Dispersion method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3698073B2 (en) * 2001-06-13 2005-09-21 日本電信電話株式会社 Server selection apparatus, method, program, and recording medium recording the program
JP2005004676A (en) * 2003-06-16 2005-01-06 Fujitsu Ltd Adaptive distributed processing system
JP4101251B2 (en) * 2005-05-24 2008-06-18 富士通株式会社 Load distribution program, load distribution method, and load distribution apparatus
JP2011113268A (en) * 2009-11-26 2011-06-09 Nomura Research Institute Ltd Cloud facade management system
JP5724687B2 (en) * 2011-07-04 2015-05-27 富士通株式会社 Information processing apparatus, server selection method, and program
US20130151688A1 (en) * 2011-12-07 2013-06-13 Alcatel-Lucent Usa Inc. Optimization mechanisms for latency reduction and elasticity improvement in geographically distributed data centers
JP5962100B2 (en) * 2012-03-19 2016-08-03 富士通株式会社 Message relay device, message relay method, and program

Also Published As

Publication number Publication date
JP2017107353A (en) 2017-06-15

Similar Documents

Publication Publication Date Title
CN107026907B (en) Load balancing method, load balancer and load balancing system
CN109218355B (en) Load balancing engine, client, distributed computing system and load balancing method
US10637916B2 (en) Method and device for storage resource allocation for video cloud storage
CN108463988B (en) System for network file access for load balancing
US10044797B2 (en) Load balancing of distributed services
US20180241843A1 (en) Adjusting cloud-based execution environment by neural network
US20150196841A1 (en) Load balancing system and method for rendering service in cloud gaming environment
US20160156567A1 (en) Allocation method of a computer resource and computer system
CN108933829A (en) A kind of load-balancing method and device
WO2015001850A1 (en) Task allocation determination device, control method, and program
US20170093963A1 (en) Method and Apparatus for Allocating Information and Memory
KR101448413B1 (en) Method and apparatus for scheduling communication traffic in atca-based equipment
US20180145883A1 (en) Server, computer program product, and communication system
JP6368699B2 (en) Load distribution apparatus and load distribution method
US9501321B1 (en) Weighted service requests throttling
JP6748359B2 (en) Connection number control program, distribution device, and connection number control method
JP2017162059A (en) Information processing device, control method, and program
CN113268329A (en) Request scheduling method, device and storage medium
JP6660322B2 (en) Load distribution device and load distribution method
CN110609744B (en) Method, apparatus and computer program product for processing computing tasks
JP6383336B2 (en) Server management apparatus and server management method
JP6325995B2 (en) Distributed system, load balancing method and program
JP6696941B2 (en) Load balancer and load balancing method
CN113377539A (en) Processing method and device for realizing load balance
US20140019623A1 (en) Virtual server system, management server device, and system managing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180626

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: 20180703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180709

R150 Certificate of patent or registration of utility model

Ref document number: 6368699

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150