[go: up one dir, main page]

JPH10334058A - On-line system and load dispersing system - Google Patents

On-line system and load dispersing system

Info

Publication number
JPH10334058A
JPH10334058A JP9137091A JP13709197A JPH10334058A JP H10334058 A JPH10334058 A JP H10334058A JP 9137091 A JP9137091 A JP 9137091A JP 13709197 A JP13709197 A JP 13709197A JP H10334058 A JPH10334058 A JP H10334058A
Authority
JP
Japan
Prior art keywords
server
client
request
application program
program
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
Application number
JP9137091A
Other languages
Japanese (ja)
Inventor
Kazuhiro Sagawa
和広 佐川
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.)
NEC Software Shikoku Ltd
Original Assignee
NEC Software Shikoku Ltd
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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP9137091A priority Critical patent/JPH10334058A/en
Publication of JPH10334058A publication Critical patent/JPH10334058A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an on-line system capable of dispersing functions by every server, saving memory, effectively using resources like a CPU, etc., and miniaturizing the server. SOLUTION: In the on-line system constituted of plural servers A, B, server managing mechanisms 1, 2 to manage a mounted state and using state, etc., of a mounted application program on the server in the system, repeating mechanism 5, 6 to perform communication with other servers and a program loading mechanism 4 to temporarily load the program from the server managing mechanism 1, 2 are provided in respective servers A, B and when a request that the application program to achieve a function is not yet loaded is made from clients 1 to (n) to the server, a function to perform a substitution processing in cooperation between the server managing mechanism 1, 2 between the servers by another server is provided.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、クライアント/サ
ーバシステムにおいて、複数サーバで構成されるシステ
ムの負荷分散に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to load distribution of a system composed of a plurality of servers in a client / server system.

【0002】[0002]

【従来の技術】複数の計算機システムで負荷を分散する
方式としては、例えば特開平6−110850号公報の
「オンラインシステムの負荷分散方式」に示されるよう
に、当該計算機システム、及び他計算機システムに関す
る情報を格納した一覧表を作成し、負荷がネットワーク
内で最も低い計算機システムを選択して実行する方式が
ある。本負荷分散方式では、複数の計算機システムが通
信回線に接続されたオンラインシステムにおいて、各計
算機システムに、当該計算機システム及び通信回線に接
続される他の計算機システムに存在するアプリケーショ
ンプログラムに関する負荷情報等の情報を格納する一覧
表を作成、更新する手段を備え、通信回線からサービス
要求を受信したときに、前記一覧表を参照し、当該サー
ビスを実行可能なアプリケーションプログラムのうち、
負荷が最も低いアプリケーションプログラムの存在する
計算機システムを選択し、当該計算機システムでアプリ
ケーションプログラムを実行し、サービス要求を処理す
ることを特徴とする。この特徴により、アプリケーショ
ンプログラムの種類により複数のプロセスの処理を管理
することができ、トランザクションの発生によって初め
てプロセスを立ち上げることができ、トランザクション
処理プログラム単位よりも、より詳細なアプリケーショ
ンプログラムでのネットワーク内の負荷分散が図れ、効
率のよいオンライン分散処理が可能となるという効果を
奏している。
2. Description of the Related Art As a method of distributing a load among a plurality of computer systems, for example, as shown in "On-line system load distribution method" in JP-A-6-110850, the present invention relates to the computer system and other computer systems. There is a method in which a list storing information is created, and a computer system with the lowest load in the network is selected and executed. In the present load distribution method, in an online system in which a plurality of computer systems are connected to a communication line, each computer system provides load information such as load information related to an application program existing in the computer system and another computer system connected to the communication line. A list for storing information is created and provided with means for updating, when a service request is received from a communication line, referring to the list, among application programs capable of executing the service,
A computer system having an application program with the lowest load is selected, the application program is executed on the computer system, and a service request is processed. With this feature, the processing of multiple processes can be managed according to the type of application program, the process can be started for the first time by the occurrence of a transaction, and a more detailed application program in the network than a transaction processing program unit can be used. This makes it possible to achieve an efficient online distribution process.

