JP2010146382A - Load balancing system, load balancing method and load balancing program - Google Patents
Load balancing system, load balancing method and load balancing program Download PDFInfo
- Publication number
- JP2010146382A JP2010146382A JP2008324260A JP2008324260A JP2010146382A JP 2010146382 A JP2010146382 A JP 2010146382A JP 2008324260 A JP2008324260 A JP 2008324260A JP 2008324260 A JP2008324260 A JP 2008324260A JP 2010146382 A JP2010146382 A JP 2010146382A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- business
- resource
- load
- execution
- 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.)
- Pending
Links
Images
Landscapes
- Multi Processors (AREA)
Abstract
Description
本発明は、コンピュータシステムにおける業務実行時にリソースを有効に利用する技術に関する。 The present invention relates to a technology for effectively using resources at the time of business execution in a computer system.
コンピュータシステムにおける負荷の上昇や、業務超過により処理能力が限界に達してしまい、処理のスローダウンが発生するのを防ぐため、システム負荷に応じて業務の実行を制限することが行われている。 In order to prevent the processing capacity from reaching the limit due to an increase in the load on the computer system or an excess of work and slowing down of the process, execution of the work is restricted according to the system load.
しかしながら、処理業務の超過などによって、コンピュータシステムの負荷が上昇して処理能力が限界に達することにより、コンピュータシステム全体の処理能力が低下してしまうという状況が生じるのを防ぐため、システム負荷に応じて業務の実行を制限することが行われている。
しかしながら、CPU(Central Processing Unit)やDB(Data Base)等の各システムリソースの負荷に基づいて、処理される業務に制限を設けることにより、重要度の高い業務も低い業務も一律に、処理が制限されてしまうという不都合があった。
However, in order to prevent the situation where the processing capacity of the computer system as a whole decreases due to an increase in the processing capacity of the computer system due to excess processing operations, etc. To restrict the execution of business.
However, by restricting the work to be processed based on the load of each system resource such as CPU (Central Processing Unit) and DB (Data Base), it is possible to process both high and low importance work uniformly. There was the inconvenience of being restricted.
これに対する関連情報として、システムの負荷状況をリソースごとに管理して、この負荷状況と業務の優先度に基づいた閾値とを比較した結果により業務実行の可否を判定することにより、リソースおよび優先度に応じた業務制限を行う手法が開示されている(特許文献1)
しかしながら、上記関連技術では、予め設定された優先度に応じて業務処理の実行および業務制限を行うため、業務処理にかかるリソース利用の特性によっては、業務ごとにシステムリソースの一部のみが使用されるような業務が優先して実行されてしまうことにより、処理速度が遅くなってしまったり、処理限界に余裕があるにもかかわらず業務実行が制限されてしまったりする不都合があった。 However, in the above related technology, business processing is executed and business is restricted according to a preset priority, so only a part of system resources is used for each business depending on the characteristics of resource usage for business processing. As a result, the processing speed is slowed down, and the execution of the business is restricted even though there is a margin in the processing limit.
[発明の目的]
本発明は、上記関連技術の有する不都合を改善し、システムリソースを有効に利用した業務処理を行う負荷分散システム、負荷分散方法、および負荷分散プログラムを提供することを、その目的とする。
[Object of invention]
An object of the present invention is to provide a load distribution system, a load distribution method, and a load distribution program that improve the inconveniences of the related art and perform business processing that effectively uses system resources.
上記目的を達成するために、本発明に係る負荷分散システムは、要求された各業務に対して優先度を設定する業務優先度設定手段と、前記優先度に基づき優先度の高い業務から実行処理を行う業務実行処理手段と、前記業務の実行処理時に利用される処理資源の処理負荷を測定する処理負荷測定手段とを備えた負荷分散システムであって、前記処理資源の処理負荷が予め設定された値より高い場合に、前記業務実行処理手段の行う実行処理を前記優先度の低い業務から抑制する制御を行う業務実行抑制手段と、前記処理資源のうち、前記各業務全ての処理にかかる処理資源を全体リソース部として設定すると共に、前記処理資源のうち前記全体処理リソース以外の処理資源を部分リソース部として設定する資源分割設定手段と、前記設定された全体リソース部および部分リソース部それぞれにおける資源使用率を定期的に監視する資源別使用率監視手段とを備え、前記業務実行抑制手段は、前記部分リソース部における資源使用率が予め設定された値より高い場合に、前記部分処理リソース部にかかる業務の実行処理を抑制する部分処理制限機能を備えた構成をとっている。 In order to achieve the above object, a load distribution system according to the present invention includes business priority setting means for setting priority for each requested business, and execution processing from a business with high priority based on the priority. And a processing load measuring means for measuring a processing load of a processing resource used during the execution processing of the business, wherein the processing load of the processing resource is preset. A job execution suppression unit that performs control to suppress the execution process performed by the job execution processing unit from the low priority job, and a process related to all the tasks among the processing resources. Resource division setting means for setting a resource as an overall resource part and setting a processing resource other than the overall processing resource as a partial resource part among the processing resources; Resource usage rate monitoring means for periodically monitoring the resource usage rate in each of the overall resource part and the partial resource part, wherein the business execution suppression means uses a resource usage rate in the partial resource part from a preset value When the cost is high, the partial processing resource unit is configured to include a partial processing restriction function that suppresses the execution processing of the business.
要求された業務の実行処理を行う業務実行処理手段と、前記実行処理時に利用される処理資源の処理負荷を測定する処理負荷測定手段と、前記処理資源のうち、前記各業務全ての処理にかかる処理資源を全体リソース部とそれ以外の処理資源である部分リソース部とを設定する資源分割設定手段とを備えた負荷分散システムにあって、前記処理負荷を制御する負荷分散分散方法であって、要求された各業務に対して優先度を設定し、前記業務の実行処理時に利用される処理資源の処理負荷を測定し、前記処理負荷および前記優先度に基づき前記優先度の高い業務から実行処理を行い、前記処理負荷が予め設定された値より高い場合に、前記業務実行処理手段の行う実行処理を前記優先度の低い業務から抑制すると共に、前記部分処理リソース部にかかる業務の実行処理を抑制することを特徴としている。 A business execution processing means for executing the requested business, a processing load measuring means for measuring a processing load of a processing resource used during the execution processing, and processing of all the business among the processing resources A load distribution system including a resource division setting unit for setting a processing resource as a whole resource part and a partial resource part as a processing resource other than the resource part, wherein the load distribution method controls the processing load, Priorities are set for each requested task, the processing load of the processing resources used during the execution processing of the task is measured, and execution processing is started from the task with higher priority based on the processing load and the priority. When the processing load is higher than a preset value, the execution processing performed by the job execution processing means is suppressed from the job with the lower priority, and the partial processing resource It is characterized by suppressing the execution of such services to.
更に、本発明にかかる負荷分散プログラムは、要求された業務の実行処理を行う業務実行処理手段と、前記実行処理時に利用される処理資源の処理負荷を測定する処理負荷測定手段と、前記処理資源のうち、前記各業務全ての処理にかかる処理資源を全体リソース部とそれ以外の処理資源である部分リソース部とを設定する資源分割設定手段とを備えた負荷分散システムにあって、前記処理負荷を制御するための負荷分散分散プログラムであって、要求された各業務に対して優先度を設定する優先度設定機能と、前記優先度に基づき優先度の高い業務から実行処理を行う業務実行機能と、前記業務の実行処理時に利用される処理資源の処理負荷を測定し前記処理負荷が予め設定された値より高い場合に、前記業務実行処理手段の行う実行処理を前記優先度の低い業務から抑制すると共に前記部分処理リソース部にかかる業務の実行処理を抑制する実行処理抑制機能とを、前記負荷分散分散システムのコンピュータに実行させることを特徴としている。 Furthermore, the load distribution program according to the present invention includes a business execution processing unit that performs execution processing of a requested business, a processing load measurement unit that measures a processing load of a processing resource used during the execution processing, and the processing resource A load distribution system comprising: a resource division setting unit configured to set a processing resource for processing of each of the operations as a whole resource unit and a partial resource unit which is a processing resource other than the processing resource; A load balancing program for controlling the priority, a priority setting function for setting a priority for each requested business, and a business execution function for executing an execution process from a business with a high priority based on the priority And execution processing performed by the business execution processing means when the processing load of the processing resource used during the execution processing of the business is measured and the processing load is higher than a preset value. And suppressing execution suppression function execution process of the operation according to the partial processing resource unit suppresses from the lower priority operations, is characterized by causing a computer to execute the load balancing distributed system.
本発明は、以上のように構成され機能するので、これによると、処理資源のうち各業務全ての処理にかかる処理資源を全体リソース部として設定すると共に、前記処理資源のうち前記全体処理リソース以外の処理資源を部分リソース部として設定する手段と、全体リソース部および部分リソース部それぞれにおける資源使用率を定期的に監視する手段と、部分リソース部における資源使用率が予め設定された値より高い場合に、前記処理資源の処理負荷が予め設定された値より高い場合に、前記業務実行処理手段の行う実行処理を前記優先度の低い業務から抑制し、且つ部分処理リソース部にかかる業務の実行処理を抑制する手段を備えた構成としたので、システムリソースを有効に利用した業務処理を行う負荷分散システム、負荷分散方法、および負荷分散プログラムを提供することができる。 Since the present invention is configured and functions as described above, according to this, the processing resources related to the processing of all the operations among the processing resources are set as the overall resource section, and the processing resources other than the overall processing resources are set. Means for setting the processing resources of the resource as a partial resource part, means for periodically monitoring the resource usage rate in each of the overall resource part and the partial resource part, and the resource usage rate in the partial resource part is higher than a preset value In addition, when the processing load of the processing resource is higher than a preset value, the execution processing performed by the job execution processing means is suppressed from the low priority job, and the job execution processing for the partial processing resource unit Load balancing system and load balancing method for performing business processing using system resources effectively And it is possible to provide a load distribution program.
[実施形態]
次に、本発明の実施形態である負荷分散システムについて、その基本的構成内容を説明する。
[Embodiment]
Next, the basic content of the load distribution system according to the embodiment of the present invention will be described.
負荷分散システム1は、図1に示すように、要求された業務の実行処理に利用されるリソース(CPU、メモリ、バスなどを含む)を備えたコンピュータシステムであって、この負荷分散システム1内で、それぞれ業務の実行処理を行う業務実行ノード110,120,および130と、外部のシステムから通信回線を介して送り込まれた業務要求を受け付け、業務実行ノード(110,120,130の総称として「業務実行ノード」という)に対して要求の中継転送を行う通信ノード140と、負荷分散システム1内部で生成された業務要求を業務実行ノードへと発行する内部駆動ノード150を備えた構成となっている。
As shown in FIG. 1, the load distribution system 1 is a computer system including resources (including a CPU, a memory, a bus, and the like) used for execution processing of a requested job. Thus, the
また、負荷分散システム1内の業務の実行に利用されるシステムリソースは、全体リソース160と分散リソース170とから構成される。
ここで、全体リソース160は、実行処理される全ての業務で使用されるリソースを示し、分散リソース170は、業務ごとに一部分のみ使用されるリソースを示す。
The system resources used for executing the business in the load balancing system 1 are composed of an
Here, the
尚、分散リソース170の設定の仕方(分散のさせ方)は、コンピュータシステムである負荷分散システムの設置目的や要求される業務の目的、内容により異なるものとする。
例えば、業務ごとに使用するリソースが割当てられた分散リソースや、処理対象であるデータの種別に基づきリソースが割当てられた分散リソースなどであってもよい。
Note that the setting method (distribution method) of the distributed resource 170 differs depending on the installation purpose of the load distribution system, which is a computer system, the purpose of the requested business, and the content.
For example, it may be a distributed resource to which resources used for each business are allocated, or a distributed resource to which resources are allocated based on the type of data to be processed.
業務実行ノード110は、通信ノード140または内部駆動ノード150から要求された業務の実行処理を行う業務実行手段111と、この業務実行手段111で実行される業務の進捗状況や滞留状況を管理する業務滞留状況管理手段112と、全体リソース160の負荷状況の監視を行う全体リソース負荷状況管理手段113と、分散リソース170の監視を行う分散リソース負荷状況管理手段114と、全体リソース160、および分散リソース170の負荷状況が記録される負荷状況管理テーブル200を記憶保持する負荷状況管理情報115とを含み構成される。
The business execution node 110 is a business execution unit 111 that performs execution processing of a business requested from the
業務実行手段111は、上述のように、通信ノード140または内部駆動ノード150から要求された業務をオンライントランザクションとして実行する業務実行処理機能を有する。その際の実行処理では、全体リソース160と、必要に応じて分散リソース170が使用される。
As described above, the business execution unit 111 has a business execution processing function for executing a business requested from the
業務滞留状況管理手段112は、業務実行手段111で実行処理される業務の滞留状況を取得し、負荷状況管理情報115の業務滞留状況201を更新する(滞留状況更新機能)。
又、業務滞留状況管理手段112は、業務負荷状況がシステムリソースの負荷が予め設定された値より高くなった場合に、業務実行手段111における分散リソースにかかる業務実行処理を抑制する制御を行う業務制限制御機能を備えている。
The business residence
Further, the business residence
これにより、システムリソースの負荷が高くなった場合でも、分散リソース170に関連する業務の処理のみを制限し、処理負荷が高まることによるリソースへの影響(例えば、処理動作速度が落ちるなど)を、特定の分散リソースに局所化することができる。 Thereby, even when the load of the system resource becomes high, only the processing of the business related to the distributed resource 170 is limited, and the influence on the resource due to the increase in the processing load (for example, the processing operation speed decreases) Can be localized to a specific distributed resource.
全体リソース負荷状況管理手段113は、全体リソース160の負荷状況を定期的に確認し、負荷状況管理手段115の全体リソース負荷状況203を更新する。
分散リソース負荷状況管理手段114は、分散リソース170の負荷状況を定期的に確認し、分散リソースの種別に応じて、負荷状況管理情報115の分散リソース負荷状況202を更新する。
The overall resource load
The distributed resource load status management means 114 periodically checks the load status of the distributed resource 170 and updates the distributed resource load status 202 of the load
ここで、負荷状況管理手段115に記憶された負荷状況管理テーブル200の一例を図2に示す。負荷情報管理情報200は、業務ごとに、業務の滞留状況201、使用している分散リソースの種別ごとの負荷状況202、全体リソースの負荷状況203を管理し、業務と分散リソース種別から業務負荷状況204を特定するための情報である。 An example of the load status management table 200 stored in the load status management means 115 is shown in FIG. The load information management information 200 manages, for each business, a business residence status 201, a load status 202 for each type of distributed resource being used, and a load status 203 for all resources. This is information for identifying 204.
通信ノード140は、外部のシステムから送り込まれた業務を受け付けると共に、各業務に優先度を割当てる業務要求受付手段141と、業務要求受付手段141で受け付けられた業務にかかる負荷状況を負荷状況管理手段115から取得する業務負荷取得手段142と、取得された負荷状況に基づいて業務の実行を行うか否かを判定する業務実行可否判定手段143と、実行可能と判定された業務を業務実行ノードに転送する業務振り分け手段144と、業務に割当てられた優先度に応じて予め設定された負荷の上限閾値が記憶された業務優先度管理手段145とを含み構成される
尚、業務優先度管理手段145には、予め業務ごとの優先度としきい値が登録されている業務優先度管理情報が記憶されているものとする。
The
これにより、外部システムからの要求を、業務要求受付手段141で受け付けると、業務負荷取得手段142は負荷状況管理情報115から当該業務の負荷を取得し、業務実行可否判定手段143は、取得した負荷と業務優先度管理情報とを比較して当該業務が実行できる状態であるかを判定し、実行可能であれば、業務振り分け手段144は、業務要求を業務実行ノード110、120、130のうち適切なノードに中継する。
As a result, when a request from the external system is received by the business
内部駆動ノード150は、内部駆動ノード150のオペレータからの要求やスケジュールに沿って自動的に業務要求を発行する内部業務駆動手段151と、この内部業務駆動手段151で発行された業務にかかる負荷状況を負荷状況管理手段115から取得する業務負荷取得手段152と、取得された負荷状況に基づいて業務の実行を行うか否かを判定する業務実行可否判定手段153と、実行可能と判定された業務を業務実行ノードに転送する業務振り分け手段154と、業務に割当てられた優先度に応じて予め設定された負荷の上限閾値が記憶された業務優先度管理手段155とを含み構成される
尚、業務優先度管理手段155には、予め業務ごとの優先度としきい値が登録されている業務優先度管理情報が記憶されているものとする。
The
業務負荷取得手段152と、業務実行可否判定手段153と、業務振り分け手段154と、業務優先度管理情報155とを含む。業務優先度管理情報155に、予め業務ごとの優先度としきい値が登録されている情報である。内部業務駆動手段151は、業務負荷取得手段152は負荷状況管理情報115から当該業務の負荷を取得し、業務実行可否判定手段153は、取得した負荷と業務優先度管理情報155とを比較して当該業務が実行できる状態であるかを判定し、実行可能であれば、業務振り分け手段154は、業務要求を業務実行ノード110、120、130のうち適切なノードに発行する。
A business
[実施形態の動作説明]
ここで、上記実施形態である負荷分散分散システムの動作の概要を説明する。
業務要求受付手段141が、要求された各業務に対して優先度を設定し(優先度設定機能)、負荷状況管理手段113,114が業務の実行処理時に利用される処理資源である全体リソース160、分散リソース170の処理負荷を測定し、業務実行手段111が優先度の高い業務から実行処理を行う(業務実行機能)。ここで、処理負荷が予め設定された値より高い場合に、業務滞留状況管理手段112が、業務実行処理手段111の行う実行処理を前記優先度の低い業務から抑制すると共に、前記部分処理リソース部にかかる業務の実行処理を抑制する(実行処理抑制機能)。
[Description of Operation of Embodiment]
Here, an outline of the operation of the load distribution system according to the embodiment will be described.
The business request
尚、上記優先度設定機能、業務実行機能、および実行処理抑制機能については、その実行内容をプログラム化して、業務実行ノードが備えたコンピュータに実行させる設定としてもよい。 The priority setting function, the business execution function, and the execution process suppression function may be set so that the execution content is programmed and executed by a computer provided in the business execution node.
次に、上記実施形態である負荷分散システムの動作について、詳説する。
まず、業務実行ノード110では、通信ノード140、または内部駆動ノード150から送り込まれる業務実行要求を受信し業務実行を行う(業務実行機能)。
ここで、業務実行手段111は、上記業務実行要求の(実行)業務について、当該業務内で並行して実行を行うこと(同時実行)のできる処理の度合いを、同時実行多重度として算出し、これに基づき実行中および実行待ち中の業務数をそれぞれ算出する。次いで、業務実行手段111は、業務停留状況管理手段112に対して、算出された実行中および実行待ち中の業務数を、業務の実行進捗状況として通知する(進捗状況通知機能)。
Next, the operation of the load distribution system according to the embodiment will be described in detail.
First, the business execution node 110 receives a business execution request sent from the
Here, the business execution means 111 calculates the degree of processing that can be executed in parallel (simultaneous execution) within the business for the (execution) business of the above business execution request as the simultaneous execution multiplicity, Based on this, the number of tasks being executed and waiting to be executed are calculated. Next, the task execution unit 111 notifies the task stop
業務停留状況管理手段112は、通知された実行進捗情報を、負荷状況管理手段115に設定された負荷状況管理テーブル200の業務滞留状況(項)201に登録を行うと共に、新たに、実行進捗状況が取得された場合は、負荷状況管理テーブル200の更新を行う(図2)。
また、業務停留状況管理手段112は、業務負荷状況の示すシステムリソースの負荷が予め設定された値より高くなった場合に、業務実行手段111における分散リソースにより行われる業務実行処理を抑制する(業務制限制御機能)。
The business suspension
Further, the business suspension
これにより、特定の分散リソースに依存する業務の範囲に閉じた業務実行の抑制を行なうことができる。このため、全体リソースにかかる業務(分散リソースに関連しない業務)を処理限界の範囲内で上限まで処理を行うことができる。 As a result, it is possible to suppress business execution that is closed to the scope of business that depends on a specific distributed resource. For this reason, it is possible to process a task related to the entire resource (a task not related to the distributed resource) up to the upper limit within the range of the processing limit.
一方、全体リソース負荷状況管理手段113は、全体リソース160の負荷状況を定期的に監視している。
ここで、例えば、全体リソース160の負荷状況(例えば、使用率など)が変化した場合には、全体リソース負荷状況管理手段113は、全体リソース160の使用率を取得すると共に、負荷分散状況管理手段115に記憶された負荷状況管理テーブル200の全体リソース負荷状況項203を更新する。
On the other hand, the overall resource load
Here, for example, when the load status (for example, the usage rate) of the
また、このとき、分散リソース負荷状況管理手段114も、分散リソース170(分散リソースA,B,C)の負荷状況を定期的に監視している。
ここで、例えば、部分リソース170の負荷分散状況(例えば、使用率など)変化した場合に、分散リソース負荷状況管理手段114は、分散リソース170の種別(A,B,C)ごとに負荷状況を取得して、負荷状況管理テーブル200における分散リソース負荷状況項202の内容を更新する(図2)。
At this time, the distributed resource load status management means 114 also periodically monitors the load status of the distributed resources 170 (distributed resources A, B, C).
Here, for example, when the load distribution status (for example, usage rate) of the partial resource 170 changes, the distributed resource load
一方、通信ノード140の業務要求受付手段141は、通信回線を介して接続された外部のシステムからの業務要求を受け付け、この業務要求の中に含まれる、業務要求の種別を示す「要求種別」と、この業務要求の業務実行に使用されるリソースを示す「使用リソース判別キー」とに基づき、業務優先度を設定する。
また、業務要求受付手段141は、この業務要求の業務を実行処理するための使用リソースを決定する。
On the other hand, the business
Further, the business
次いで、業務負荷取得手段142が、設定された業務優先度および使用リソースに基づき、業務実行ノード110の負荷状況管理手段115から対応するリソース(全体リソース、および分散リソースを含む)にかかる負荷状況情報を取得する(負荷状況情報取得機能)。
尚、このとき、業務負荷手段142は、業務実行ノード110の負荷状況管理手段115に対応する業務実行ノード120の負荷状況管理手段125、および業務実行ノード130の負荷状況管理手段135からも、設定されたリソース(全体リソース、および分散リソースを含む)にかかる負荷状況情報を取得するものとする。
Next, the load information on the resources (including total resources and distributed resources) from the load
At this time, the business load means 142 is also set from the load status management means 125 of the business execution node 120 and the load status management means 135 of the
次に、業務実行可否判定手段143が、業務優先度管理手段145から、設定された業務優先度に対応した閾値情報を取得すると共に、当該閾値情報と業務負荷取得手段142が取得した負荷状況情報とを比較する。ここで、業務実行可否判定手段143は、決定された使用リソースが高負荷状態にあるか、通常状態にあるかの判定を行う。
Next, the business execution
ここで、閾値情報の方が小さければ(負荷状況情報の方が大きければ)、使用リソースは、高負荷状態にあると判定され、閾値情報の方が大きければ(負荷状況情報の方が小さければ)、通常状態と判定する。 Here, if the threshold information is smaller (if the load status information is larger), it is determined that the resource used is in a high load state, and if the threshold information is larger (if the load status information is smaller) ), It is determined as a normal state.
このとき、業務実行ノード110,120,および130のいずれもが通常負荷状態である場合、業務実行ノード110,120,および130の何れに対しても業務要求を転送できる(してもかまわない)ので、業務振分手段144は、ラウンドロビン等の既存の選択ルールに基づいて、転送先の業務実行ノードを選択すると共に業務要求の転送を行う。
At this time, if any of the
一方、業務実行ノード110,120,および130のいずれもが高負荷状態であると判定された場合、業務振分手段144は、業務要求の転送を実行せずに業務要求を破棄する。また、業務要求の送信元である外部のシステムに対してエラー応答を返す設定としてもよい。
また、通常負荷状態と高負荷状態とが混在する場合は、予め設定された次のスケジュールタイミングまで業務要求の実行処理を保留する設定としてもよい。
On the other hand, when it is determined that all of the
In addition, when the normal load state and the high load state coexist, the execution process of the business request may be suspended until the next preset schedule timing.
これにより、負荷分散システム1におけるシステムリソースの負荷が高くなった場合でも、業務の一部のみに影響する処理を行う(業務の一部のみに係る)分散リソース170の実行処理のみを制限する制御を行うことで、システムリソースの負荷による影響を局所化することができる。 As a result, even when the load of the system resource in the load distribution system 1 is increased, the control that restricts only the execution processing of the distributed resource 170 that performs processing that affects only a part of the business (related to only part of the business). By performing the above, it is possible to localize the influence due to the load of system resources.
次に、内部駆動ノード150の動作について、説明する。
内部駆動ノード150では、例えば、この内部駆動ノード150のオペレータ(ユーザ)により入力された業務要求や、予め設定された業務要求生成手段などによりスケジュールに沿って生成された業務要求が、内部業務駆動手段151に対して発行されるものとする。
Next, the operation of the
In the
通信ノード150の内部業務駆動手段151は、発行された業務要求を受け付け、この業務要求の中に含まれる、業務要求の種別を示す「要求種別」と、この業務要求の業務実行に使用されるリソースを示す「使用リソース判別キー」とに基づき、業務優先度を設定する。また、内部業務駆動手段151は、この業務要求の業務を実行処理するための使用リソースを決定する。
The internal
次いで、業務負荷取得手段152が、設定された業務優先度および使用リソースに基づき、業務実行ノード110の負荷状況管理手段115から対応するリソース(全体リソース、および分散リソースを含む)にかかる負荷状況情報を取得する(負荷状況情報取得機能)。
尚、このとき、業務負荷手段152は、業務実行ノード110の負荷状況管理手段115に対応する業務実行ノード120の負荷状況管理手段125、および業務実行ノード130の負荷状況管理手段135からも、設定されたリソース(全体リソース、および分散リソースを含む)にかかる負荷状況情報を取得するものとする。
Next, the load information on the resources (including total resources and distributed resources) from the load
At this time, the business load means 152 is also set from the load status management means 125 of the business execution node 120 and the load status management means 135 of the
次に、業務実行可否判定手段153が、業務優先度管理手段155から、設定された業務優先度に対応した閾値情報を取得すると共に、当該閾値情報と業務負荷取得手段152が取得した負荷状況情報とを比較する。ここで、業務実行可否判定手段153は、決定された使用リソースが高負荷状態にあるか、通常状態にあるかの判定を行う。
Next, the business execution
ここで、閾値情報の方が大きければ(負荷状況情報の方が大きければ)、使用リソースは、高負荷状態にあると判定され、閾値情報の方が小さければ(負荷状況情報の方が大きければ)、通常状態と判定する。 Here, if the threshold information is larger (if the load status information is larger), the used resource is determined to be in a high load state, and if the threshold information is smaller (if the load status information is larger) ), It is determined as a normal state.
このとき、業務実行ノード110,120,および130のいずれもが通常負荷状態である場合、業務実行ノード110,120,および130の何れに対しても業務要求を転送できる(してもかまわない)ので、業務振分手段154は、ラウンドロビン等の既存の選択ルールに基づいて、転送先の業務実行ノードを選択すると共に業務要求の転送を行う。
At this time, if any of the
一方、業務実行ノード110,120,および130のいずれもが高負荷状態であると判定された場合、業務振分手段154は、業務要求の転送を実行せずに業務要求を破棄する。
また、業務要求の送信元である外部のシステムに対してエラー応答を返す設定としてもよい。また、通常負荷状態と高負荷状態とが混在する場合は、予め設定された次のスケジュールタイミングまで業務要求の実行処理を保留する設定としてもよい。
On the other hand, when it is determined that all of the
Alternatively, an error response may be set to be returned to an external system that is a business request transmission source. In addition, when the normal load state and the high load state coexist, the execution process of the business request may be suspended until the next preset schedule timing.
以上のように、本実施形態では、システム全体に影響しないリソースのみの負荷が高い場合には、このリソース(分散リソース)に関連する業務だけを制限(抑制)することで、分散リソースに関連しない業務を処理限界の範囲内ぎりぎりまで処理できることにある。
また、システムの処理限界を超える要求が行われた時にも、優先度の低い要求を制限することで、優先度の高い要求だけを処理限界の範囲内ぎりぎりまで処理することができる。
As described above, in this embodiment, when the load of only the resource that does not affect the entire system is high, only the work related to this resource (distributed resource) is limited (suppressed), so that it is not related to the distributed resource. It is to be able to process business to the limit of the processing limit.
Further, even when a request exceeding the processing limit of the system is made, it is possible to process only a request with a high priority up to the limit of the processing limit by limiting requests with a low priority.
更に、本実施形態では、実行処理を行うシステムリソースを業務の一部のみに影響する部分リソースと全体に影響する全体リソースとに分けるので、システムリソースの負荷が高くなった場合にも、部分リソースに関連する業務のみを制限することで、負荷による影響を局所化することができる。 Furthermore, in this embodiment, the system resource for executing processing is divided into a partial resource that affects only a part of the business and an entire resource that affects the entire business. Therefore, even when the load of the system resource increases, the partial resource By limiting only the tasks related to, the impact of the load can be localized.
本発明は、多量の業務を同時に処理しなければならず、また高い処理性能を求められる、例えば、金融機関のオンラインシステムといった用途に適用することができる。 The present invention can be applied to an application such as an online system of a financial institution that needs to process a large amount of business at the same time and requires high processing performance.
1 負荷分散システム
110、120、130 業務実行ノード
140 通信ノード
150 内部駆動ノード
160 全体リソース(全体リソース部)
170 分散リソース(部分リソース部)
111 業務実行手段(業務実行処理手段)
112 業務滞留状況管理手段(業務実行抑制手段)
115 負荷状況管理手段
DESCRIPTION OF SYMBOLS 1
170 Distributed resource (partial resource part)
111 business execution means (business execution processing means)
112 Business residence status management means (business execution suppression means)
115 Load status management means
Claims (5)
前記処理資源の処理負荷が予め設定された値より高い場合に、前記業務実行処理手段の行う実行処理を前記優先度の低い業務から抑制する制御を行う業務実行抑制手段と、
前記処理資源のうち、前記各業務全ての処理にかかる処理資源を全体リソース部として設定すると共に、前記処理資源のうち前記全体処理リソース以外の処理資源を部分リソース部として設定する資源分割設定手段と、
前記設定された全体リソース部および部分リソース部それぞれにおける資源使用率を定期的に監視する資源別使用率監視手段とを備え、
前記業務実行抑制手段は、前記部分リソース部における資源使用率が予め設定された値より高い場合に、前記部分処理リソース部にかかる業務の実行処理を抑制する部分処理制限機能を備えたことを特徴とする負荷分散システム。 Business priority setting means for setting a priority for each requested business, business execution processing means for performing execution processing from a high priority business based on the priority, and used during the execution processing of the business A load distribution system comprising a processing load measuring means for measuring a processing load of a processing resource,
When the processing load of the processing resource is higher than a preset value, business execution suppression means for controlling the execution processing performed by the business execution processing means from the low priority business,
A resource division setting unit that sets processing resources for processing of all the operations among the processing resources as an overall resource unit, and sets processing resources other than the overall processing resource among the processing resources as a partial resource unit; ,
Resource usage rate monitoring means for periodically monitoring the resource usage rate in each of the set overall resource part and partial resource part,
The business execution suppression means includes a partial processing restriction function that suppresses a business execution process for the partial processing resource unit when a resource usage rate in the partial resource unit is higher than a preset value. Load balancing system.
前記資源分割設定手段は、前記分散リソース部を、前記要求された各業務の処理内容に応じて使用する部分リソース部を設定する業務分散設定機能を備えたことを特徴とする負荷分散システム。 The load distribution system according to claim 1, wherein
The load distribution system, wherein the resource division setting means includes a business distribution setting function for setting a partial resource unit that uses the distributed resource unit according to the requested processing content of each business.
前記資源別使用率監視手段は、前記部分リソース部の種別ごとに資源使用率を算出する種別使用率算出機能を有すると共に、
前記業務優先度設定手段が、前記業務を前記部分リソース部に対して前記種別に基づき分配する資源種別分配機能を備えたことを特徴とする負荷分散システム。 The load distribution system according to claim 1, wherein
The resource usage rate monitoring means has a type usage rate calculation function for calculating a resource usage rate for each type of the partial resource unit, and
The load distribution system, wherein the business priority setting means includes a resource type distribution function for distributing the business to the partial resource unit based on the type.
要求された各業務に対して優先度を設定し、前記業務の実行処理時に利用される処理資源の処理負荷を測定し、前記処理負荷および前記優先度に基づき前記優先度の高い業務から実行処理を行い、前記処理負荷が予め設定された値より高い場合に、前記業務実行処理手段の行う実行処理を前記優先度の低い業務から抑制すると共に、前記部分処理リソース部にかかる業務の実行処理を抑制することを特徴とする負荷分散方法。 A business execution processing means for executing the requested business, a processing load measuring means for measuring a processing load of a processing resource used during the execution processing, and processing of all the business among the processing resources A load distribution system including a resource division setting unit for setting a processing resource as a whole resource part and a partial resource part as a processing resource other than the resource part, wherein the load distribution method controls the processing load,
Priorities are set for each requested task, the processing load of the processing resources used during the execution processing of the task is measured, and execution processing is started from the task with higher priority based on the processing load and the priority. When the processing load is higher than a preset value, the execution processing performed by the job execution processing means is suppressed from the low priority job, and the job execution processing for the partial processing resource unit is suppressed. A load balancing method characterized by suppressing the load.
要求された各業務に対して優先度を設定する優先度設定機能と、前記優先度に基づき優先度の高い業務から実行処理を行う業務実行機能と、前記業務の実行処理時に利用される処理資源の処理負荷を測定し前記処理負荷が予め設定された値より高い場合に、前記業務実行処理手段の行う実行処理を前記優先度の低い業務から抑制すると共に前記部分処理リソース部にかかる業務の実行処理を抑制する実行処理抑制機能とを、前記負荷分散分散システムのコンピュータに実行させることを特徴とした負荷分散プログラム。 A business execution processing means for executing the requested business, a processing load measuring means for measuring a processing load of a processing resource used during the execution processing, and processing of all the business among the processing resources A load distribution system comprising a resource division setting unit for setting a processing resource as an overall resource unit and a partial resource unit as a processing resource other than that, and is a load distribution distribution program for controlling the processing load. And
A priority setting function for setting a priority for each requested business, a business execution function for performing execution processing from a business with high priority based on the priority, and a processing resource used during the execution processing of the business When the processing load is measured and the processing load is higher than a preset value, the execution processing performed by the job execution processing means is suppressed from the low priority job, and the job execution on the partial processing resource unit is executed. A load distribution program that causes a computer of the load distribution and distribution system to execute an execution processing suppression function that suppresses processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008324260A JP2010146382A (en) | 2008-12-19 | 2008-12-19 | Load balancing system, load balancing method and load balancing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008324260A JP2010146382A (en) | 2008-12-19 | 2008-12-19 | Load balancing system, load balancing method and load balancing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010146382A true JP2010146382A (en) | 2010-07-01 |
Family
ID=42566744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008324260A Pending JP2010146382A (en) | 2008-12-19 | 2008-12-19 | Load balancing system, load balancing method and load balancing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010146382A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013206401A (en) * | 2012-03-29 | 2013-10-07 | Fujitsu Ltd | Information processor, degeneration method and program |
KR20180123733A (en) | 2016-05-17 | 2018-11-19 | 미쓰비시 덴키 빌딩 테크노 서비스 가부시키 가이샤 | Maintenance management device, maintenance management system and program |
CN111352725A (en) * | 2018-12-24 | 2020-06-30 | 杭州海康威视系统技术有限公司 | Storage load balancing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10198643A (en) * | 1997-01-09 | 1998-07-31 | Hitachi Ltd | Distributed computer system |
JP2000222227A (en) * | 1999-02-03 | 2000-08-11 | Hitachi Ltd | Process management system |
JP2006163482A (en) * | 2004-12-02 | 2006-06-22 | Hitachi Ltd | Control method of information processor, information processor and program |
JP2006277062A (en) * | 2005-03-28 | 2006-10-12 | Mitsubishi Electric Corp | Application management device and storage medium storing its software |
-
2008
- 2008-12-19 JP JP2008324260A patent/JP2010146382A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10198643A (en) * | 1997-01-09 | 1998-07-31 | Hitachi Ltd | Distributed computer system |
JP2000222227A (en) * | 1999-02-03 | 2000-08-11 | Hitachi Ltd | Process management system |
JP2006163482A (en) * | 2004-12-02 | 2006-06-22 | Hitachi Ltd | Control method of information processor, information processor and program |
JP2006277062A (en) * | 2005-03-28 | 2006-10-12 | Mitsubishi Electric Corp | Application management device and storage medium storing its software |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013206401A (en) * | 2012-03-29 | 2013-10-07 | Fujitsu Ltd | Information processor, degeneration method and program |
KR20180123733A (en) | 2016-05-17 | 2018-11-19 | 미쓰비시 덴키 빌딩 테크노 서비스 가부시키 가이샤 | Maintenance management device, maintenance management system and program |
CN111352725A (en) * | 2018-12-24 | 2020-06-30 | 杭州海康威视系统技术有限公司 | Storage load balancing method and device |
CN111352725B (en) * | 2018-12-24 | 2023-08-18 | 杭州海康威视系统技术有限公司 | Storage load balancing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9588809B2 (en) | Resource-based scheduler | |
US8996756B2 (en) | Using process location to bind IO resources on NUMA architectures | |
US20130055260A1 (en) | Techniques for workload balancing among a plurality of physical machines | |
US7698529B2 (en) | Method for trading resources between partitions of a data processing system | |
CA2932745A1 (en) | Method and system for traffic control | |
WO2015101091A1 (en) | Distributed resource scheduling method and device | |
US20110016247A1 (en) | Multiprocessor system and multiprocessor system interrupt control method | |
JP2012079242A (en) | Composite event distribution device, composite event distribution method and composite event distribution program | |
US20190087236A1 (en) | Resource scheduling device, system, and method | |
US10089155B2 (en) | Power aware work stealing | |
US9684536B2 (en) | Scheduling method and scheduling system | |
US9401869B1 (en) | System and methods for sharing memory subsystem resources among datacenter applications | |
US20110231856A1 (en) | System and method for dynamically managing tasks for data parallel processing on multi-core system | |
US11438271B2 (en) | Method, electronic device and computer program product of load balancing | |
JPWO2009060530A1 (en) | Network processing control device, program, and method | |
AU2007261607B2 (en) | Resource-based scheduler | |
CN113032102A (en) | Resource rescheduling method, device, equipment and medium | |
CN103744735A (en) | Method and device for scheduling multi-core resource | |
JP2010146382A (en) | Load balancing system, load balancing method and load balancing program | |
US9086910B2 (en) | Load control device | |
US20210117237A1 (en) | Method, devices and computer program products for resource usage | |
JP2007179246A (en) | Method, program and server for computer management | |
JP5045576B2 (en) | Multiprocessor system and program execution method | |
CN112291326B (en) | Load balancing method, load balancing device, storage medium and electronic equipment | |
JP2008225641A (en) | Computer system, interrupt control method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20100316 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A977 | Report on retrieval |
Effective date: 20110727 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Effective date: 20110809 Free format text: JAPANESE INTERMEDIATE CODE: A131 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111011 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120424 |