JP6204287B2 - Distributed processing method, processing server, and program - Google Patents

Distributed processing method, processing server, and program Download PDF

Info

Publication number
JP6204287B2
JP6204287B2 JP2014148063A JP2014148063A JP6204287B2 JP 6204287 B2 JP6204287 B2 JP 6204287B2 JP 2014148063 A JP2014148063 A JP 2014148063A JP 2014148063 A JP2014148063 A JP 2014148063A JP 6204287 B2 JP6204287 B2 JP 6204287B2
Authority
JP
Japan
Prior art keywords
processing
distributed
resource usage
resource
information
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
JP2014148063A
Other languages
Japanese (ja)
Other versions
JP2016024605A (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 JP2014148063A priority Critical patent/JP6204287B2/en
Publication of JP2016024605A publication Critical patent/JP2016024605A/en
Application granted granted Critical
Publication of JP6204287B2 publication Critical patent/JP6204287B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ユーザ端末からのリクエストを複数の処理サーバで分担して処理する技術に関する。   The present invention relates to a technique for processing a request from a user terminal by sharing it with a plurality of processing servers.

ユーザ端末からのリクエストを担当する処理サーバを決定する分散処理を行うための技術として、例えば、コンシステントハッシュ法を用いて処理の分散化を行う分散データ管理方法がある(特許文献1)。この分散データ管理方法では、コンシステントハッシュ法が用いられ、仮想ハッシュ空間上に処理サーバが割り当てられており、分散データ管理装置は、ユーザ端末からリクエスト(サービス要求信号)を受信すると、リクエストを識別するキーを元に仮想ハッシュ空間上の値を算出し、算出した仮想ハッシュ空間上の値から、そのリクエストへの応答(サービス処理)を担当する処理サーバ(サービス処理サーバ)を決定し、決定された処理サーバにそのリクエストを転送することで、分散処理を実現している。   As a technique for performing distributed processing for determining a processing server in charge of a request from a user terminal, for example, there is a distributed data management method in which processing is distributed using a consistent hash method (Patent Document 1). In this distributed data management method, a consistent hash method is used, and a processing server is allocated on the virtual hash space. When the distributed data management device receives a request (service request signal) from a user terminal, the request is identified. The value in the virtual hash space is calculated based on the key to be determined, and the processing server (service processing server) responsible for the response (service processing) to the request is determined from the calculated value in the virtual hash space. Distributed processing is realized by transferring the request to the processing server.

この分散処理(D(Dispatch)信号処理)とサービス処理(PS(Processing)信号処理)は、1つのマシン(処理サーバ)に重畳させて実行することも可能である。1つのマシンに重畳させて実行することで、D信号処理の結果、サービス処理サーバが自分自身の処理サーバであった場合に、マシン間通信の必要がなく、その通信分のコストを削減することができるという利点がある。   The distributed processing (D (Dispatch) signal processing) and service processing (PS (Processing) signal processing) can be executed in a superimposed manner on one machine (processing server). By superimposing and executing on one machine, if the service processing server is its own processing server as a result of D signal processing, there is no need for inter-machine communication, and the cost for that communication is reduced. There is an advantage that can be.

特開2011−95976号公報JP 2011-95976 A

分散処理とサービス処理を1つの処理サーバに重畳させた状況下において、分散処理用のリソース(CPU(Central Processing Unit)、メモリなど)でサービス処理用のリソースを圧迫することは回避するべきである。なぜならば、D信号処理によって分散が実施できても、肝心のサービス処理が遅延しては、処理サーバ側に留保されるリクエストが増加し、リソース使用率の増加を招く、あるいは、処理サーバの応答時間が増加し、ユーザ端末側への影響が発生する、といったことが考えられるためである。   In a situation where distributed processing and service processing are superimposed on one processing server, it should be avoided that resources for distributed processing (CPU (Central Processing Unit), memory, etc.) compress service processing resources. . This is because even if distribution can be performed by D signal processing, if the important service processing is delayed, the number of requests retained on the processing server side will increase, leading to an increase in resource usage, or the response of the processing server This is because the time may be increased and the influence on the user terminal side may occur.

また、一般に、通信サーバにおいては、信号の受信処理よりも送信処理を優先するという、いわゆる出側優先の思想でソフトウェアの設計がなされている。したがって、分散処理を行う処理サーバについても、出側優先のソフトウェア設計が望ましい。   In general, in a communication server, software is designed based on a so-called outgoing side priority concept that prioritizes transmission processing over signal reception processing. Therefore, it is desirable to design software with priority on the outgoing side for processing servers that perform distributed processing.

そこで、本発明は、分散処理とサービス処理を並行して行う処理サーバにおいて、分散処理の増大によるサービス処理の遅延を回避することを課題とする。   Therefore, an object of the present invention is to avoid a delay in service processing due to an increase in distributed processing in a processing server that performs distributed processing and service processing in parallel.

前記課題を解決するために、本発明は、複数の処理サーバそれぞれが、ユーザ端末からのリクエストを受信した場合に前記リクエストを担当する処理サーバを決定する分散処理と、前記担当する処理サーバとして決定された場合に前記リクエストに応答するサービス処理と、を並行して行う処理システムにおける前記処理サーバによる分散処理方法であって、前記処理サーバは、前記分散処理を行う分散処理部と、前記サービス処理を行うサービス処理部と、前記分散処理に関するリソースの使用状況を示すリソース使用状況情報、および、前記リソース使用状況情報に関する所定の閾値を記憶する記憶部と、リソース監視機能部と、を備えており、前記リソース監視機能部は、前記リソース使用状況情報と前記所定の閾値とを参照し、前記リソース使用状況情報が前記所定の閾値を超えている場合、前記分散処理の一時停止、保守者端末への通知、および、リソースの追加、の少なくともいずれかを実行することを特徴とする。   In order to solve the above-mentioned problem, the present invention determines a distributed processing for determining a processing server in charge of the request when each of the plurality of processing servers receives a request from a user terminal, and determines the processing server in charge. A distributed processing method by the processing server in a processing system that performs service processing responding to the request in parallel when the processing server performs the distributed processing, the distributed processing unit performing the distributed processing, and the service processing A service processing unit that performs resource processing, resource usage information indicating resource usage status related to the distributed processing, a storage unit that stores a predetermined threshold value related to the resource usage status information, and a resource monitoring function unit The resource monitoring function unit refers to the resource usage status information and the predetermined threshold value, and If the source usage information is greater than the predetermined threshold value, notification to the dispersion pause, maintainer terminal processing, and characterized by performing additional resources, the at least one.

これによれば、分散処理とサービス処理を並行して行う処理サーバにおいて、リソース使用状況情報が所定の閾値を超えている場合に、分散処理の一時停止、保守者端末への通知、および、リソースの追加、の少なくともいずれかを実行することで、分散処理の増大によるサービス処理の遅延を回避することができる。   According to this, in a processing server that performs distributed processing and service processing in parallel, when the resource usage status information exceeds a predetermined threshold, suspension of distributed processing, notification to a maintenance person terminal, and resource By executing at least one of the above, it is possible to avoid a delay in service processing due to an increase in distributed processing.

また、本発明は、リソース使用状況情報が、分散処理に関するCPU(Central Processing Unit)またはメモリの使用率の情報であることを特徴とする。   In addition, the present invention is characterized in that the resource usage status information is information on a CPU (Central Processing Unit) or memory usage rate related to distributed processing.

これによれば、リソース使用状況情報として、増大すればサービス処理の遅延に直接つながってしまう、分散処理に関するCPUまたはメモリの使用率の情報を用いることで、分散処理の増大によるサービス処理の遅延をより確実に回避することができる。   According to this, by using information on the CPU or memory usage rate related to the distributed processing, which increases directly as a resource processing status information, the service processing delay due to the increase in the distributed processing can be reduced. This can be avoided more reliably.

また、本発明は、リソース使用状況情報が、単位時間当たりの分散処理の数の情報であることを特徴とする。   In addition, the present invention is characterized in that the resource usage status information is information on the number of distributed processes per unit time.

これによれば、リソース使用状況情報として、増大すればサービス処理の遅延に直接つながってしまう、単位時間当たりの分散処理の数の情報を用いることで、分散処理の増大によるサービス処理の遅延をより確実に回避することができる。   According to this, by using the information on the number of distributed processes per unit time, which directly leads to a delay in service processing as the resource usage status information increases, the delay in service processing due to the increase in distributed processing is further increased. It can be avoided reliably.

また、本発明は、コンピュータを、前記処理サーバとして機能させるためのプログラムとして実現できる。これにより、コンピュータを、前記処理サーバとして機能させることができる。   In addition, the present invention can be realized as a program for causing a computer to function as the processing server. Thereby, a computer can be functioned as the processing server.

本発明によれば、分散処理とサービス処理を並行して行う処理サーバにおいて、分散処理の増大によるサービス処理の遅延を回避することができる。   According to the present invention, in a processing server that performs distributed processing and service processing in parallel, a delay in service processing due to an increase in distributed processing can be avoided.

本実施形態の処理サーバを含む全体構成図である。It is a whole block diagram containing the processing server of this embodiment. (a)は、リソース使用状況情報の例を示す図である。(b)は、閾値情報の例を示す図である。(A) is a figure showing an example of resource use status information. (B) is a figure showing an example of threshold information. 本実施形態における処理サーバなどの処理の流れを示したシーケンス図である。It is the sequence diagram which showed the flow of processes, such as a process server in this embodiment. (a)は、リソース使用状況情報の他の例を示す図である。(b)は、閾値情報の他の例を示す図である。(A) is a figure showing other examples of resource use status information. (B) is a figure showing other examples of threshold information.

本発明を実施するための形態(実施形態)について、図面を参照しながら説明する。図1に示すように、処理システム100は、処理サーバ1と、複数の他の処理サーバ3とを備えている。なお、処理サーバ1と複数の他の処理サーバ3は同等であるが、ここでは、処理サーバ1に着目するものとする。また、処理サーバ1と複数の他の処理サーバ3をまとめて表現する場合は、「処理サーバ1,3」と記載する。また、「処理サーバ1,3」のうちの1つを指す場合、符号無しで「処理サーバ」と記載する場合もある。   EMBODIMENT OF THE INVENTION The form (embodiment) for implementing this invention is demonstrated referring drawings. As shown in FIG. 1, the processing system 100 includes a processing server 1 and a plurality of other processing servers 3. Note that the processing server 1 and a plurality of other processing servers 3 are equivalent, but here, the processing server 1 is considered. Further, when the processing server 1 and a plurality of other processing servers 3 are expressed together, they are described as “processing servers 1 and 3”. In addition, when referring to one of “processing servers 1 and 3”, “processing server” may be described without any reference.

処理システム100において、ユーザ端末2からのリクエストを処理サーバ1,3のいずれかが受信すると、受信した処理サーバは、処理サーバ1,3のうち前記リクエストを担当する処理サーバを決定する分散処理を行い、前記決定された処理サーバが前記リクエストに応答するサービス処理を行う。つまり、処理サーバ1,3それぞれは、分散処理とサービス処理とを並行して行う。   In the processing system 100, when one of the processing servers 1 and 3 receives a request from the user terminal 2, the received processing server performs distributed processing for determining the processing server in charge of the request among the processing servers 1 and 3. And the determined processing server performs service processing in response to the request. That is, each of the processing servers 1 and 3 performs distributed processing and service processing in parallel.

処理サーバ1は、CPU(Central Processing Unit)、メモリなどによって実現されるD信号受信機能部11、D信号処理機能部12、PS信号受信機能部13、PS信号処理機能部14、送信機能部15、リソース監視機能部16と、HDD(Hard Disk Drive)、フラッシュメモリなどによって実現される記憶部17を備えて構成される。   The processing server 1 includes a D signal reception function unit 11, a D signal processing function unit 12, a PS signal reception function unit 13, a PS signal processing function unit 14, and a transmission function unit 15 that are realized by a CPU (Central Processing Unit), a memory, and the like. , A resource monitoring function unit 16 and a storage unit 17 realized by an HDD (Hard Disk Drive), a flash memory, or the like.

記憶部17は、リソース使用状況情報18および閾値情報19(所定の閾値)を記憶する。また、記憶部17は、コンピュータを処理サーバ1として機能させるためのプログラムを記憶している。このプログラムにより、コンピュータを処理サーバ1として機能させることができる。   The storage unit 17 stores resource usage status information 18 and threshold information 19 (predetermined threshold). The storage unit 17 stores a program for causing a computer to function as the processing server 1. With this program, the computer can function as the processing server 1.

D信号受信機能部11は、ユーザ端末2からのリクエストの信号(D信号)を受信キューから取り出す。
D信号処理機能部12(分散処理部)は、D信号を解析して、例えばコンシステントハッシュ法によって、担当する処理サーバを決定する分散処理を行う。
The D signal reception function unit 11 extracts a request signal (D signal) from the user terminal 2 from the reception queue.
The D signal processing function unit 12 (distributed processing unit) analyzes the D signal and performs distributed processing for determining a processing server in charge, for example, by a consistent hash method.

PS信号受信機能部13は、他の処理サーバ3からの信号(PS信号)を受信キューから取り出す。
PS信号処理機能部14(サービス処理部)は、PS信号を解析してサービス処理を行う。
The PS signal reception function unit 13 takes out a signal (PS signal) from another processing server 3 from the reception queue.
The PS signal processing function unit 14 (service processing unit) analyzes the PS signal and performs service processing.

送信機能部15は、D信号処理機能部12によって決定された処理サーバや、ユーザ端末2へ、信号を送信する。
リソース監視機能部16は、リソース使用状況情報18と閾値情報19とを参照し、リソース使用状況情報18が閾値情報19の示す値を超えている場合、分散処理の一時停止、保守者端末4への通知、および、リソースの追加、の少なくともいずれかを実行する(詳細は後記)。
The transmission function unit 15 transmits a signal to the processing server determined by the D signal processing function unit 12 and the user terminal 2.
The resource monitoring function unit 16 refers to the resource usage status information 18 and the threshold information 19, and when the resource usage status information 18 exceeds the value indicated by the threshold information 19, the distributed processing is temporarily stopped, and the maintenance person terminal 4 And / or resource addition (details will be described later).

記憶部17には、図2(a)に示すように、リソース使用状況情報18として、スレッドID(IDentifier)ごとに、用途、CPU使用率(%)、メモリ使用率(%)の各情報が格納される。なお、リソース使用状況情報18は、D信号処理機能部12、PS信号処理機能部14によって逐次更新される。   As shown in FIG. 2A, the storage unit 17 stores information on usage, CPU usage (%), and memory usage (%) for each thread ID (IDentifier) as resource usage status information 18. Stored. The resource usage status information 18 is sequentially updated by the D signal processing function unit 12 and the PS signal processing function unit 14.

記憶部17には、図2(b)に示すように、閾値情報19として、例えば、全体CPU使用率閾値、D信号処理スレッド用のCPU使用率閾値、全体メモリ使用率閾値、D信号処理スレッド用のメモリ使用率閾値の各情報が予め設定されている。   As shown in FIG. 2B, the storage unit 17 includes, as threshold information 19, for example, an overall CPU usage rate threshold, a CPU usage rate threshold for a D signal processing thread, an overall memory usage rate threshold, and a D signal processing thread. Each information of the memory usage rate threshold value for use is preset.

次に、本実施形態における処理サーバ1などの処理の流れについて説明する。図3に示すように(図1も参照)、ユーザ端末2が要求信号(D信号。リクエスト)を送信し(S1)、その要求信号を処理サーバ1が受信するものとする。   Next, a processing flow of the processing server 1 and the like in the present embodiment will be described. As shown in FIG. 3 (see also FIG. 1), the user terminal 2 transmits a request signal (D signal, request) (S1), and the processing server 1 receives the request signal.

処理サーバ1において、D信号受信機能部11は、ユーザ端末2からの要求信号を受信し、その要求信号をD信号処理機能部12に受け渡す(S2)。
D信号処理機能部12は、要求信号を受け取ると、スレッドを生成し(S3)、スレッドIDをリソース監視機能部16に通知する(S4)。また、D信号処理機能部12は、記憶部17のリソース使用状況情報18を更新する。
In the processing server 1, the D signal reception function unit 11 receives a request signal from the user terminal 2, and transfers the request signal to the D signal processing function unit 12 (S2).
When receiving the request signal, the D signal processing function unit 12 generates a thread (S3), and notifies the resource monitoring function unit 16 of the thread ID (S4). In addition, the D signal processing function unit 12 updates the resource usage status information 18 in the storage unit 17.

次に、D信号処理機能部12は、その要求信号を担当する処理サーバを決定する分散処理を行い(S5)、決定された処理サーバに対して、送信機能部15を経由してその要求信号(PS信号)を送信する(S6、S7)
その要求信号(PS信号)受け取った処理サーバ(他の処理サーバ3)は、その要求信号に応答するサービス処理を行う。
Next, the D signal processing function unit 12 performs distributed processing for determining a processing server in charge of the request signal (S5), and sends the request signal to the determined processing server via the transmission function unit 15. (PS signal) is transmitted (S6, S7).
The processing server (other processing server 3) that has received the request signal (PS signal) performs service processing in response to the request signal.

また、処理サーバ1のPS信号受信機能部13は、ユーザ端末2からの他の要求信号(D信号)を受信して分散処理を終えた他の処理サーバ3から要求信号(PS信号)を受け取ると(S8)、その要求信号をPS信号処理機能部14に受け渡す(S9)。   The PS signal reception function unit 13 of the processing server 1 receives another request signal (D signal) from the user terminal 2 and receives a request signal (PS signal) from the other processing server 3 that has finished the distributed processing. (S8), the request signal is transferred to the PS signal processing function unit 14 (S9).

PS信号処理機能部14は、要求信号を受け取ると、スレッドを生成し(S10)、スレッドIDをリソース監視機能部16に通知する(S11)。また、PS信号処理機能部14は、記憶部17のリソース使用状況情報18を更新する。   When receiving the request signal, the PS signal processing function unit 14 generates a thread (S10), and notifies the resource monitoring function unit 16 of the thread ID (S11). Further, the PS signal processing function unit 14 updates the resource usage status information 18 in the storage unit 17.

次に、PS信号処理機能部14は、その要求信号(PS信号)に関するサービス処理を行い(S12)、その要求信号を発したユーザ端末2に対して、送信機能部15を経由して応答信号を送信する(S13、S14)。   Next, the PS signal processing function unit 14 performs service processing related to the request signal (PS signal) (S12), and sends a response signal to the user terminal 2 that has issued the request signal via the transmission function unit 15. Is transmitted (S13, S14).

また、リソース監視機能部16は、定期的に起動し、S4とS11で受け取ったスレッドIDを用いて、記憶部17からリソース使用状況情報18を収集する(S15)。
次に、リソース監視機能部16は、収集したリソース使用状況情報18に基づいて、全体CPU使用率、D信号処理スレッド用のCPU使用率、全体メモリ使用率、D信号処理スレッド用のメモリ使用率を算出し、それぞれの値が、閾値情報19に記憶された全体CPU使用率閾値、D信号処理スレッド用のCPU使用率閾値、全体メモリ使用率閾値、D信号処理スレッド用のメモリ使用率閾値を超えているか否かを判定し(S16)、Yesの場合はS17に進み、Noの場合はS17をスキップする。
Further, the resource monitoring function unit 16 starts periodically and collects the resource usage status information 18 from the storage unit 17 using the thread ID received in S4 and S11 (S15).
Next, the resource monitoring function unit 16 determines the total CPU usage rate, the CPU usage rate for the D signal processing thread, the total memory usage rate, and the memory usage rate for the D signal processing thread based on the collected resource usage status information 18. And the respective values are the total CPU usage threshold, the CPU usage threshold for the D signal processing thread, the total memory usage threshold, and the memory usage threshold for the D signal processing thread stored in the threshold information 19. It is determined whether it exceeds (S16). If Yes, the process proceeds to S17, and if No, S17 is skipped.

S17において、リソース監視機能部16は、分散処理用のリソースがサービス処理用のリソースを圧迫しないように、分散処理の一時停止、保守者端末4への通知、および、リソースの追加(例えば処理サーバの追加)、の少なくともいずれかを実行する。   In S <b> 17, the resource monitoring function unit 16 stops the distributed processing, notifies the maintenance person terminal 4, and adds a resource (for example, a processing server) so that the resource for distributed processing does not press on the resource for service processing. Add at least one of the following.

分散処理を一時停止すれば、分散処理用のリソースがサービス処理用のリソースを圧迫する事態を直接的に回避できる。
また、保守者端末4へ通知すれば、保守者が有効な対策を講じることができる。
また、リソースを追加すれば、分散処理用のリソースの使用率を当然に下がるので、分散処理用のリソースがサービス処理用のリソースを圧迫する事態を回避できる。
If the distributed processing is temporarily stopped, it is possible to directly avoid the situation where the resources for the distributed processing press the resources for the service processing.
Further, if the maintenance person terminal 4 is notified, the maintenance person can take effective measures.
Further, if the resource is added, the usage rate of the resource for distributed processing is naturally reduced, and therefore, the situation where the resource for distributed processing presses the resource for service processing can be avoided.

なお、分散処理を一時停止する場合は、その後、所定時間が経過したこと、あるいは、閾値を超えていた値が閾値以下になったこと、などの条件を満たしたときに、分散処理を再開すればよい。   Note that when the distributed processing is paused, the distributed processing is resumed when a condition such as a predetermined time has elapsed or a value that has exceeded the threshold value has fallen below the threshold value is satisfied. That's fine.

通知を受けた保守者端末4は、表示部31に閾値を超えた値に関する情報を表示する。保守者は、この表示を見ることで、対策を講じることができる。   Receiving the notification, the maintenance person terminal 4 displays information regarding the value exceeding the threshold value on the display unit 31. The maintenance person can take measures by viewing this display.

このようにして、本実施形態の処理サーバ1によれば、分散処理とサービス処理を並行して行う場合に、リソース使用状況情報18のうち、特に、分散処理に関するリソース使用状況情報(D信号処理スレッド用のCPU使用率、D信号処理スレッド用のメモリ使用率)が所定の閾値を超えている場合に、分散処理の一時停止、保守者端末4への通知、および、リソースの追加、の少なくともいずれかを実行することで、分散処理の増大によるサービス処理の遅延を回避することができる。   In this way, according to the processing server 1 of the present embodiment, when the distributed processing and the service processing are performed in parallel, the resource usage status information 18 (D signal processing, in particular, regarding the distributed processing among the resource usage status information 18). When the CPU usage rate for threads and the memory usage rate for D signal processing threads) exceed predetermined thresholds, at least the suspension of distributed processing, notification to the maintenance person terminal 4, and addition of resources are at least By executing either one, it is possible to avoid a delay in service processing due to an increase in distributed processing.