【0003】また、特開平7−302242号公報の
「負荷分散方式」に示されるように、業務サーバプロセ
ス数の変更による負荷分散や、プロセスメモリ占有量の
しきい値、プロセス数のしきい値による負荷分散、トラ
ンザクションの回覧、優先順位による制御等により負荷
分散を行う方式がある。本負荷分散方式は、ネットワー
ク上に接続された業務クライアントと業務サーバの間で
トランザクション処理を行うオンライントランザクショ
ン処理システムにおける負荷分散方式であって、トラン
ザクションの負荷を監視する負荷監視手段と、該負荷監
視処理手段による監視結果に基づいて業務サーバプロセ
ス数を制御する業務サーバプロセス数変更手段と、該業
務サーバプロセス数変更手段を該制御に基づいて各業務
サーバプロセスが処理要求を受け付けるべき業務クライ
アントを決定する業務クライアント決定手段と、各業務
サーバプロセスが処理要求を受け付ける業務クライアン
トを管理する無業務クライアント管理テーブルとを設け
たことを特徴とする。
Further, as disclosed in Japanese Patent Application Laid-Open No. 7-302242, "Load Balancing Method", load balancing by changing the number of business server processes, threshold value of process memory occupancy, threshold value of process number There is a method of distributing the load by load distribution, transaction circulation, control by priority, and the like. This load distribution method is a load distribution method in an online transaction processing system that performs transaction processing between a business client and a business server connected on a network, and includes a load monitoring unit that monitors a transaction load, A business server process number changing unit that controls the number of business server processes based on the monitoring result by the processing unit, and a business client to which each business server process should accept a processing request is determined based on the control. And a non-work client management table that manages a work client that receives a processing request from each work server process.

【0004】こうして、オンライントランザクション処
理における業務サーバプロセスを、絶えず変化するトラ
ンザクションの付加に応じて変化させ、更に処理依頼を
受け付ける業務クライアントをそれらの間で分担・統合
するので、業務サーバプロセス間でのトランザクション
の振り分け処理を行うことなく、トランザクションの応
答性を保証し、トランザクション処理負荷の増大に伴う
システムへの障害を回避でき、かつ、システム資源の有
効性を図ることができる効果を奏している。
In this way, the business server process in online transaction processing is changed in accordance with the constantly changing transaction, and the business client that receives the processing request is shared and integrated among them. The effect of this embodiment is that the responsiveness of the transaction is guaranteed without performing the transaction allocation processing, the failure of the system due to the increase in the transaction processing load can be avoided, and the effectiveness of the system resources can be improved.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、ここで
第1の問題点は、従来の技術において、負荷分散を行う
ために複数のサーバを準備し、提供する機能を各サーバ
に全て搭載する必要がある。その理由は、従来の技術で
は、ネットワーク内の複数のサーバに提供機能が全てあ
ることを前提に、負荷の低いサーバを選択する方式であ
るため、機能を動作させるために必要なメモリ等の資源
を各サーバに十分準備する必要があるからである。ま
た、各サーバに多数の機能を搭載しているため、ハード
およびソフトの複雑性、煩雑性などで、保守が煩雑とな
る。
However, the first problem here is that in the prior art, it is necessary to prepare a plurality of servers in order to perform load distribution and to provide all the functions to be provided in each server. is there. The reason is that, in the conventional technology, since a server with a low load is selected on the assumption that a plurality of servers in the network have all the providing functions, resources such as memory necessary for operating the functions are selected. Must be prepared in each server sufficiently. In addition, since each server has a large number of functions, maintenance becomes complicated due to the complexity and complexity of hardware and software.

【0006】また、第2の問題点は、サーバで提供する
機能をサーバ毎に分散させてサービスを行いたい場合
は、ネットワーク全体での負荷分散が働かないことであ
る。また、クライアント側ではサーバで提供される機能
を意識して接続する必要がある。すなわち、上述の従来
例では、ある機能を提供するサーバ内でプロセス数の変
更等により負荷分散を行う方式であるため、あるサーバ
に負荷が集中した場合、ネットワーク内の他のサーバの
負荷が低い場合でも、クライアントの要求が待ち合わせ
による遅延や、過負荷による一時的な拒否となる可能性
があり、負荷分散の均一性に乏しいことである。また、
クライアント側でも接続するサーバが使用する機能によ
り固定されるため、トランザクションの内容によって
は、そのトランザクション応答の遅滞性や操作性に問題
がある。
[0006] A second problem is that when it is desired to distribute the functions provided by the servers for each server to provide services, the load distribution over the entire network does not work. In addition, it is necessary for the client side to connect in consideration of the functions provided by the server. That is, in the above-described conventional example, since the load is distributed by changing the number of processes in a server providing a certain function, when the load is concentrated on a certain server, the load on another server in the network is low. Even in such a case, there is a possibility that the client's request may be a delay due to queuing or a temporary rejection due to an overload, resulting in poor uniformity of load distribution. Also,
Since the client side is fixed by the function used by the connected server, depending on the contents of the transaction, there is a problem in the delay of the transaction response and the operability.

【0007】[発明の目的]本発明は、特性・性能向上
の小型・軽量化によって、サーバ毎に機能を分散するこ
とが可能となり、メモリの節約やCPU等の資源の有効
活用が図れ、サーバの小型化を実現することを目的とす
る。
[Object of the Invention] The present invention makes it possible to distribute functions for each server by improving the characteristics and performance and reducing the size and weight of the server, thereby conserving memory and effectively utilizing resources such as a CPU. An object of the present invention is to realize a reduction in size.