また、リソース使用状況情報18として、増大すればサービス処理の遅延に直接つながってしまう、分散処理に関するCPUまたはメモリの使用率の情報を用いることで、分散処理の増大によるサービス処理の遅延をより確実に回避することができる。   Further, as the resource usage status information 18, information on the CPU or memory usage rate related to the distributed processing that directly leads to a delay in the service processing if used increases, so that the delay in the service processing due to the increase in the distributed processing is more reliably ensured. Can be avoided.

次に、リソース使用状況情報と閾値情報の他の例について説明する。図4(a)に示すように、リソース使用状況情報18aとして、分散処理を伴う信号(D信号)の単位時間当たりの処理数を用いることもできる。その場合、図4(b)に示すように、閾値情報19aとして、分散処理を伴う信号(D信号)の単位時間当たりの処理数の閾値を予め設定しておく。   Next, another example of resource usage status information and threshold information will be described. As shown in FIG. 4A, the number of processes per unit time of a signal (D signal) accompanied by distributed processing can be used as the resource usage status information 18a. In this case, as shown in FIG. 4B, a threshold value for the number of processes per unit time of a signal (D signal) accompanied by distributed processing is set in advance as the threshold information 19a.

そして、リソース監視機能部16が、リソース使用状況情報18aが閾値情報19aに示す値を超えている場合に、分散処理の一時停止、保守者端末4への通知、および、リソースの追加、の少なくともいずれかを実行すればよい。   When the resource monitoring function unit 16 exceeds the value indicated by the threshold information 19a in the resource usage status information 18a, at least the suspension of the distributed processing, the notification to the maintenance person terminal 4, and the addition of the resource are at least Either one should be executed.