【0008】また、操作性向上を目的として、クライア
ントからの要求が、機能の未搭載や過負荷等により拒否
される。あるいは、待たされる事が少なくなる。また、
クライアントが提供機能に応じてサーバを選択して接続
する必要が無く、クライアントとサーバ間のネットワー
クの障害や過負荷時は、別のサーバに接続して要求機能
を実現することができ、操作性の向上が望める。
Further, for the purpose of improving operability, a request from a client is rejected due to a lack of a function or an overload. Alternatively, waiting time is reduced. Also,
There is no need for the client to select and connect to a server according to the provided function. In the event of a network failure or overload between the client and the server, the client can connect to another server to achieve the required function, and operability is improved. Can be improved.

【0009】また、本発明は、保守性向上を目的とし、
各サーバにシステムで提供する全ての機能を搭載する必
要が無く、搭載機能のメンテナンスが容易となる。ま
た、サーバ毎に機能を分散でき、メモリ等の削減が可能
となるため、ハード等の保守性の向上が図れるようにな
る。
Another object of the present invention is to improve maintainability.
It is not necessary to install all the functions provided by the system in each server, and maintenance of the installed functions becomes easy. In addition, since functions can be distributed for each server and memory and the like can be reduced, maintainability of hardware and the like can be improved.

【0010】[0010]

【課題を解決するための手段】本発明のサーバでのプロ
グラムの動的ロード方式は、クライアント/サーバ型シ
ステムのサーバ側において、クライアントからの要求が
処理できない場合に、別サーバで代行処理を行う。具体
的には、サーバシステム内のサーバの状態を管理するサ
ーバ管理機構と、クライアントからの要求を転送する中
継機構と、サーバ内のプログラムを動的にロード/アン
ロードするプログラムロード機構を有する。
According to the dynamic loading method of a program in a server of the present invention, when a request from a client cannot be processed on the server side of a client / server type system, proxy processing is performed by another server. . Specifically, it has a server management mechanism for managing the state of the server in the server system, a relay mechanism for transferring a request from a client, and a program loading mechanism for dynamically loading / unloading a program in the server.

【0011】また、サーバ上のAPを別サーバに転送す
ることも特徴である。サーバ管理機構と中継機構およ
び、プログラムロード機構により実現される。
Another feature is that the AP on the server is transferred to another server. This is realized by a server management mechanism, a relay mechanism, and a program loading mechanism.

【0012】具体的には、複数のサーバで構成されるオ
ンラインシステムにおいて、各サーバ内に、システム内
のサーバ上の搭載アプリケーションプログラムの実装状
態や使用状況等の管理を行うサーバ管理機構と、他のサ
ーバとの通信を行う中継機構と、前記サーバ管理機構か
ら一時的にプログラムをロードするプログラムロード機
構とを備え、クライアントからサーバに機能を実現する
アプリケーションプログラムが未搭載の要求があった場
合、前記サーバ間のサーバ管理機構とが連携して別のサ
ーバで代行処理を行う機能を備えたことを特徴とする。
また、上記オンラインシステムにおいて、前記クライア
ントからの要求が前記サーバの過負荷で処理できない場
合、別サーバに要求処理するアプリケーションプログラ
ムと前記クライアントの要求を前記中継機構を介して、
転送し、前記クライアントの要求を実現することを特徴
とする。
More specifically, in an online system composed of a plurality of servers, a server management mechanism for managing the mounting state and usage status of the application programs installed on the servers in the system in each server, A relay mechanism for communicating with the server, and a program loading mechanism for temporarily loading a program from the server management mechanism, and when there is a request from the client that does not have an application program that implements a function on the server, A server management mechanism between the servers cooperates with another server to perform proxy processing.
Further, in the online system, when a request from the client cannot be processed due to an overload of the server, an application program for processing a request to another server and a request of the client are transmitted via the relay mechanism.
Transfer and implement the client's request.

【0013】また、複数のサーバと各サーバに接続され
た複数のクライアントとで構成される処理システムの負
荷分散方式ににおいて、前記各サーバ内に、処理システ
ム内の各サーバ上の搭載アプリケーションプログラムの
実装状態や使用状況等の管理を行うサーバ管理機構と、
他の各サーバとの通信を行う中継機構と、前記サーバ管
理機構から一時的にプログラムをロードするプログラム
ロード機構とを備え、前記クライアントから前記サーバ
に機能を実現するアプリケーションプログラムが未搭載
の要求があった場合、前記サーバのサーバ管理機構を検
索し、前記アプリケーションプログラムを搭載している
サーバのサーバ管理機構と連携してそのサーバで代行処
理を行う機能を備えたことを特徴とする。
In a load balancing method for a processing system including a plurality of servers and a plurality of clients connected to the respective servers, in each of the servers, an application program installed on each of the servers in the processing system is installed. A server management mechanism that manages the mounting status and usage status,
A relay mechanism that communicates with each of the other servers; and a program loading mechanism that temporarily loads a program from the server management mechanism. If there is, a function of searching for a server management mechanism of the server and performing proxy processing on the server in cooperation with a server management mechanism of a server on which the application program is installed is provided.