これによれば、リソース使用状況情報として、増大すればサービス処理の遅延に直接つながってしまう、分散処理を伴う信号の単位時間当たりの処理数の情報を用いることで、分散処理の増大によるサービス処理の遅延をより確実に回避することができる。
なお、分散処理を一時停止する場合は、例えば、その後、単位時間が経過したときに、分散処理を再開すればよい。
According to this, by using information on the number of processes per unit time of a signal accompanied by distributed processing, which directly leads to a delay in service processing as the resource usage status information increases, service processing due to increased distributed processing is performed. This delay can be avoided more reliably.
Note that when the distributed processing is temporarily stopped, for example, the distributed processing may be resumed when the unit time has elapsed thereafter.

以上で本実施形態の説明を終えるが、本発明の態様はこれらに限定されるものではない。
例えば、図2(b)に示した「50.0%」などの数字は一例であり、他の数字を採用してもよい。
Although description of this embodiment is finished above, the aspect of the present invention is not limited to these.
For example, the numbers such as “50.0%” shown in FIG. 2B are examples, and other numbers may be adopted.

また、図3のS15〜S17の処理を行うタイミングは、「定期的」に限定されず、例えば、リソース監視機能部16がスレッドIDの通知を所定回数受信する度など、他のタイミングであってもよい。
その他、具体的な構成について、本発明の主旨を逸脱しない範囲で適宜変更が可能である。
Also, the timing of performing the processing of S15 to S17 in FIG. 3 is not limited to “periodic”, but is another timing, for example, every time the resource monitoring function unit 16 receives a thread ID notification a predetermined number of times. Also good.
In addition, about a concrete structure, it can change suitably in the range which does not deviate from the main point of this invention.

1 処理サーバ
2 ユーザ端末
3 他の処理サーバ
4 保守者端末
11 D信号受信機能部
12 D信号処理機能部
13 PS信号受信機能部
14 PS信号処理機能部
15 送信機能部
16 リソース監視機能部
17 記憶部
18、18a リソース使用状況情報
19、19a 閾値情報
31 表示部
100 処理システム
DESCRIPTION OF SYMBOLS 1 Processing server 2 User terminal 3 Other processing server 4 Maintenance person terminal 11 D signal receiving function part 12 D signal processing function part 13 PS signal receiving function part 14 PS signal processing function part 15 Transmission function part 16 Resource monitoring function part 17 Storage Unit 18, 18a Resource usage status information 19, 19a Threshold information 31 Display unit 100 Processing system

Claims (7)

複数の処理サーバそれぞれが、ユーザ端末からのリクエストを受信した場合に前記リクエストを担当する処理サーバを決定する分散処理と、前記担当する処理サーバとして決定された場合に前記リクエストに応答するサービス処理と、を並行して行う処理システムにおける前記処理サーバによる分散処理方法であって、
前記処理サーバは、
前記分散処理を行う分散処理部と、
前記サービス処理を行うサービス処理部と、
前記分散処理に関するリソースの使用状況を示すリソース使用状況情報、および、前記リソース使用状況情報に関する所定の閾値を記憶する記憶部と、
リソース監視機能部と、を備えており、
前記リソース監視機能部は、
前記リソース使用状況情報と前記所定の閾値とを参照し、前記リソース使用状況情報が前記所定の閾値を超えている場合、前記分散処理の一時停止、保守者端末への通知、および、リソースの追加、の少なくともいずれかを実行する
ことを特徴とする分散処理方法。
A plurality of processing servers, each of which receives a request from a user terminal, a distributed process for determining a processing server in charge of the request, and a service process for responding to the request when determined as the processing server in charge , A distributed processing method by the processing server in a processing system for performing in parallel,
The processing server
A distributed processing unit for performing the distributed processing;
A service processing unit for performing the service processing;
A storage unit that stores resource usage information indicating resource usage related to the distributed processing, and a predetermined threshold value related to the resource usage information;
A resource monitoring function unit,
The resource monitoring function unit
Referring to the resource usage status information and the predetermined threshold value, when the resource usage status information exceeds the predetermined threshold value, the distributed processing is temporarily stopped, the notification to the maintenance person terminal, and the addition of the resource A distributed processing method characterized by executing at least one of the following.
前記リソース使用状況情報は、前記分散処理に関するCPU(Central Processing Unit)またはメモリの使用率の情報である
ことを特徴とする請求項1に記載の分散処理方法。
The distributed processing method according to claim 1, wherein the resource usage status information is information on a CPU (Central Processing Unit) or a memory usage rate related to the distributed processing.
前記リソース使用状況情報は、単位時間当たりの前記分散処理の数の情報である
ことを特徴とする請求項1に記載の分散処理方法。
The distributed processing method according to claim 1, wherein the resource usage status information is information on the number of the distributed processes per unit time.
複数の処理サーバそれぞれが、ユーザ端末からのリクエストを受信した場合に前記リクエストを担当する処理サーバを決定する分散処理と、前記担当する処理サーバとして決定された場合に前記リクエストに応答するサービス処理と、を並行して行う処理システムにおける前記処理サーバであって、
前記分散処理を行う分散処理部と、
前記サービス処理を行うサービス処理部と、
前記分散処理に関するリソースの使用状況を示すリソース使用状況情報、および、前記リソース使用状況情報に関する所定の閾値を記憶する記憶部と、
前記リソース使用状況情報と前記所定の閾値とを参照し、前記リソース使用状況情報が前記所定の閾値を超えている場合、前記分散処理の一時停止、保守者端末への通知、および、リソースの追加、の少なくともいずれかを実行するリソース監視機能部と、
を備えることを特徴とする処理サーバ。
A plurality of processing servers, each of which receives a request from a user terminal, a distributed process for determining a processing server in charge of the request, and a service process for responding to the request when determined as the processing server in charge , The processing server in a processing system for performing in parallel,
A distributed processing unit for performing the distributed processing;
A service processing unit for performing the service processing;
A storage unit that stores resource usage information indicating resource usage related to the distributed processing, and a predetermined threshold value related to the resource usage information;
Referring to the resource usage status information and the predetermined threshold value, when the resource usage status information exceeds the predetermined threshold value, the distributed processing is temporarily stopped, the notification to the maintenance person terminal, and the addition of the resource A resource monitoring function unit that executes at least one of
A processing server comprising:
前記リソース使用状況情報は、前記分散処理に関するCPU(Central Processing Unit)またはメモリの使用率の情報である
ことを特徴とする請求項4に記載の処理サーバ。
The processing server according to claim 4, wherein the resource usage status information is information on a CPU (Central Processing Unit) or a memory usage rate related to the distributed processing.
前記リソース使用状況情報は、単位時間当たりの前記分散処理の数の情報である
ことを特徴とする請求項4に記載の処理サーバ。
The processing server according to claim 4, wherein the resource usage status information is information on the number of distributed processes per unit time.
コンピュータを、請求項4から請求項6までのいずれか一項に記載の処理サーバとして機能させるためのプログラム。   The program for functioning a computer as a processing server as described in any one of Claim 4-6.
JP2014148063A 2014-07-18 2014-07-18 Distributed processing method, processing server, and program Active JP6204287B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014148063A JP6204287B2 (en) 2014-07-18 2014-07-18 Distributed processing method, processing server, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014148063A JP6204287B2 (en) 2014-07-18 2014-07-18 Distributed processing method, processing server, and program