【0014】また、上記負荷分散方式において、前記ク
ライアントの要求が、当該サーバがクライアントの要求
するアプリケーションプログラムを使用中の場合、当該
サーバ管理機構は管理用メモリを検索し、不動作中のサ
ーバを検出し、当該不動作中のサーバのサーバ管理機構
に当該アプリケーションプログラムと前記クライアント
の要求を前記中継機構を介して転送し、前記不動作中の
サーバのサーバ管理機構は当該プログラムロード機構に
前記アプリケーションプログラムをロードし、前記不動
作中のサーバは前記クライアントの要求に対応して処理
・終了し、前記中継機構を介して、前記アプリケーショ
ンプログラムと前記処理・終了の結果を前記サーバに転
送することを特徴とする。
In the above load distribution method, when the client requests the server to use an application program requested by the client, the server management mechanism searches the management memory and identifies the inactive server. Detecting, transferring the application program and the client request to the server management mechanism of the inactive server via the relay mechanism, and the server management mechanism of the inactive server instructing the program loading mechanism to store the application Loading the program, the inactive server processes and terminates in response to the client's request, and transfers the application program and the processing and termination result to the server via the relay mechanism. Features.

【0015】[作用]オンラインシステムのサーバ側に
おいて、クライアントからの要求で動作するアプリケー
ションプログラム(AP)の実装状況や、使用頻度、動
作時間、使用メモリ等の負荷関連情報を、収集蓄積する
と共に別サーバと情報交換を行う機能を持ち、必要に応
じてクライアントからの要求を、APを含め別のサーバ
に転送する。
[Operation] The server side of the online system collects and accumulates load-related information such as the implementation status of the application program (AP) that operates in response to a request from the client, the frequency of use, the operation time, and the memory used. It has a function of exchanging information with the server, and transfers a request from a client to another server including the AP as necessary.

【0016】代行処理要求を受け付けたサーバでは、処
理に必要なプログラムを動的にロードして処理を行うこ
とにより、システム内のサーバ間で連携して負荷分散を
可能とする。
The server that has received the proxy processing request dynamically loads a program required for the processing and performs the processing, thereby enabling load sharing in cooperation with the servers in the system.

【0017】[0017]

【発明の実施の形態】次に、本発明の実施形態につい
て、図面を参照して詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0018】図1を参照すると、本発明の第1の実施形
態は、サーバA内に、クライアント/サーバ型システム
のサーバ側において、システム内のサーバの状態を管理
するサーバ管理機構1と、クライアントからの要求を転
送する中継機構5と、サーバ内のプログラムを動的にロ
ード/アンロードするプログラムロード機構4から構成
される。またサーバB内には、同様に、クライアント/
サーバ型システムのサーバ側において、システム内のサ
ーバの状態を管理するサーバ管理機構2と、クライアン
トからの要求を転送する中継機構6と、サーバ内のプロ
グラムを動的にロード/アンロードするプログラムロー
ド機構4から構成される。
Referring to FIG. 1, in a first embodiment of the present invention, a server management mechanism 1 for managing a state of a server in a system on a server side of a client / server type system in a server A; And a program loading mechanism 4 for dynamically loading / unloading a program in the server. In the server B, similarly, the client /
On the server side of the server type system, a server management mechanism 2 for managing the state of the server in the system, a relay mechanism 6 for transferring a request from a client, and a program load for dynamically loading / unloading a program in the server. It is composed of a mechanism 4.

【0019】図2は、図1のソフトウェア構成を含むシ
ステムの一実施形態を示す全体構成図である。システム
のサーバ側において、クライアント1…nからのトラン
ザクション要求で動作するアプリケーションプログラム
(AP1…n)の実装状況や、使用頻度、動作時間、使
用メモリ等の負荷分散関連情報を、収集蓄積すると共に
別サーバと情報交換を行う機能を持ち、必要に応じてク
ライアントからの要求を、別のサーバに転送する。代行
処理要求を受け付けたサーバでは、処理に必要なプログ
ラムを動的にロードにて処理を行うことにより、システ
ム内のサーバ間で連携して負荷分散を可能とする。
FIG. 2 is an overall configuration diagram showing an embodiment of a system including the software configuration of FIG. The server side of the system collects and accumulates the load distribution-related information such as the implementation status of the application programs (AP1... N) operated in response to a transaction request from the clients 1. It has the function of exchanging information with the server, and transfers requests from clients to another server as necessary. The server that has received the proxy processing request dynamically loads the processing required for the processing, thereby performing load sharing in cooperation with the servers in the system.