Publications (2)

Publication Number Publication Date
JP2016024605A JP2016024605A (en) 2016-02-08
JP6204287B2 true JP6204287B2 (en) 2017-09-27

Family

ID=55271322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014148063A Active JP6204287B2 (en) 2014-07-18 2014-07-18 Distributed processing method, processing server, and program

Country Status (1)

Country Link
JP (1) JP6204287B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7000686B2 (en) * 2017-02-13 2022-01-19 オムロン株式会社 Control device
US11347679B2 (en) * 2018-02-08 2022-05-31 Alibaba Group Holding Limited Hybrid system-on-chip for power and performance prediction and control

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11120147A (en) * 1997-10-17 1999-04-30 Hitachi Ltd Load distributed control method

Also Published As

Publication number Publication date
JP2016024605A (en) 2016-02-08

Similar Documents

Publication Publication Date Title
JP6239107B2 (en) Service processing method and system, and apparatus
US10979491B2 (en) Determining load state of remote systems using delay and packet loss rate
US9582305B2 (en) Virtualization congestion control framework for modifying execution of applications on virtual machine based on mass congestion indicator in host computing system
JP4574600B2 (en) Gateway device, data aggregation device, data aggregation system, data transmission method, and program
JP2010204876A (en) Distributed system
JP2018532172A (en) Method and system for resource scheduling
JP4747307B2 (en) Network processing control device, program, and method
KR20150085376A (en) Load balancing system for rendering service over cloud gaming environment and load balancing method thereof
CN108572898B (en) Method, device, equipment and storage medium for controlling interface
US20150358402A1 (en) Efficient and scalable pull-based load distribution
WO2013037619A1 (en) Method and system for managing an elastic server farm
US9363199B1 (en) Bandwidth management for data services operating on a local network
JP6204287B2 (en) Distributed processing method, processing server, and program
WO2015168834A1 (en) Method for allocating network resources in virtual network function, composer and manager
JP2009237918A (en) Distributed content delivery system, center server, distributed content delivery method and distributed content delivery program
JP5526748B2 (en) Packet processing device, packet distribution device, control program, and packet distribution method
JP6102347B2 (en) Information device, printing system, computer program, and data transfer method
JP6594271B2 (en) Dispersing apparatus and dispersing method
CN106131187B (en) Authorization control method and device
JP6823257B2 (en) Job monitoring program, job monitoring device and job monitoring method
WO2016017161A1 (en) Virtual machine system, scheduling method, and program storage medium
US10091068B1 (en) System for modeling distributed systems
JP6233141B2 (en) Database system, database server, database server program, database client, and database client program
JP2016036103A (en) Image distribution server and image distribution method
US20190109908A1 (en) Automatic scaling for communications event access through a stateful interface

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170719

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170831

R150 Certificate of patent or registration of utility model

Ref document number: 6204287

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150