【0020】次に、本発明の実施形態の動作について、
図2を参照して詳細に説明する。サーバA内で、サーバ
管理機構1は、クライアント1…nからのトランザクシ
ョン処理要求で動作するアプリケーションプログラム
(AP1…n)毎の実装状況や、使用中か否か、使用頻
度、動作時間、使用メモリ等の負荷分散関連情報を、収
集蓄積すると共に、システムを構成する別サーバのサー
バ管理機構2と一定周期でメモリの使用量、実装アプリ
ケーションプログラム(AP)の使用状況や空きプロセ
ス数、CPU使用率等の負荷情報の通知を行い、サーバ
管理機構1内の管理用メモリに格納・更新を行っている
(の流れ)。
Next, the operation of the embodiment of the present invention will be described.
This will be described in detail with reference to FIG. In the server A, the server management mechanism 1 includes a mounting status for each application program (AP1... N) operated by a transaction processing request from the client 1. And collects and accumulates load-distribution-related information such as the amount of memory used, the number of free processes, the number of free processes, and the CPU usage rate with the server management mechanism 2 of another server constituting the system at regular intervals. And the like, and is stored / updated in the management memory in the server management mechanism 1 (flow).

【0021】あるサーバAに、あるクライアントnから
トランザクション要求(の流れ)があれば、サーバ管
理機構1で要求を実現できるAPの搭載有無や、空きメ
モリ、空きプロセス数等の負荷状態を、管理している管
理用メモリを検索して判断し、処理が可能であれば、対
応するAPにクライアントnの要求を通知すると共に、
処理を行うために必要な処理時間や、使用メモリ、CP
U使用率等の負荷情報の収集蓄積を行う(の流れ)。
If a server A receives a transaction request (flow) from a client n, the server management mechanism 1 manages the presence or absence of an AP capable of realizing the request, and manages the load status such as free memory and the number of free processes. The management memory is searched for and determined, and if processing is possible, the corresponding AP is notified of the request of the client n, and
Processing time required for processing, memory used, CP
Collection and accumulation of load information such as U usage rate are performed (flow).

【0022】クライアントの要求がサーバAで実行でき
るAPが未実装状態、あるいは空きプロセスが無い、ま
たは、既に動作中の別AP用にメモリ等の資源を空けて
おかなければならないような状態等、要求受け付け側の
サーバAで処理が難しい状態であれば、別サーバBに代
行処理の要求をサーバ管理機構1内の管理用メモリを検
索して、サーバ管理機構2に対して通信(の流れ)を
行う。
An AP in which a client request can be executed by the server A is not mounted, or there is no vacant process, or a resource such as a memory must be made available for another AP that is already operating. If it is difficult for the server A on the request receiving side to process the request, the request for the proxy processing is sent to another server B by searching the management memory in the server management mechanism 1 and communicating with the server management mechanism 2 (flow). I do.

【0023】別サーバBで代行処理が可能であれば、中
継機構5から中継機構6を通してクライアントからの要
求を転送する。この時、別サーバBに処理実現APが実
装されていない場合は、自サーバAのAPプログラムも
含めて転送する(の流れ)。その場合、代行処理を依
頼されたサーバB側でクライアントからの要求を実現す
る処理APが実装されていない、あるいは、本来そのサ
ーバで提供している機能以外の処理APのため、メモリ
上のロードされていない等の場合、転送されたAPある
いは二次媒体等にあるAPをプログラムロード機構4経
由で動的にロード(の流れ)して処理の代行を行い、
処理が完了すれば、要求元のサーバAに結果を通知後、
APのアンロードを行い、一連の処理を完了する。この
場合、サーバBでは、サーバAから通信されたAPを一
時的に自メモリに格納すると共に、処理が終われば、そ
のAPのアンロードで自メモリの負担が軽減する。
If the proxy processing can be performed by another server B, the request from the client is transferred from the relay mechanism 5 through the relay mechanism 6. At this time, if the processing realization AP is not mounted on another server B, the transfer is performed including the AP program of the own server A (flow). In this case, since the processing AP for realizing the request from the client is not mounted on the server B side requested to perform the proxy processing, or because the processing AP is a function other than the function originally provided by the server, the load on the memory is not performed. If not, the transferred AP or the AP in the secondary medium or the like is dynamically loaded (flow) through the program loading mechanism 4 to perform the processing substitute.
When the process is completed, the result is notified to the requesting server A,
The AP is unloaded, and a series of processing is completed. In this case, in the server B, the AP communicated from the server A is temporarily stored in its own memory, and when the processing is completed, the load on the own memory is reduced by unloading the AP.

【0024】上記実施形態によれば、本オンラインシス
テムでは、各サーバにアプリケーションプログラムを分
散して保持し、二重にアプリケーションプログラムを格
納しておく必要もないので、各サーバに必要なメモリ容
量が格段に少なくてすむ。
According to the above embodiment, in the present online system, the application programs are distributed and held in each server, and there is no need to store the application programs twice. Not much less.

【0025】また、クライアントからのトランザクショ
ンに対して動作中のアプリケーションプログラムの処理
を要求された場合でも、一時的に転送時間の負担が増加
するが、他のサーバに当該動作中のアプリケーションプ
ログラムをコピー・転送して他のサーバで処理してトラ
ンザクション応答を回送できるので、その応答が速くな
る。また、複数のサーバに分散処理が可能であるので、
サーバにとって可能な限り均一的で平均化した負荷を負
い、過負荷状態を回避できる。
Further, even when a client requests processing of an active application program in response to a transaction, the load of transfer time temporarily increases, but the operating application program is copied to another server. -Since the transaction response can be forwarded by being transferred and processed by another server, the response is faster. Also, since distributed processing can be performed on multiple servers,
The server is loaded as evenly and evenly as possible to avoid overload conditions.

【0026】[0026]

【発明の効果】本発明によれば、各サーバにシステムで
提供する全ての機能を搭載する必要が無い事である。こ
れにより、サーバ毎に機能を分散でき、メモリの節約や
CPU等の資源が有効に活用でき、サーバの小型化、保
守性の向上が図れるようになる。
According to the present invention, it is not necessary to equip each server with all the functions provided by the system. As a result, the functions can be distributed for each server, the memory can be saved, resources such as a CPU can be effectively used, and the size and maintenance of the server can be reduced.

【0027】また、クライアントからの要求が、機能の
未搭載や過負荷等により拒否される、あるいは、待たさ
れる事が少なくなる。これにより操作性がよくなる。
In addition, a request from a client is less likely to be rejected or waited due to a lack of a function or an overload. This improves operability.

【0028】さらに、クライアントが提供機能に応じて
サーバを選択して接続する必要が無い事である。これに
より、クライアントとサーバ間のネットワークの障害
や、過負荷時は、別のサーバに接続して要求機能を実現
することができ、操作性の向上が望める。
Further, there is no need for the client to select and connect to a server according to the provided function. Thus, in the event of a network failure between a client and a server or an overload, it is possible to connect to another server to realize the required function, thereby improving operability.

【0029】すなわち、システム内のサーバ上の搭載A
Pの管理を行うことにより、クライアントからサーバに
機能を実現するAPが未搭載の要求があっても、サーバ
間で連携して別のサーバで代行処理を行う。また、クラ
イアントからの要求がサーバの過負荷等で処理できない
場合、別サーバに処理APと要求を転送してクライアン
トの要求を実現する代行機能を有しているからである。
That is, the mounting A on the server in the system
By managing P, even if there is a request from a client that does not have an AP that realizes a function in a server, proxy processing is performed by another server in cooperation with the servers. Further, when a request from a client cannot be processed due to an overload of the server or the like, a proxy function is provided to transfer the processing AP and the request to another server to realize the client's request.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のサーバでのプログラムの動的ロード方
式の一実施形態を示すソフトウェア構成図である。
FIG. 1 is a software configuration diagram showing an embodiment of a dynamic program loading method in a server according to the present invention.

【図2】本発明のサーバでのプログラムの動的ロード方
式の一実施形態の動作を示す図である。
FIG. 2 is a diagram showing an operation of an embodiment of a dynamic program loading method in a server according to the present invention.

【符号の説明】[Explanation of symbols]

1,2 サーバ管理機構 3,4 プログラムロード機構 5,6 中継機構 1, 2 Server management mechanism 3, 4 Program loading mechanism 5, 6 Relay mechanism

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のサーバで構成されるオンラインシ
ステムにおいて、前記各サーバ内に、システム内のサー
バ上の搭載アプリケーションプログラムの実装状態や使
用状況等の管理を行うサーバ管理機構と、他のサーバと
の通信を行う中継機構と、前記サーバ管理機構から一時
的にプログラムをロードするプログラムロード機構とを
備え、前記各サーバに接続されたクライアントから、該
当するサーバに機能を実現するアプリケーションプログ
ラムが未搭載の要求があった場合、前記該当するサーバ
と第3のサーバ間のサーバ管理機構とが連携して前記第
3のサーバが前記アプリケーションプログラムを前記プ
ログラムロード機構で移植して代行処理を行う機能を備
えたことを特徴とするオンラインシステム。
In an online system comprising a plurality of servers, a server management mechanism for managing a mounting state and a use state of an application program installed on a server in the system in each server, and another server And a program loading mechanism for temporarily loading a program from the server management mechanism. An application program that implements a function on a corresponding server from a client connected to each server is not yet provided. A function in which the third server cooperates with the server management mechanism between the corresponding server and the third server to port the application program by the program loading mechanism and perform a proxy process when there is a mounting request; An online system comprising:
【請求項2】 前記クライアントからの要求が前記サー
バの過負荷で処理できない場合、別サーバに要求処理す
るアプリケーションプログラムと前記クライアントの要
求を前記中継機構を介して、転送し、前記クライアント
の要求を実現することを特徴とする請求項1に記載のオ
ンラインシステム。
2. When the request from the client cannot be processed due to the overload of the server, the application program for processing the request to another server and the request of the client are transferred via the relay mechanism, and the request of the client is transferred. The online system according to claim 1, wherein the online system is realized.
【請求項3】 複数のサーバと各サーバに接続された複
数のクライアントとで構成される処理システムの負荷分
散方式ににおいて、前記各サーバ内に、処理システム内
の各サーバ上の搭載アプリケーションプログラムの実装
状態や使用状況等の管理を行うサーバ管理機構と、他の
各サーバとの通信を行う中継機構と、前記サーバ管理機
構から一時的にプログラムをロードするプログラムロー
ド機構とを備え、前記クライアントから前記サーバに機
能を実現するアプリケーションプログラムが未搭載の要
求があった場合、前記サーバのサーバ管理機構を検索
し、前記アプリケーションプログラムを搭載しているサ
ーバのサーバ管理機構と連携してそのサーバで代行処理
を行う機能を備えたことを特徴とする負荷分散方式。
3. A load balancing method for a processing system comprising a plurality of servers and a plurality of clients connected to each server, wherein each of the servers includes an application program installed on each server in the processing system. A server management mechanism that manages the mounting state and usage status, a relay mechanism that communicates with each of the other servers, and a program loading mechanism that temporarily loads a program from the server management mechanism. If there is a request that the server does not have an application program that realizes the function, the server management mechanism of the server is searched, and the server management mechanism of the server on which the application program is installed cooperates with the server. A load balancing method having a function of performing processing.
【請求項4】 前記クライアントの要求が、当該サーバ
がクライアントの要求するアプリケーションプログラム
を使用中の場合、当該サーバ管理機構は管理用メモリを
検索し、不動作中のサーバを検出し、当該不動作中のサ
ーバのサーバ管理機構に当該アプリケーションプログラ
ムと前記クライアントの要求を前記中継機構を介して転
送し、前記不動作中のサーバのサーバ管理機構は当該プ
ログラムロード機構に前記アプリケーションプログラム
をロードし、前記不動作中のサーバは前記クライアント
の要求に対応して処理・終了し、前記中継機構を介し
て、前記アプリケーションプログラムと前記処理・終了
の結果を前記サーバに転送することを特徴とする請求項
3に記載の負荷分散方式。
4. When the client requests the server using an application program requested by the client, the server management mechanism searches a management memory, detects an inactive server, and detects the inactive server. Transferring the application program and the client request to the server management mechanism of the middle server via the relay mechanism, the server management mechanism of the inactive server loads the application program into the program loading mechanism, and 4. The inactive server processes and terminates in response to a request from the client, and transfers the application program and the result of the processing and termination to the server via the relay mechanism. The load distribution method described in 1.
JP9137091A 1997-05-27 1997-05-27 On-line system and load dispersing system Pending JPH10334058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9137091A JPH10334058A (en) 1997-05-27 1997-05-27 On-line system and load dispersing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9137091A JPH10334058A (en) 1997-05-27 1997-05-27 On-line system and load dispersing system

Publications (1)

Publication Number Publication Date
JPH10334058A true JPH10334058A (en) 1998-12-18

Family

ID=15190679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9137091A Pending JPH10334058A (en) 1997-05-27 1997-05-27 On-line system and load dispersing system

Country Status (1)

Country Link
JP (1) JPH10334058A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001117887A (en) * 1999-10-14 2001-04-27 Nec Corp Distributed application server system, service method and recording medium
JP2002288058A (en) * 2001-01-25 2002-10-04 Yahoo Inc High performance client server communication system
JP2003512661A (en) * 1999-10-18 2003-04-02 ゲートウェイ,インコーポレイテッド Multi-tier network access
JP2006092569A (en) * 2000-07-11 2006-04-06 Microsoft Corp Application program caching
JP2009151744A (en) * 2007-11-26 2009-07-09 Ricoh Co Ltd Information processing apparatus, information processing method, and program
US7992053B2 (en) 2007-06-20 2011-08-02 International Business Machines Corporation System for detecting pattern of events occurred in information system
JP2011248521A (en) * 2010-05-25 2011-12-08 Nippon Telegr & Teleph Corp <Ntt> Cluster system, scale-out method of cluster system, resource manager apparatus, server apparatus
US8239862B2 (en) 2007-11-26 2012-08-07 Ricoh Company, Ltd. Apparatus, method, and computer program product for processing information
US8359596B2 (en) 2004-05-14 2013-01-22 International Business Machines Corporation Determining capability of an information processing unit to execute the job request based on satisfying an index value and a content of processing of the job
US8516499B2 (en) 2008-11-27 2013-08-20 International Business Machines Corporation Assistance in performing action responsive to detected event
US8707335B2 (en) 2007-06-19 2014-04-22 International Business Machines Corporation Detecting patterns of events in information systems
JP2020205075A (en) * 2012-09-12 2020-12-24 アイイーエックス グループ,インコーポレーテッド Systems and methods for TCP vs. Multicast (T2M) and related network architectures

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001117887A (en) * 1999-10-14 2001-04-27 Nec Corp Distributed application server system, service method and recording medium
JP2003512661A (en) * 1999-10-18 2003-04-02 ゲートウェイ,インコーポレイテッド Multi-tier network access
JP2006092569A (en) * 2000-07-11 2006-04-06 Microsoft Corp Application program caching
JP2002288058A (en) * 2001-01-25 2002-10-04 Yahoo Inc High performance client server communication system
US8359596B2 (en) 2004-05-14 2013-01-22 International Business Machines Corporation Determining capability of an information processing unit to execute the job request based on satisfying an index value and a content of processing of the job
US9660893B2 (en) 2007-06-19 2017-05-23 International Business Machines Corporation Detecting patterns of events in information systems
US10250479B2 (en) 2007-06-19 2019-04-02 International Business Machines Corporation Detecting patterns of events in information systems
US8707335B2 (en) 2007-06-19 2014-04-22 International Business Machines Corporation Detecting patterns of events in information systems
US7992053B2 (en) 2007-06-20 2011-08-02 International Business Machines Corporation System for detecting pattern of events occurred in information system
JP2009151744A (en) * 2007-11-26 2009-07-09 Ricoh Co Ltd Information processing apparatus, information processing method, and program
US8239862B2 (en) 2007-11-26 2012-08-07 Ricoh Company, Ltd. Apparatus, method, and computer program product for processing information
US8516499B2 (en) 2008-11-27 2013-08-20 International Business Machines Corporation Assistance in performing action responsive to detected event
JP2011248521A (en) * 2010-05-25 2011-12-08 Nippon Telegr & Teleph Corp <Ntt> Cluster system, scale-out method of cluster system, resource manager apparatus, server apparatus
JP2020205075A (en) * 2012-09-12 2020-12-24 アイイーエックス グループ,インコーポレーテッド Systems and methods for TCP vs. Multicast (T2M) and related network architectures

Similar Documents

Publication Publication Date Title
JP3573386B2 (en) Large-scale client-server system for load control
EP1565818B1 (en) Automated power control policies based on application-specific redundancy characteristics
JP5254547B2 (en) Decentralized application deployment method for web application middleware, system and computer program thereof
US7388839B2 (en) Methods, apparatus and computer programs for managing performance and resource utilization within cluster-based systems
US8005956B2 (en) System for allocating resources in a distributed computing system
US5526492A (en) System having arbitrary master computer for selecting server and switching server to another server when selected processor malfunctions based upon priority order in connection request
US8468246B2 (en) System and method for allocating resources in a distributed computing system
US20030055969A1 (en) System and method for performing power management on a distributed system
US11119827B2 (en) Load balancing deterministically-subsetted processing resources using fractional loads
US5872929A (en) Method and system for managing terminals in a network computing system using terminal information including session status
JP2003022209A (en) Distributed server system
JP2001251664A (en) Method and system for performing dynamic load balancing in a wireless communication network and message processing system in a wireless communication network
US8296772B2 (en) Customer information control system workload management based upon target processors requesting work from routers
JPH10334058A (en) On-line system and load dispersing system
US20030120724A1 (en) Hierarchical server system
US20050021511A1 (en) System and method for load balancing in database queries
CN112882827A (en) Method, electronic device and computer program product for load balancing
US7912956B1 (en) Service level agreement based control of a distributed computing system
JPH05216842A (en) Resources managing device
US7426547B2 (en) Document shadowing intranet server, memory medium and method
JP2003281007A (en) Dynamic configuration control device and dynamic configuration control method
JPH09293059A (en) Distributed system and operation management method thereof
JP2000330897A (en) Firewall load dispersing system and method and recording medium
JP2001167074A (en) Load balancing processor
KR100814801B1 (en) Method and system for providing data backup solution of commercial server