JP4644175B2 - ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM - Google Patents
ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM Download PDFInfo
- Publication number
- JP4644175B2 JP4644175B2 JP2006276280A JP2006276280A JP4644175B2 JP 4644175 B2 JP4644175 B2 JP 4644175B2 JP 2006276280 A JP2006276280 A JP 2006276280A JP 2006276280 A JP2006276280 A JP 2006276280A JP 4644175 B2 JP4644175 B2 JP 4644175B2
- Authority
- JP
- Japan
- Prior art keywords
- servers
- load
- page
- server
- access
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、ページを配信する複数のサーバを備えたサーバ負荷分散システムにおいて、サーバへのアクセス負荷を制御するアクセス負荷制御装置およびそのプログラム、ならびに、投稿受付システムに関する。 The present invention, in the server load balancing system comprising a plurality of servers for distributing a page, the access load control equipment AND ITS program controls access load on the server, and to post accepting system.
近年、放送番組中に、視聴者に対して番組への投稿を呼びかけ、インターネットを介して、投稿を受け付けるシステム(投稿受付システム)が運用されている。
このようなシステムでは、放送番組で投稿を呼びかけると、放送局のサーバ(Webサーバ)において、投稿用のページ(Webページ)を公開する。そして、視聴者は、デジタルテレビ受信機、パーソナルコンピュータ、携帯電話等の端末を介して、投稿用のページにアクセスし、投稿用のデータの入力を行う。
このように、視聴者に対して番組への投稿を呼びかけると、図8に示すように、一時的に投稿用のページへのアクセス数が急増し、時間の経過に伴って徐々にアクセス数が低下していく。そこで、従来は、アクセス数のピーク時の処理が可能な数のサーバを用意し、視聴者の端末からのアクセス(要求)を負荷分散装置で各サーバに分配することで、1台のサーバに負荷が集中しないようにしたサーバ負荷分散システムとして、投稿受付システムを構成していた。
In recent years, a system (post accepting system) that invites viewers to post a program during a broadcast program and accepts posts via the Internet has been operated.
In such a system, when a posting is called for in a broadcast program, a posting page (Web page) is released on a server (Web server) of the broadcasting station. Then, the viewer accesses a posting page via a terminal such as a digital television receiver, a personal computer, or a mobile phone, and inputs posting data.
In this way, when the viewer is invited to contribute to the program, as shown in FIG. 8, the number of accesses to the posting page temporarily increases, and the number of accesses gradually increases as time passes. It goes down. Therefore, conventionally, a number of servers capable of processing at the peak of the number of accesses are prepared, and access (request) from the viewer's terminal is distributed to each server by the load balancer, so that one server can be provided. A posting acceptance system was configured as a server load balancing system that prevented the load from being concentrated.
例えば、従来のサーバ負荷分散システムSBは、図9に示すように、複数のサーバ10(101,102,…,10n)と、投稿用のページを記憶するページ情報記憶装置20と、アクセスを各サーバ10に分配する負荷分散装置30とを備えている。
このサーバ負荷分散システムSBでは、負荷分散装置30が、インターネット等のネットワークNを介して、デジタルテレビ受信機501、パーソナルコンピュータ(パソコン)502、携帯電話503等の端末50からの投稿用のページへのアクセスを各サーバ10に分配することで、複数の投稿を受け付けることを可能にしている。
For example, the conventional server load balancing system S B, as shown in FIG. 9, a plurality of servers 10 (10 1, 10 2, ..., 10 n) and, with the page
In the server load balancing system S B, the load balancer 30 via the network N such as the Internet, a digital television receiver 50 1, a personal computer (PC) 50 2 posts from the
また、従来の他のサーバ負荷分散システムSCは、図10に示すように、複数のサーバ10(101,102,…,10n)と、ビジー状態を示すページを表示するサーバであるソーリーサーバ10Sと、投稿用のページを記憶するページ情報記憶装置20と、アクセスを各サーバ10に分配する負荷分散装置30Bとを備えている。
このサーバ負荷分散システムSCでは、負荷分散装置30Bが、インターネット等のネットワークNを介して、デジタルテレビ受信機501、パソコン502、携帯電話503等の端末50からの投稿用のページへのアクセスを各サーバ10に分配する。このとき、負荷分散装置30Bは、各サーバ10のすべてが投稿受け付け中である場合に、端末50からのアクセスをソーリーサーバ10Sに分配することで、視聴者に対して、現在ビジー状態であり、投稿を受け付けることができない旨を通知する。
このような、複数のサーバを備え、サーバに対する負荷を分散させる技術については、例えば、特許文献1等に開示されている。
In the server load balancing system S C, load balancer 30 B, via the network N such as the Internet, a
Such a technique that includes a plurality of servers and distributes the load on the servers is disclosed in, for example, Patent Document 1.
前記したサーバ負荷分散システムSB(図9)では、アクセス数のピークを想定し、そのピークにおける処理が可能な数のサーバを準備する必要がある。しかし、そのピークは一時的なものであるため、アクセスが平常状態になったときには、多くのサーバは、アクセスのない無駄なサーバとなってしまうという問題がある。
さらに、サーバ負荷分散システムSBでは、各サーバに想定以上のアクセスがあった場合、各サーバは、過負荷に伴って、メモリの内容をハードディスクに書き出す、あるいは、ハードディスクから読み込むページング等が頻繁に発生するようになり、急激に応答時間が長くなってしまう。これによって、例えば、生放送の番組中に視聴者からの投稿を受け付けることができなくなってしまうという問題がある。
In the server load distribution system S B (FIG. 9) described above, it is necessary to prepare a number of servers capable of processing at the peak assuming the peak of the number of accesses. However, since the peak is temporary, there is a problem that many servers become useless servers without access when access becomes normal.
Furthermore, in the server load balancing system S B, if there is more than expected access each server, each server, with the overload, write the contents of the memory to the hard disk, or the like is frequently paging read from the hard disk Will occur, and the response time will become longer. Accordingly, for example, there is a problem that a post from a viewer cannot be accepted during a live broadcast program.
また、前記したサーバ負荷分散システムSC(図10)では、ソーリーサーバを設け、ビジー状態を視聴者に通知することができるため、アクセス数のピークにおける処理が可能な数のサーバを準備する必要はない。ただし、想定以上のアクセスがあった場合、ソーリーサーバが応答してしまい、投稿されたデータを受け付けない状態が発生してしまうという問題がある。 In the server load distribution system S C (FIG. 10) described above, since a sorry server is provided to notify the viewer of the busy state, it is necessary to prepare a number of servers capable of processing at the peak number of accesses. There is no. However, there is a problem that when there is an access that exceeds the expected level, the sorry server responds and the posted data is not accepted.
本発明は、以上のような問題点に鑑みてなされたものであり、サーバの設置台数を抑えることが可能で、さらに、サーバの過負荷の発生を抑えることで、システム全体の停止を防止することが可能なアクセス負荷制御装置およびそのプログラム、ならびに、投稿受付システムを提供することを目的とする。 The present invention has been made in view of the above problems, and can reduce the number of installed servers. Further, the present invention prevents the entire system from being stopped by suppressing the occurrence of server overload. it is possible access load control equipment you and the program, as well as, an object of the present invention is to provide a post acceptance system.
本発明は、前記目的を達成するために創案されたものであり、まず、請求項1に記載のアクセス負荷制御装置は、ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するアクセス負荷制御装置であって、負荷収集手段と、負荷解析手段と、配信ページ指示手段とを備え、前記負荷解析手段が、アクセス数解析手段と、配信サーバ数決定手段とを備える構成とした。 The present invention was devised to achieve the above object. First, an access load control device according to claim 1 includes a plurality of servers that distribute pages, and is requested via a network. access to the page, the server load balancing system to respond by distributing to the plurality of servers by the load balancer, a page of the plurality of server delivers, the links to dynamic pages is described 1 a static page, the links to dynamic pages is not described by switching to either of the second static page, an access load control device for controlling the access load on the server, a negative a load collecting unit, a load analysis unit, and a distribution page instructing means, the load analyzer means, and an access analysis unit, configured to include a distribution server number determining means .
かかる構成において、アクセス負荷制御装置は、負荷収集手段によって、複数のサーバから単位時間あたりのアクセス数を収集する。 In this configuration, the access load control device, the load collecting unit collects the number of access per unit time from a plurality of servers.
さらに、アクセス負荷制御装置は、負荷解析手段によって、負荷収集手段で収集した単位時間あたりのアクセス数に基づいて、第1静的ページを配信する第1サーバの数を決定する。
なお、動的ページは、CGI(Common Gateway Interface)、java(登録商標)等で記述され、外部プログラムを起動させることで、データ入力やその応答を行うページである。また、静的ページは、HTML(HyperText Markup Language)等の言語で記述され、単に情報の提示のみを行うページである。このように、動的ページは、静的ページに比べてCPUパワー等を消費し、負荷が大きい。
また、第1静的ページは、動的ページへのリンク先が記述されているため、一旦、第1静的ページが公開されると、リンク先を選択されることで動的ページへ遷移してしまう。
Furthermore, the access load control device, the load analyzer, based on the number of accesses per unit collected by the load collecting unit time determines the number of first server that distributes the first static pages.
The dynamic page is a page that is described in CGI (Common Gateway Interface), Java (registered trademark), and the like, and is used to input data and respond by starting an external program. A static page is a page that is described in a language such as HTML (HyperText Markup Language) and that merely presents information. As described above, the dynamic page consumes CPU power and the like and has a larger load than the static page.
The first static pages, dynamic because the links to the page is written, once the first static page is published, a transition to the dynamic page that is selected landing End up.
そこで、アクセス負荷制御装置は、負荷解析手段のアクセス数解析手段によって、複数のサーバから収集した複数のサーバ全体の単位時間あたりのアクセス数において、第1静的ページを介して動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた複数のサーバ全体の負荷制限値以下となる第1サーバ数分のアクセス数を算出する。
すなわち、アクセス数解析手段は、アクセス数が多くサーバ全体の負荷が大きい場合、負荷の軽い第2静的ページを配信するサーバの割合を多くする。これによって、サーバ全体の負荷が軽減されることになる。また、アクセス数解析手段は、アクセス数が少なくサーバ全体の負荷が小さい場合、第1静的ページを配信するサーバの割合を多くする。これによって、アクセスに対して、動的ページを配信する割合を高めることになる。
そして、アクセス負荷制御装置は、負荷解析手段の配信サーバ数決定手段によって、アクセス数解析手段で算出された第1サーバ数分のアクセス数に応じた負荷量を、第1サーバが使用できる最大負荷量で除算することで、第1サーバの数を決定する。
Therefore, the access load control device distributes the dynamic page via the first static page in the number of accesses per unit time of the entire plurality of servers collected from the plurality of servers by the access number analyzing unit of the load analyzing unit. A load amount corresponding to the number of accesses corresponding to the number of first servers of a predetermined load amount to be used for the second load and a number of second servers corresponding to a predetermined load amount used for delivering the second static page The number of accesses corresponding to the number of first servers is calculated such that the sum of the load amount according to the number of accesses is equal to or less than a predetermined load limit value for the plurality of servers.
That is, the access number analysis means increases the ratio of servers that distribute the second static page with a light load when the number of accesses is large and the load on the entire server is large. As a result, the load on the entire server is reduced. Further, the access number analyzing means increases the ratio of the server that distributes the first static page when the number of accesses is small and the load on the entire server is small. This increases the ratio of delivering dynamic pages to access.
Then, the access load control device determines the maximum load that can be used by the first server by the distribution server number determination means of the load analysis means, according to the number of accesses corresponding to the number of first servers calculated by the access number analysis means. Divide by amount to determine the number of first servers.
また、請求項2に記載のアクセス負荷制御装置は、ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するアクセス負荷制御装置であって、負荷収集手段と、負荷解析手段と、配信ページ指示手段とを備える構成とした。 The access load control device according to claim 2 includes a plurality of servers that distribute pages, and distributes access to the pages requested via a network to the plurality of servers by a load distribution device. In the server load balancing system that responds, the pages delivered by the plurality of servers are not described with respect to the first static page in which the link destination to the dynamic page is described and the link destination to the dynamic page. An access load control device for controlling an access load to the server by switching to any one of the second static pages, comprising a load collection means, a load analysis means, and a delivery page instruction means did.
かかる構成において、アクセス負荷制御装置は、負荷収集手段によって、複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する。そして、アクセス負荷制御装置は、負荷解析手段によって、負荷収集手段で収集した複数のサーバ全体の負荷量と、予め定めた前記複数のサーバ全体の負荷制限値とを比較し、負荷量が負荷制限値以上の場合、第1静的ページを配信する第1サーバの数を所定数減少させるとともに第2静的ページを配信する第2サーバの数を第1サーバの減少数分増加させ、負荷量が負荷制限値未満の場合、第1静的ページを配信する第1サーバの数を所定数増加させるとともに第2静的ページを配信する第2サーバの数を第1サーバの増加数分減少させて、第1サーバの数および第2サーバの数を決定する。
そして、アクセス負荷制御装置は、配信ページ指示手段によって、負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する。
In such a configuration, the access load control device periodically collects a load amount indicating a load state of the server from a plurality of servers by the load collecting means. The access load control device compares the load amounts of the plurality of servers collected by the load collection unit with the load limit values of the plurality of servers determined in advance by the load analysis unit, and the load amount is the load limit. If the value is greater than or equal to the value, the number of first servers that distribute the first static page is decreased by a predetermined number , and the number of second servers that distribute the second static page is increased by the number of decrease of the first server, and the load amount Is less than the load limit value, the number of first servers that distribute the first static page is increased by a predetermined number , and the number of second servers that distribute the second static page is decreased by the increased number of first servers. Thus, the number of first servers and the number of second servers are determined.
Then, the access load control device uses the distribution page instruction means as a first static server as a first server based on the number of first servers and the number of second servers determined by the load analysis means. An instruction to distribute the page or an instruction to distribute the second static page as the second server is notified.
また、請求項3に記載のアクセス負荷制御プログラムは、ページを配信する複数のサーバを備え、ネットワークを介して要求された前記ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答するサーバ負荷分散システムにおいて、前記複数のサーバが配信するページを、動的ページへのリンク先が記述されている第1静的ページと、動的ページへのリンク先が記述されていない第2静的ページとのいずれかに切り換えることで、前記サーバへのアクセス負荷を制御するために、アクセス負荷制御装置のコンピュータを、負荷収集手段、負荷解析手段、配信ページ指示手段として機能させることを特徴とする。 The access load control program according to claim 3 includes a plurality of servers that distribute pages, and distributes access to the pages requested via a network to the plurality of servers by a load balancer. in server load balancing system that responds, a page of the plurality of server delivers a first static page links to dynamic pages is described, not linked to the dynamic page is written first by switching to either of two static pages, to control access load on the server, the computer of the access load controller, the load collecting unit, the load analyzer, to function as a delivery page instructing means Features.
かかる構成において、アクセス負荷制御プログラムは、負荷収集手段によって、複数のサーバから単位時間あたりのアクセス数を収集する。
さらに、アクセス負荷制御プログラムは、負荷解析手段によって、負荷収集手段で収集した複数のサーバ全体の単位時間あたりのアクセス数に基づいて、第1静的ページを配信する第1サーバの数を決定する。
このとき、負荷解析手段は、複数のサーバから収集した複数のサーバ全体の単位時間あたりのアクセス数において、第1静的ページを介して動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた複数のサーバ全体の負荷制限値以下となる第1サーバ数分のアクセス数を算出し、当該第1サーバ数分のアクセス数に応じた負荷量を、第1サーバが使用できる最大負荷量で除算することで、第1サーバの数を決定する。
そして、アクセス負荷制御プログラムは、配信ページ指示手段によって、負荷解析手段で決定した第1サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する。
なお、アクセス負荷制御プログラムは、アクセス負荷制御装置のコンピュータを、複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段、この負荷収集手段で収集した複数のサーバ全体の負荷量と、予め定めた複数のサーバ全体の負荷制限値とを比較し、負荷量が負荷制限値以上の場合、第1静的ページを配信する第1サーバの数を所定数減少させるとともに第2静的ページを配信する第2サーバの数を第1サーバの減少数分増加させ、負荷量が負荷制限値未満の場合、第1静的ページを配信する第1サーバの数を所定数増加させるとともに第2静的ページを配信する第2サーバの数を第1サーバの増加数分減少させて、第1サーバの数および第2サーバの数を決定する負荷解析手段、この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する配信ページ指示手段、として機能させることとしてもよい(請求項4)。
In such a configuration, the access load control program collects the number of accesses per unit time from a plurality of servers by the load collecting means.
Furthermore, the access load control program determines the number of first servers that deliver the first static page based on the number of accesses per unit time of the plurality of servers as a whole collected by the load collection unit by the load analysis unit. .
At this time, the load analyzing means uses a predetermined load amount used for distributing the dynamic page via the first static page in the number of accesses per unit time of the plurality of servers collected from the plurality of servers . The sum of the load amount according to the number of accesses for the number of first servers and the load amount according to the number of accesses for the number of second servers of a predetermined load amount used for delivering the second static page However, the first server can use the load amount corresponding to the number of accesses corresponding to the number of first servers by calculating the number of accesses corresponding to the number of first servers that is equal to or less than the predetermined load limit value of the plurality of servers. The number of first servers is determined by dividing by the maximum load amount.
The access load control program distributes the first static page as a first server to a plurality of servers based on the number of first servers determined by the load analysis unit by the distribution page instruction unit. An instruction or an instruction to distribute the second static page as the second server is notified.
The access load control program causes a computer of the access load control device, a plurality of servers, load collection means for periodically collects load indicating the state of loading of the server, a plurality of collected in this load collecting means The load amount of the entire server is compared with the load limit values of a plurality of predetermined servers. If the load amount is equal to or greater than the load limit value, the number of first servers that deliver the first static page is decreased by a predetermined number. And increasing the number of second servers that deliver the second static page by the number of reductions of the first server, and if the load amount is less than the load limit value, the number of first servers that deliver the first static page is the number of second server reduces the number increased minutes first server that distributes second static pages with increasing predetermined number, the load analyzer means for determining the number of numbers and the second server of the first server, the load Analytical means Based on the determined number of first servers and the number of second servers, an instruction to distribute the first static page as the first server or the second static page as the second server to a plurality of servers. It may be made to function as a delivery page instruction means for notifying an instruction to deliver (claim 4).
さらに、請求項5に記載の投稿受付システムは、投稿を受け付ける動的ページへのリンク先が記述されている第1静的ページと、前記動的ページへのリンク先が記述されていない第2静的ページとのいずれかにを切り換えてを配信する複数のサーバを備え、ネットワークを介して要求された前記動的ページへのアクセスを、負荷分散装置により前記複数のサーバに分配して応答する投稿受付システムであって、前記サーバの負荷を制御するアクセス負荷制御装置を備え、前記アクセス負荷制御装置が、負荷収集手段と、負荷解析手段と、配信ページ指示手段とを備え、前記負荷解析手段が、アクセス数解析手段と、配信サーバ数決定手段とを備える構成とした。 Furthermore, the posting acceptance system according to claim 5 includes a first static page in which a link destination to a dynamic page that accepts posting is described, and a second static page in which a link destination to the dynamic page is not described. A plurality of servers that switch to one of the static pages and distribute the response, and access to the dynamic page requested via the network is distributed to the plurality of servers by the load balancer and responds a post accepting system includes an access load control device for controlling the load of the server, the access load control device comprises a load collecting unit, a load analysis unit, and a distribution page instructing means, the load analysis The means includes an access number analyzing means and a distribution server number determining means .
かかる構成において、投稿受付システムは、アクセス負荷制御装置の負荷収集手段によって、複数のサーバから単位時間あたりのアクセス数を収集する。
さらに、投稿受付システムは、アクセス負荷制御装置の負荷解析手段によって、負荷収集手段で収集した複数のサーバ全体の単位時間あたりのアクセス数に基づいて、第1静的ページを配信する第1サーバの数を決定する。
このとき、投稿受付システムは、負荷解析手段のアクセス数解析手段によって、複数のサーバから収集した複数のサーバ全体の単位時間あたりのアクセス数において、第1静的ページを介して動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた複数のサーバ全体の負荷制限値以下となる第1サーバ数分のアクセス数を算出する。
そして、投稿受付システムは、負荷解析手段の配信サーバ数決定手段によって、アクセス数解析手段で算出された第1サーバ数分のアクセス数に応じた負荷量を、第1サーバが使用できる最大負荷量で除算することで、第1サーバの数を決定する。
In such a configuration, the posting acceptance system collects the number of accesses per unit time from a plurality of servers by the load collection means of the access load control device.
Furthermore, the posting acceptance system includes a first server that distributes the first static page based on the number of accesses per unit time of the entire plurality of servers collected by the load collecting unit by the load analyzing unit of the access load control device. Determine the number.
At this time, the posting acceptance system distributes the dynamic page via the first static page in the number of accesses per unit time of the plurality of servers collected from the plurality of servers by the access number analysis unit of the load analysis unit. A load amount corresponding to the number of accesses corresponding to the number of first servers of a predetermined load amount to be used for the second load and a number of second servers corresponding to a predetermined load amount used for delivering the second static page The number of accesses corresponding to the number of first servers is calculated such that the sum of the load amount according to the number of accesses is equal to or less than a predetermined load limit value for the entire plurality of servers.
Then, the posting acceptance system determines the maximum load amount that the first server can use the load amount corresponding to the number of accesses for the first server number calculated by the access number analyzing unit by the distribution server number determining unit of the load analyzing unit. The number of first servers is determined by dividing by.
そして、投稿受付システムは、アクセス負荷制御装置の配信ページ指示手段によって、負荷解析手段で決定した第1サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する。
これによって、動的ページである投稿を受け付けるページを配信するサーバの数を調整することができる。
なお、投稿受付システムは、アクセス負荷制御装置を、複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段と、この負荷収集手段で収集した複数のサーバ全体の負荷量と、予め定めた複数のサーバ全体の負荷制限値とを比較し、負荷量が負荷制限値以上の場合、第1静的ページを配信する第1サーバの数を所定数減少させるとともに第2静的ページを配信する第2サーバの数を第1サーバの減少数分増加させ、負荷量が負荷制限値未満の場合、第1静的ページを配信する第1サーバの数を所定数増加させるとともに第2静的ページを配信する第2サーバの数を第1サーバの増加数分減少させて、第1サーバの数および第2サーバの数を決定する負荷解析手段と、この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、複数のサーバに対して、第1サーバとして第1静的ページを配信する旨の指示または第2サーバとして第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、を備える構成としてもよい(請求項6)。
Then, the posting acceptance system provides the first static page as the first server to a plurality of servers based on the number of first servers determined by the load analysis means by the distribution page instruction means of the access load control device. An instruction to distribute or an instruction to distribute the second static page as the second server is notified.
As a result, the number of servers that distribute pages that accept posts that are dynamic pages can be adjusted.
Incidentally, post accepting system, the access load control device, a plurality of servers, across multiple servers and load collecting unit, collected in the load collection means for periodically collects load indicating the state of loading of the server When the load amount is equal to or greater than the load limit value, the number of first servers that distribute the first static page is decreased by a predetermined number. When the number of second servers that distribute the second static page is increased by the number of decrease of the first server and the load amount is less than the load limit value, the predetermined number of the first servers that distribute the first static page Load analysis means for determining the number of first servers and the number of second servers by increasing the number of second servers that distribute the second static page and decreasing the number of first servers, and the load analysis First server determined by means Based on the number and the number of second servers, an instruction to distribute the first static page as the first server or an instruction to distribute the second static page as the second server to a plurality of servers It is good also as a structure provided with the delivery page instruction | indication means to notify (Claim 6).
本発明は、以下に示す優れた効果を奏するものである。
請求項1〜4に記載の発明によれば、サーバ負荷分散システムに対して、アクセスが集中した場合であっても、動的ページへのリンク先が記述されている静的ページを配信するサーバの数を少なくすることで、システム内におけるサーバ全体の負荷を抑えることができ、システムダウンを防止することができる。また、本発明によれば、アクセス数が減少した場合は、動的ページへのリンク先が記述されている静的ページを配信するサーバの数を増やすことで、アクセス数に応じた動的ページの配信を行わせることが可能になる。さらに、本発明によれば、サーバ負荷分散システムにアクセスが集中する場合であっても、動的ページを配信するサーバの数を調整することができるため、サーバの設置台数を抑えることができる。
The present invention has the following excellent effects.
According to the first to fourth aspects of the present invention, a server that distributes a static page in which a link destination to a dynamic page is described even when access is concentrated to the server load balancing system. By reducing the number of servers, it is possible to suppress the load on the entire server in the system and to prevent the system from going down. Further, according to the present invention, when the number of accesses decreases, the number of servers that deliver static pages in which links to dynamic pages are described is increased, so that the dynamic pages according to the number of accesses Can be delivered. Furthermore, according to the present invention, even when access is concentrated in the server load distribution system, the number of servers that distribute dynamic pages can be adjusted, so that the number of installed servers can be suppressed.
請求項1,3に記載の発明によれば、負荷量に基づいて、動的ページへのリンク先が記述されている第1の静的ページを配信するサーバの数や、動的ページへのリンク先が記述されていない第2の静的ページを配信するサーバの数を決定するため、複数のサーバに対して、いずれか一方のサーバへの移行指示を一度に通知することができ、アクセス数の急激な変化に柔軟に対応することができる。 According to the first and third aspects of the invention, based on the load amount, the number of servers that deliver the first static page in which the link destination to the dynamic page is described, In order to determine the number of servers that deliver the second static page for which the link destination is not described, it is possible to notify a plurality of servers of a transition instruction to one of the servers at a time, and access It can respond flexibly to sudden changes in numbers.
請求項2,4に記載の発明によれば、負荷収集手段で収集した負荷量と、システム内におけるサーバ全体の負荷制限値とに基づいて、システムが過負荷であるか否かを判定する簡単な構成であるため、その判定結果に基づく、サーバへの切り替え指示を素早く行うことができる。 According to the second and fourth aspects of the invention, it is easy to determine whether the system is overloaded based on the load amount collected by the load collecting means and the load limit value of the entire server in the system. Therefore, it is possible to promptly switch to the server based on the determination result.
請求項5,6に記載の発明によれば、投稿を受け付ける際に、一度にアクセスが集中した場合であっても、投稿を受け付けるページにアクセス可能なサーバの数を少なくすることで、システム内におけるサーバ全体の負荷を抑えることができ、システムダウンを防止することができる。また、本発明によれば、アクセス数が減少した場合は、投稿を受け付けるページにアクセス可能なサーバの数を増やすことで、アクセス数に応じて投稿を受け付けることが可能になる。さらに、本発明によれば、投稿受付システムにアクセスが集中する場合であっても、投稿を受け付けるサーバの数を調整することができるため、サーバの設置台数を抑えることができる。 According to the fifth and sixth aspects of the present invention, even when access is concentrated at one time when accepting a post, the number of servers that can access a page that accepts a post is reduced. It is possible to reduce the load on the entire server and to prevent the system from going down. Further, according to the present invention, when the number of accesses decreases, it is possible to accept posts according to the number of accesses by increasing the number of servers that can access pages that accept posts. Furthermore, according to the present invention, the number of servers installed can be suppressed because the number of servers that accept posts can be adjusted even when access concentrates on the posting acceptance system.
以下、本発明の実施の形態について図面を参照して説明する。
[投稿受付システム(サーバ負荷分散システム)の構成]
最初に、図1を参照して、本発明に係るアクセス負荷制御装置を含む投稿受付システム(サーバ負荷分散システム)の構成について説明を行う。図1は、投稿受付システムの構成を示すブロック図である。この投稿受付システムSは、インターネットを介して、放送番組を視聴している視聴者からの投稿を受け付けるものである。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Configuration of the submission acceptance system (server load balancing system)]
First, with reference to FIG. 1, the configuration of a posting acceptance system (server load distribution system) including an access load control device according to the present invention will be described. FIG. 1 is a block diagram showing the configuration of the posting acceptance system. The posting acceptance system S accepts postings from viewers who are watching broadcast programs via the Internet.
図1に示すように、投稿受付システムSは、複数のサーバ10(101,102,…,10n)と、ページ情報記憶装置20と、負荷分散装置30と、アクセス負荷制御装置40とを備えている。なお、投稿受付システムSは、インターネット等のネットワークNを介して、デジタルテレビ受信機501、パーソナルコンピュータ502、携帯電話503等の端末50からの要求(投稿)を受け付ける。
As shown in FIG. 1, the posting acceptance system S includes a plurality of servers 10 (10 1 , 10 2 ,..., 10 n ), a page
サーバ10は、ネットワークNを介して、端末50からの要求を受け付けるとともに、Webページを配信するWebサーバである。このサーバ10は、端末50からアクセスがあった場合、投稿を受け付けるための複数のWebページを配信する。
また、サーバ10は、負荷量(例えば、端末50からの単位時間当たりのアクセス数、CPU使用率等)を、負荷分散装置30とアクセス負荷制御装置40に通知する。そして、サーバ10は、アクセス負荷制御装置40から指示されたWebページ(後記する投稿予告ページまたは投稿募集ページ)を、端末50からアクセスがあった際に配信する。
The
Further, the
ここで、図2を参照(適宜図1参照)して、サーバ10が配信するWebページについて説明する。図2は、サーバが配信するWebページの内容を説明するための説明図である。
ここでは、サーバ10は、端末50からの最初のアクセスに対し、投稿予告ページ(図2(a))、または、投稿受付ページへのリンク先を記述した投稿募集ページ(図2(b))のいずれかを配信することとする。
Here, the Web page distributed by the
Here, for the first access from the terminal 50, the
ここで、投稿予告ページは、図2(a)に示すように、投稿開始の日時等の予告を記述したWebページである。この投稿予告ページは、HTML等の言語で記述され、単に情報の提示のみを行う静的ページ(第2の静的ページ)である。
また、投稿募集ページは、図2(b)に示すように、HTML等の言語で記述された静的ページ(第1の静的ページ)であって、投稿を受け付ける投稿受付ページへのリンク先が記述されている。
なお、この投稿予告ページおよび投稿募集ページは、同一のアドレスであって、各サーバ10が、アクセス負荷制御装置40からの指示に基づいて、いずれか一方のページを配信する。
Here, as shown in FIG. 2A, the posting notice page is a Web page describing a notice such as the date and time of posting start. This posting notice page is a static page (second static page) that is described in a language such as HTML and that simply presents information.
In addition, as shown in FIG. 2B, the posting recruitment page is a static page (first static page) described in a language such as HTML, and is a link destination to a posting acceptance page that accepts postings. Is described.
The posting notice page and the posting solicitation page have the same address, and each
また、投稿受付ページは、図2(c)に示すように、投稿募集ページにリンクが張られており、例えば、投稿募集ページの「送信ボタン」をマウス等で押下されることで起動される。この投稿受付ページは、CGI(Common Gateway Interface)、java(登録商標)等で記述され、外部プログラムを起動させることで、端末50からのデータ入力やその応答を行う動的なページである。図2では、投稿受付ページは、「送信ボタン」が押下されてから、投稿欄等に記載されている内容を受信して、投稿完了ページ(図2(d))を表示するまでの動作を行うこととしている。 Further, as shown in FIG. 2C, the posting acceptance page is linked to the posting solicitation page, and is activated, for example, by pressing a “send button” on the posting solicitation page with a mouse or the like. . This posting acceptance page is a dynamic page that is described in CGI (Common Gateway Interface), Java (registered trademark), and the like, and inputs data from the terminal 50 and responds to it by starting an external program. In FIG. 2, the posting acceptance page is the operation from when the “Send button” is pressed until the content described in the posting column etc. is received and the posting completion page (FIG. 2 (d)) is displayed. To do.
以降では、投稿予告ページの配信を指示されたサーバを「投稿予告サーバ」、投稿募集ページの配信を指示されたサーバを「投稿募集サーバ」と呼ぶこととする。
図1に戻って、投稿受付システムSの構成について説明を続ける。
Hereinafter, the server instructed to deliver the posting notice page will be referred to as “post notice server”, and the server instructed to deliver the contribution solicitation page will be referred to as “post recruiting server”.
Returning to FIG. 1, the description of the configuration of the posting acceptance system S will be continued.
ページ情報記憶装置20は、サーバ10がWebページを配信する際のページ情報を記憶しておくものであって、ハードディスク等の一般的な記憶装置である。ここで、ページ情報とは、HTML等で記述された静的なWebページ、CGI等で記述された動的なWebページである。なお、ページ情報記憶装置20は、視聴者から投稿された情報を記憶しておくものでもある。
The page
負荷分散装置30は、端末50からのアクセスを、サーバ10(101,102,…,10n)に分配するものである。この負荷分散装置30は、一般的なロードバランサであって、通信系統の一方をネットワークNに接続し、他方をサーバ10(101,102,…,10n)が接続されているローカルなネットワークに接続し、端末50からのアクセスを順次サーバ10(101,102,…,10n)に分配する。なお、負荷分散装置30は、サーバ10から通知される負荷量に応じて、端末50からのアクセスを各サーバ10に分配するものであってもよい。
The
アクセス負荷制御装置40は、サーバ10の負荷状況に基づいて、各サーバ10が配信するWebページを決定し、各サーバ10の負荷を調整するものである。
通常、動的なページである投稿受付ページの動作は、静的なページの配信に比べて、サーバ10にかかる負荷が大きい。そこで、アクセス負荷制御装置40は、サーバ10(101,102,…,10n)全体にかかる負荷が大きい場合は、動的な投稿受付ページへのリンク先を記述した投稿募集ページを配信する投稿募集サーバの数を制限し、他のサーバが投稿受付ページへのリンク先を記述していない静的な投稿予告ページを配信する投稿予告サーバとなるように制御する。そして、アクセス負荷制御装置40は、サーバ10(101,102,…,10n)全体にかかる負荷が小さくなるにつれて、投稿募集サーバの数を増やすように制御する。
The access
Usually, the operation of the posting acceptance page, which is a dynamic page, places a greater load on the
これによって、投稿受付システムSは、一時的にサーバ10にアクセスが集中した場合であっても、システム全体として処理可能なWebページを配信することができ、ページング等による急激に応答時間が長くなってしまう状態を回避することができる。
このように、投稿受付システムSは、確実に投稿を受け付けるサーバ10を確保することができるため、生放送中に投稿を受け付ける場合であっても、遅滞なく、一定量の投稿を確保することができ、番組進行に支障を与えることがない。
As a result, the posting acceptance system S can deliver a Web page that can be processed as a whole system even when access is temporarily concentrated on the
Thus, since the posting acceptance system S can secure the
[投稿受付システム(サーバ負荷分散システム)の動作]
次に、図3を参照(適宜図1参照)して、本発明に係るアクセス負荷制御装置を含む投稿受付システム(サーバ負荷分散システム)の動作概要について説明を行う。図3は、投稿受付システムの動作概要を説明するためのシーケンス図である。
[Operation of submission acceptance system (server load balancing system)]
Next, referring to FIG. 3 (refer to FIG. 1 as appropriate), an outline of the operation of the posting acceptance system (server load distribution system) including the access load control apparatus according to the present invention will be described. FIG. 3 is a sequence diagram for explaining the outline of the operation of the posting acceptance system.
まず、投稿受付システムSは、番組を放送する放送局(操作担当者)からの指示(あるいは予め定めた時刻)に基づいて、アクセス負荷制御装置40によって、予め定めた初期台数分のサーバ(ここでは、サーバ101とする)に対して、配信するWebページを、投稿募集ページとする旨の指示(投稿募集サーバへの移行指示)を通知する(ステップS1)。また、投稿受付システムSは、ステップS1で通知したサーバ以外のサーバ(ここでは、サーバ102とする)に対して、配信するWebページを、投稿予告ページとするする旨の指示(投稿予告サーバへの移行指示)を通知する(ステップS2)。
First, the posting acceptance system S uses a predetermined initial number of servers (here) by the access
その後、サーバ101は、ページ情報記憶装置20から、投稿募集ページのページ情報を取得する(ステップS3)。また、サーバ102は、ページ情報記憶装置20から、投稿予告ページのページ情報を取得する(ステップS4)。
Thereafter, the
ここで、放送局から放送を介して、投稿が呼びかけられたとする(ステップS5)。
すると、視聴者側の端末501から、投稿を行うためのページ要求が、インターネットを介して、負荷分散装置30を通してサーバ101に送信される(ステップS6)。そして、サーバ101が投稿募集ページを端末501に配信し(ステップS7)、端末501において視聴者が投稿を入力することで、その投稿内容が、サーバ101に送信される(ステップS8)。
このとき、他の端末502から、投稿を行うためのページ要求がサーバ102に要求されると(ステップS9)、サーバ102が投稿予告ページを端末502に配信する(ステップS10)。
なお、端末50(501、502)から要求がある間、アクセス負荷制御装置40は、各サーバ101,102の負荷状態を監視する(ステップS11)。
Here, it is assumed that a posting is called from a broadcasting station via broadcasting (step S5).
Then, the
At this time, from another terminal 50 2, a page request for performing post is required to the server 10 2 (step S9), and the
While there is a request from the terminal 50 (50 1 , 50 2 ), the access
その後、アクセス負荷制御装置40が、各サーバ101,102にかかる負荷が小さくなるにつれて、投稿予告サーバとなっているサーバ102に対して、配信するWebページを、投稿予告ページから投稿募集ページに更新する旨の指示(投稿募集サーバへの移行指示)を通知する(ステップS12)。
その後、サーバ102は、ページ情報記憶装置20から、投稿募集ページのページ情報を取得することで投稿募集サーバへ移行する(ステップS13)。
Thereafter, the access
Thereafter, the
以上説明したように、投稿受付システムSは、各サーバ10にかかる負荷の状態に応じて、投稿を受け付けるサーバの数を増減させることで、サーバ全体が過負荷とならないように制御しながら動作する。
以下、本発明に係るアクセス負荷制御装置について、その構成および動作について詳述する。
As described above, the posting acceptance system S operates while controlling so that the entire server is not overloaded by increasing or decreasing the number of servers that accept postings according to the state of the load on each
Hereinafter, the configuration and operation of the access load control apparatus according to the present invention will be described in detail.
[アクセス負荷制御装置の構成:第1実施形態]
まず、図4を参照して、アクセス負荷制御装置40の構成について説明する。図4は、本発明の第1実施形態に係るアクセス負荷制御装置の構成を示すブロック図である。
図4に示すように、アクセス負荷制御装置40は、通信制御手段41と、記憶手段42と、負荷収集手段43と、負荷解析手段44と、配信ページ指示手段45と、終了判定手段46とを備えている。
[Configuration of Access Load Control Device: First Embodiment]
First, the configuration of the access
As shown in FIG. 4, the access
通信制御手段41は、サーバ10に負荷量の通知を要求する指示や、どのWebページを配信するのかを示す指示を送信したり、サーバ10から負荷量を受信したりするものである。
The
記憶手段42は、負荷状態を解析するために必要となる種々の負荷関連情報を記憶するものであって、ハードディスク等の一般的な記憶装置である。
ここでは、記憶手段42には、各サーバ10に対して、どのWebページの配信を指示しているのか示す配信指示情報を記憶しておく。なお、ここでいうWebページは、投稿予告ページおよび投稿募集ページである。
The storage means 42 stores various load-related information necessary for analyzing the load state, and is a general storage device such as a hard disk.
Here, the storage means 42 stores distribution instruction information indicating which Web page is instructed to be delivered to each
また、記憶手段42には、サーバ10(101,102,…,10n)全体の負荷の制限値である負荷制限値を記憶しておく。例えば、サーバ10が使用できる最大のCPU使用率を、サーバ10の台数分だけ合計した値を負荷制限値として記憶しておく。もちろん、この負荷制限値は、CPU使用率のみならず、メモリ使用量等、負荷の指標となるものであればよい。
さらに、記憶手段42には、サーバ10(101,102,…,10n)が、Webページを配信する際にかかる負荷量(配信負荷量)を記憶しておく。例えば、予め各サーバ10が、投稿予告ページを配信する際にかかる負荷量や、投稿募集ページを配信し、投稿受付ページが動作する際にかかる負荷量を配信負荷量として記憶しておく。この配信負荷量は、例えば、CPU使用量、メモリ使用量等である。
The storage means 42 stores a load limit value that is a limit value of the load of the entire server 10 (10 1 , 10 2 ,..., 10 n ). For example, a value obtained by totaling the maximum CPU usage rate that can be used by the
Further, the storage means 42 stores a load amount (distribution load amount) applied when the server 10 (10 1 , 10 2 ,..., 10 n ) distributes the Web page. For example, each
負荷収集手段43は、通信制御手段41を介して、サーバ10(101,102,…,10n)の現時点における負荷の状態を示す負荷量(動作負荷量)を収集するものである。この負荷収集手段43は、動作負荷量として、単位時間あたりのアクセス数を収集するものとする。
ここでは、負荷収集手段43は、定期的(例えば、1秒間隔)に、各サーバ10に動作負荷量の通知を要求し、各サーバ10から動作負荷量を収集する。この収集した動作負荷量は、負荷解析手段44に出力される。
The
Here, the
負荷解析手段44は、負荷収集手段43で収集した負荷量(動作負荷量)に基づいて、各サーバ10の負荷状態を解析し、各サーバ10において、投稿予告ページまたは投稿募集ページのいずれを配信するのかを制御するものである。ここでは、負荷解析手段44は、アクセス数解析手段44aと、配信サーバ数決定手段44bとを備えている。
The
アクセス数解析手段44aは、単位時間あたりのアクセス数に基づいて、サーバ10全体で過負荷とならない投稿予告サーバと投稿募集サーバとのアクセス数の割合を算出するものである。なお、アクセス数解析手段44aは、サーバ10全体で過負荷とならない範囲で最大の投稿募集ページを配信するように、アクセス数の割合を算出する。
The number-of-access analysis means 44a calculates the ratio of the number of accesses between the posting notice server and the posting recruitment server that do not overload the
ここで、アクセス数解析手段44aにおけるアクセス数の割合を算出する手法について、数式を用いて具体的に説明する。
なお、ここでは、説明を簡略化するため、すべてのサーバ10は同一性能であるとし、現時点におけるシステム全体のアクセス数をP件、サーバ10の数をn台、サーバ10が投稿募集ページ(投稿受付ページを含む)を配信するために使用するCPU使用率をUA%、投稿予告ページを配信するために使用するCPU使用率をUB%、1台のサーバ10が使用できる最大のCPU使用率をUMAX%とする。
ここで、アクセス数に対して投稿受付ページを配信する件数をk件とすると、サーバ10全体が過負荷にならない条件として、CPU使用率[%]に関して、以下の(1)式を満たせばよいことになる。
k×UA+(P−k)×UB≦UMAX×n …(1)
Here, the method of calculating the ratio of the number of accesses in the access number analyzing means 44a will be specifically described using mathematical expressions.
Here, in order to simplify the explanation, it is assumed that all
Here, when the number of posting acceptance pages distributed to the number of accesses is k, as a condition that the
k × U A + (P−k) × U B ≦ U MAX × n (1)
例えば、アクセス数(P)を2000件、サーバ10の数(n)を10台、サーバ10が投稿募集ページ(投稿受付ページを含む)を配信するために使用するCPU使用率(UA)を2%、投稿予告ページを配信するために使用するCPU使用率(UB)を0.2%、1台のサーバ10がページを配信するために使用できる最大のCPU使用率(UMAX)を80%とすると、前記(1)式より、投稿募集ページを配信する件数(k)は、以下の(2)式を満たせばよい。
k≦222 …(2)
For example, the number of accesses (P) is 2000, the number (n) of the
k ≦ 222 (2)
この場合、2000件を10台のサーバ10で処理することから、1台のサーバ10の平均処理件数は、200件/台となる。よって、この200件の内訳は、22.2件(=200×222/2000)を投稿募集ページ(投稿受付ページを含む)で、残りの177.8件を投稿予告ページで処理すればよい。このように算出されたアクセス数の割合は、配信サーバ数決定手段44bに出力される。
なお、ここでは、一例として、CPU使用率を負荷量として使用したが、サーバ10の負荷を計測可能な量であれば、CPU使用率に限定されるものではなく、例えば、メモリ使用量、プロセス実行時間等、あるいはそれらの組み合わせ(加重平均等)を使用してもよい。
In this case, since 2,000 cases are processed by ten
Here, as an example, the CPU usage rate is used as the load amount. However, the CPU usage rate is not limited to the CPU usage rate as long as the load of the
配信サーバ数決定手段44bは、アクセス数解析手段44aで算出された投稿募集サーバと、投稿予告サーバとのアクセス数の割合に基づいて、投稿募集サーバと、投稿予告サーバの数を決定するものである。
The distribution server
ここで、配信サーバ数決定手段44bにおける投稿募集サーバと、投稿予告サーバの数を算出する手法について、数式を用いて具体的に説明する。
また、ここでは前記同様、サーバ10の数をn台、サーバ10が投稿募集ページ(投稿受付ページを含む)を配信するために使用するCPU使用率をUA%、1台のサーバ10が使用できる最大のCPU使用率をUMAX%とする。このとき、配信サーバ数決定手段44bは、アクセス数解析手段44aにおいて投稿募集サーバへのアクセス数がkAと算出されたとき、投稿募集サーバの数XAおよび投稿予告サーバの数XBを、以下の(3)式および(4)式により算出する。
XA=UA×kA/UMAX …(3)
XB=n−XA …(4)
Here, a method for calculating the number of posting recruitment servers and posting notice servers in the distribution server
Further, here, similarly to the above, the number of
X A = U A × k A / U MAX (3)
X B = n−X A (4)
例えば、サーバ10の数(n)を10台、サーバ10が投稿募集ページを配信するために使用するCPU使用率(UA)を2%、1台のサーバ10がページを配信するために使用できる最大のCPU使用率(UMAX)を80%、投稿募集ページを配信するサーバへのアクセス数(kA)を222件とすると、前記(3)式および(4)式より、投稿募集サーバの数(XA)は5台、投稿予告サーバの数(XB)は5台となる。
この配信サーバ数決定手段44bで決定された投稿募集ページまたは投稿予告ページを配信するサーバの数は、配信ページ指示手段45に出力される。なお、投稿予告サーバの数は、投稿募集サーバの数が決まれば、一意に決まるものであるため、配信サーバ数決定手段44bは、投稿募集サーバの数のみを算出することとしてもよい。
For example, ten number (n) of the
The number of servers that distribute the posting solicitation page or posting notice page determined by the distribution server number determining means 44 b is output to the distribution page instruction means 45. Since the number of posting notice servers is uniquely determined when the number of posting recruitment servers is determined, the distribution server
配信ページ指示手段45は、各サーバ10に対して、配信するWebページの更新を指示するものである。なお、配信ページ指示手段45から、各サーバ10への指示は、通信制御手段41を介して、各サーバ10に送信される。
具体的には、配信ページ指示手段45は、負荷解析手段44の配信サーバ数決定手段44bで決定された投稿募集サーバの数が、記憶手段42に配信指示情報として記憶されている現在の投稿募集サーバの数よりも少ない場合、その差分の数だけ、投稿募集サーバに対して、投稿予告ページを配信する旨の指示(投稿予告サーバへの移行指示)を送信する。
一方、配信ページ指示手段45は、負荷解析手段44の配信サーバ数決定手段44bで決定された投稿募集サーバの数が、現在の投稿募集サーバの数よりも多い場合、その差分の数だけ、投稿予告サーバに対して、投稿募集ページを配信する旨の指示(投稿募集サーバへの移行指示)を送信する。
The distribution page instruction means 45 instructs each
Specifically, the distribution
On the other hand, when the number of posting recruitment servers determined by the distribution server
これによって、配信サーバ数決定手段44bで決定された投稿募集サーバおよび投稿予告サーバの数だけ稼動することになる。このとき、配信ページ指示手段45は、新たに稼動した投稿募集サーバおよび投稿予告サーバの数を、記憶手段42に記憶しておく。
なお、配信ページ指示手段45は、初期状態においては、予め各サーバ10に対して、投稿予告ページを配信する旨の指示(投稿予告サーバへの移行指示)を送信しておき、放送番組等で投稿を呼びかけたタイミングで外部から入力される指示、あるいは予め定めた時刻に基づいて、各サーバに、順次、投稿募集サーバへの移行指示を送信する。
As a result, the number of posting recruitment servers and posting notice servers determined by the distribution server number determination means 44b are operated. At this time, the distribution
In the initial state, the distribution page instructing means 45 transmits an instruction to distribute the posting notice page (instruction to shift to the posting notice server) to each
このとき、配信ページ指示手段45は、初期値として、投稿募集サーバの数を少なく(例えば、1台)設定しておく。その後、配信ページ指示手段45は、負荷解析手段44から出力される投稿募集サーバと、投稿予告サーバとの割合に基づいて、投稿募集サーバおよび投稿予告サーバの数を制御する。
また、ここでは、配信ページ指示手段45は、各サーバ10に対して、配信するWebページの更新を指示した段階で、終了判定手段46に通知を行う。
At this time, the delivery page instruction means 45 sets a small number (for example, one) of posting recruitment servers as an initial value. Thereafter, the distribution page instruction means 45 controls the number of contribution solicitation servers and contribution notice servers based on the ratio between the contribution solicitation server output from the load analysis means 44 and the contribution notice server.
Also, here, the distribution page instruction means 45 notifies the end determination means 46 at the stage where each
終了判定手段46は、当該アクセス負荷制御装置40の動作を終了するか否かを判定するものである。ここでは、終了判定手段46は、配信ページ指示手段45から、各サーバ10のWebページが更新された旨が通知されることで、すべてのサーバ10が投稿募集サーバになったことを検出する。そして、終了判定手段46は、図示を省略したタイマによって時間を計測し、予め定めた時間を経過した段階で、動作を終了する。
ここで、動作の終了とは、負荷収集手段43における負荷の収集を終了することとしてもよいし、アクセス負荷制御装置40の電源断等によって装置全体の動作を終了することとしてもよい。
The end determination means 46 determines whether or not to end the operation of the access
Here, the end of the operation may be the end of the load collection in the
なお、すべてのサーバ10が投稿募集サーバに移行した後に、あるサーバ10が投稿予告サーバに移行した旨の通知があった場合、終了判定手段46は、タイマを停止させるものとする。これによって、再度アクセスが増加する場合、アクセス負荷制御装置40の動作を継続させることができる。
このようにアクセス負荷制御装置40を構成することで、サーバ10へのアクセスがピークのときは、負荷が軽い投稿予告サーバを多く稼働させ、アクセスが平常状態に移行するにつれて、投稿募集サーバの数を増やすことが可能になる。
If there is a notification that a
By configuring the access
以上、アクセス負荷制御装置40の構成について説明したが、アクセス負荷制御装置40は、一般的なコンピュータを前記した各手段として機能させるアクセス負荷制御プログラムによって動作させることができる。
また、ここでは、アクセス負荷制御装置40を、個別の装置として構成したが、負荷分散装置30内部に組み込む構成としてもよい。その場合、アクセス負荷制御装置40の通信制御手段41は、負荷分散装置30内部の通信制御手段を使用することになる。
また、ここでは、アクセス負荷制御装置40に終了判定手段46を備える構成としたが、終了判定手段46を省いて構成しても構わない。
Although the configuration of the access
Here, the access
In addition, here, the access
[アクセス負荷制御装置の動作:第1実施形態]
次に、図5を参照(適宜図4参照)して、アクセス負荷制御装置40の動作について詳細に説明する。図5は、本発明の第1実施形態に係るアクセス負荷制御装置の動作を示すフローチャートである。
[Operation of Access Load Control Device: First Embodiment]
Next, the operation of the access
(負荷収集ステップ)
まず、アクセス負荷制御装置40は、配信ページ指示手段45によって、各サーバ10に対して、投稿募集サーバへの移行指示または投稿予告サーバへの移行指示(サーバの種別)を送信する(ステップS20)。なお、投稿募集サーバとなるサーバ10の数は予め定められているものとする。例えば、初期値として1台を投稿募集サーバとする。
そして、アクセス負荷制御装置40は、負荷収集手段43によって、各サーバ10から、負荷量を収集する(ステップS21)。
(Load collection step)
First, the access
Then, the access
(配信サーバ数決定ステップ)
その後、アクセス負荷制御装置40は、負荷解析手段44のアクセス数解析手段44aによって、各サーバ10の負荷量である単位時間あたりのアクセス数に基づいて、更新すべき投稿募集サーバと投稿予告サーバとのアクセス数の割合を算出する(ステップS22)。
そして、アクセス負荷制御装置40は、負荷解析手段44の配信サーバ数決定手段44bによって、投稿募集サーバと投稿予告サーバとのアクセス数の割合に基づいて、投稿募集サーバ(または投稿予告サーバ)の数を決定する(ステップS23)。
(Delivery server number determination step)
Thereafter, the access
Then, the access
(配信ページ指示ステップ)
ここで、アクセス負荷制御装置40は、配信ページ指示手段45によって、ステップS23で決定された投稿募集サーバの数と、現在の投稿募集サーバの数とを比較する(ステップS24)。
そして、現在の投稿募集サーバの数がステップS23で決定された投稿募集サーバの数より多い場合(ステップS24で「多い」)、アクセス負荷制御装置40は、配信ページ指示手段45によって、その差分の数だけ、投稿募集サーバに対して、投稿予告サーバへの移行指示を送信し(ステップS25)、ステップS27に進む。
(Distribution page instruction step)
Here, the access
When the current number of posting recruitment servers is larger than the number of posting recruitment servers determined in step S23 (“large” in step S24), the access
一方、現在の投稿募集サーバの数がステップS23で決定された投稿募集サーバの数より少ない場合(ステップS24で「少ない」)、アクセス負荷制御装置40は、配信ページ指示手段45によって、その差分の数だけ、投稿予告サーバに対して、投稿募集サーバへの移行指示を送信し(ステップS26)、ステップS27に進む。
On the other hand, when the current number of posting recruitment servers is smaller than the number of posting recruitment servers determined in step S23 (“less” in step S24), the access
なお、ステップS23で決定された投稿募集サーバの数と、現在の投稿募集サーバの数とが同数である場合(ステップS24で「同じ」)、アクセス負荷制御装置40は、そのままステップS27に進む。
そして、アクセス負荷制御装置40は、終了判定手段46によって、すべてのサーバ10が投稿募集サーバに移行し、かつ、一定時間経過したか否かを判定する(ステップS27)。
If the number of posting recruitment servers determined in step S23 is the same as the current number of posting recruitment servers (“same” in step S24), the access
Then, the access
ここで、すべてのサーバ10が投稿募集サーバに移行していない場合(ステップS27でNo)、アクセス負荷制御装置40は、ステップS21に戻って動作を継続する。
一方、すべてのサーバ10が投稿募集サーバに移行し、かつ、一定時間経過した場合(ステップS27でYes)、アクセス負荷制御装置40は、動作を終了する。
以上の動作によって、アクセス負荷制御装置40は、各サーバ10にかかる負荷の状態に応じて、投稿を受け付けるサーバの数を増減させることで、サーバ10全体が過負荷とならないように制御することができる。
Here, when all the
On the other hand, when all the
With the above operation, the access
[アクセス負荷制御装置の構成:第2実施形態]
次に、図6を参照して、アクセス負荷制御装置40Bの他の構成について説明する。図6は、本発明の第2実施形態に係るアクセス負荷制御装置の構成を示すブロック図である。
図6に示すように、アクセス負荷制御装置40Bは、通信制御手段41と、記憶手段42と、負荷収集手段43Bと、負荷解析手段44Bと、配信ページ指示手段45と、終了判定手段46とを備えている。負荷収集手段43Bおよび負荷解析手段44B以外の構成については、図4で説明したアクセス負荷制御装置40と同一のものであるため、同一の符号を付し説明を省略する。
[Configuration of Access Load Control Device: Second Embodiment]
Next, another configuration of the access
As shown in FIG. 6, the access
なお、アクセス負荷制御装置40(図4)は、アクセス状況に基づいて、投稿募集サーバへ移行するサーバ10の数を算出し、その数に基づいて、投稿募集サーバへの移行指示を行ったが、アクセス負荷制御装置40Bは、1台ずつ移行させる点のみが異なっている。
以下、アクセス負荷制御装置40(図4)と異なる負荷収集手段43Bおよび負荷解析手段44Bについて説明する。
The access load control device 40 (FIG. 4) calculates the number of
Hereinafter, the load collection means 43B and the load analysis means 44B different from the access load control device 40 (FIG. 4) will be described.
負荷収集手段43Bは、通信制御手段41を介して、サーバ10(101,102,…,10n)の現時点における負荷の状態を示す負荷量(動作負荷量)を収集するものである。この負荷収集手段43Bは、動作負荷量として、CPU使用量等のサーバ10の負荷量を収集するものとする。
ここでは、負荷収集手段43Bは、定期的(例えば、1秒間隔)に、各サーバ10に動作負荷量を要求し、各サーバ10から動作負荷量を収集する。この収集した動作負荷量は、負荷解析手段44Bに出力される。
The
Here, the
負荷解析手段44Bは、負荷収集手段43Bで収集した負荷量(動作負荷量)に基づいて、サーバ10全体の負荷状態を解析し、各サーバ10において、投稿予告ページまたは投稿募集ページのいずれを配信するのかを制御するものである。ここでは、負荷解析手段44Bは、負荷判定手段44cを備えている。
The
負荷判定手段44cは、負荷収集手段43Bで収集された負荷量(動作負荷量)が、予め定めたサーバ10全体の負荷制限値を超過するか否かを判定するものである。この負荷判定手段44cで判定された判定結果(負荷制限値未満、負荷制限値以上)は、配信ページ指示手段45に出力される。
例えば、負荷判定手段44cは、サーバ10の数をn台、各サーバ10の現在のCPU使用率をU1、U2,…,Un%、サーバ10全体の負荷制限値(CPU使用率の制限)をUnmax%としたとき、以下の(5)式の場合に負荷制限値を超過したと判定し、(6)式の場合には、まだ、負荷制限値に達していないと判定する。
The
For example, the
そして、負荷解析手段44Bは、負荷判定手段44cの判定結果が負荷制限値未満の場合、投稿募集サーバの数を現在の数よりも多く設定する。例えば、投稿募集サーバの数を1台分増加させる。
一方、判定結果が負荷制限値以上の場合、負荷解析手段44Bは、投稿募集サーバの数を現在の数よりも少なく設定する。例えば、投稿募集サーバの数を1台分減少させる。すなわち、投稿予告サーバの数を1台分増加させる。
この負荷解析手段44Bで設定された投稿募集サーバの数は、配信ページ指示手段45に出力される。
このようにアクセス負荷制御装置40を構成することで、サーバ10へのアクセスがピークのときは、負荷の軽い投稿予告サーバを多く稼働させ、アクセスが平常状態に移行するにつれて、投稿募集サーバの数を増やすことが可能になる。
Then, when the determination result of the
On the other hand, when the determination result is equal to or greater than the load limit value, the
The number of posting recruitment servers set by the
By configuring the access
[アクセス負荷制御装置の動作:第2実施形態]
次に、図7を参照(適宜図6参照)して、アクセス負荷制御装置40Bの動作について詳細に説明する。図7は、本発明の第2実施形態に係るアクセス負荷制御装置の動作を示すフローチャートである。
まず、アクセス負荷制御装置40Bは、配信ページ指示手段45によって、各サーバ10に対して、投稿募集サーバへの移行指示または投稿予告サーバへの移行指示(サーバの種別)を送信する(ステップS30)。なお、投稿募集サーバとなるサーバ10の数は予め定められているものとする。例えば、初期値として1台を投稿募集サーバとする。
そして、アクセス負荷制御装置40Bは、負荷収集手段43Bによって、各サーバ10から、負荷量を収集する(ステップS31)。
[Operation of Access Load Control Device: Second Embodiment]
Next, the operation of the access
First, the access
Then, the access
ここで、負荷収集手段43Bの負荷判定手段44cが、ステップS31で収集した負荷量(動作負荷量)が予め定めたサーバ全体の負荷制限値を超過するか否かを判定する(ステップS32)。
そして、ステップS31で収集した負荷量がサーバ全体の負荷制限値を超過している場合(ステップS32で「Yes」)、アクセス負荷制御装置40Bは、配信ページ指示手段45によって、1台の投稿募集サーバに対して、投稿予告サーバへの移行指示を送信し(ステップS33)、ステップS35に進む。
Here, the
If the load amount collected in step S31 exceeds the load limit value of the entire server (“Yes” in step S32), the access
一方、ステップS31で収集した負荷量がサーバ全体の負荷制限値未満である場合(ステップS32で「No」)、アクセス負荷制御装置40Bは、配信ページ指示手段45によって、1台の投稿予告サーバに対して、投稿募集サーバへの移行指示を送信する(ステップS34)。なお、すべてのサーバ10がすでに投稿募集サーバとなっている場合は、そのままステップS35に進む。
そして、アクセス負荷制御装置40Bは、終了判定手段46によって、すべてのサーバ10が投稿募集サーバに移行し、かつ、一定時間経過したか否かを判定する(ステップS35)。
On the other hand, when the load amount collected in step S31 is less than the load limit value of the entire server (“No” in step S32), the access
Then, the access
ここで、すべてのサーバ10が投稿募集サーバに移行していない場合(ステップS35でNo)、アクセス負荷制御装置40Bは、ステップS31に戻って動作を継続する。
一方、すべてのサーバ10が投稿募集サーバに移行し、かつ、一定時間経過した場合(ステップS35でYes)、アクセス負荷制御装置40Bは、動作を終了する。
以上の動作によって、アクセス負荷制御装置40Bは、各サーバ10にかかる負荷の状態に応じて、投稿を受け付けるサーバの数を増減させることで、各サーバ10が過負荷とならないように制御することができる。
Here, when all the
On the other hand, when all the
With the above operation, the access
以上、本発明に係るアクセス負荷制御装置を含んだ投稿受付システムの構成および動作について説明したが、本発明はこれに限定されるものではない。
ここでは、投稿を受け付けるサーバの負荷を制御する投稿受付システムとしてシステムを構成したが、投稿のみならず、例えば、Webサーバによるチケットの販売等にも応用することができる。すなわち、本発明は、複数のWebサーバにおいて、要求によってCGI等の動的ページを動作させるシステムであれば、本発明に係るアクセス負荷制御装置を用いたサーバ負荷分散システムとして構成することができる。
The configuration and operation of the posting acceptance system including the access load control device according to the present invention have been described above, but the present invention is not limited to this.
Here, the system is configured as a posting acceptance system that controls the load of a server that accepts postings. However, the system can be applied not only to postings but also to sales of tickets by a Web server, for example. That is, the present invention can be configured as a server load distribution system using the access load control device according to the present invention, as long as it is a system that operates a dynamic page such as CGI upon request in a plurality of Web servers.
S 投稿受付システム(サーバ負荷分散システム)
10 サーバ
20 ページ情報記憶装置
30 負荷分散装置
40、40B アクセス負荷制御装置
41 通信制御手段
42 記憶手段
43、43B 負荷収集手段
44、44B 負荷解析手段
44a アクセス数解析手段
44b 配信サーバ数決定手段
44c 負荷判定手段
45 配信ページ指示手段
46 終了判定手段
S Posting acceptance system (server load balancing system)
10
Claims (6)
前記複数のサーバから単位時間あたりのアクセス数を収集する負荷収集手段と、
この負荷収集手段で収集した前記複数のサーバ全体の単位時間あたりのアクセス数に基づいて、前記第1静的ページを配信する第1サーバの数を決定する負荷解析手段と、
この負荷解析手段で決定した第1サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、を備え、
前記負荷解析手段は、前記複数のサーバから収集した前記複数のサーバ全体の単位時間あたりのアクセス数において、前記第1静的ページを介して前記動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、前記第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた前記複数のサーバ全体の負荷制限値以下となる前記第1サーバ数分のアクセス数を算出するアクセス数解析手段と、
このアクセス数解析手段で算出した第1サーバ数分のアクセス数に応じた負荷量を、前記第1サーバが使用できる最大負荷量で除算することで、前記第1サーバの数を決定する配信サーバ数決定手段と、
を備えていることを特徴とするアクセス負荷制御装置。 In a server load distribution system that includes a plurality of servers that distribute pages and that distributes and responds to access to the pages requested via a network to the plurality of servers, the plurality of servers distribute By switching the page to be switched to either the first static page in which the link destination to the dynamic page is described or the second static page in which the link destination to the dynamic page is not described, An access load control device for controlling an access load to the server,
Load collection means for collecting the number of accesses per unit time from the plurality of servers;
Load analysis means for determining the number of first servers that deliver the first static page based on the number of accesses per unit time of the entire plurality of servers collected by the load collection means;
Based on the number of first servers determined by the load analyzing means, an instruction to deliver the first static page as the first server to the plurality of servers or the second static as the second server. A delivery page instruction means for notifying an instruction to deliver a target page,
The load analyzing means is a predetermined number used to distribute the dynamic page via the first static page in the number of accesses per unit time of the entire plurality of servers collected from the plurality of servers . A load amount corresponding to the number of accesses corresponding to the number of first servers in the load amount and a load amount corresponding to the number of accesses corresponding to the number of second servers in a predetermined load amount used for distributing the second static page Access number analysis means for calculating the number of accesses for the number of the first servers, the sum of which is equal to or less than a predetermined load limit value for the plurality of servers,
A distribution server that determines the number of the first servers by dividing the load corresponding to the number of accesses for the number of first servers calculated by the access number analyzing means by the maximum load that can be used by the first server. Number determining means;
An access load control device comprising:
前記複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段と、
この負荷収集手段で収集した前記複数のサーバ全体の負荷量と、予め定めた前記複数のサーバ全体の負荷制限値とを比較し、前記負荷量が前記負荷制限値以上の場合、前記第1静的ページを配信する第1サーバの数を所定数減少させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの減少数分増加させ、前記負荷量が前記負荷制限値未満の場合、前記第1静的ページを配信する第1サーバの数を所定数増加させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの増加数分減少させて、前記第1サーバの数および前記第2サーバの数を決定する負荷解析手段と、
この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または前記第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、
を備えていることを特徴とするアクセス負荷制御装置。 In a server load distribution system that includes a plurality of servers that distribute pages and that distributes and responds to access to the pages requested via a network to the plurality of servers, the plurality of servers distribute By switching the page to be switched to either the first static page in which the link destination to the dynamic page is described or the second static page in which the link destination to the dynamic page is not described, An access load control device for controlling an access load to the server,
Load collection means for periodically collecting a load amount indicating a load state of the server from the plurality of servers;
The load amounts of the plurality of servers collected by the load collection means are compared with the predetermined load limit values of the plurality of servers. If the load amount is equal to or greater than the load limit value, the first static The number of first servers that distribute target pages is decreased by a predetermined number , the number of second servers that distribute the second static pages is increased by the number of decreases of the first servers, and the load amount is the load limit value. If the number is less than 1, the number of the first servers that distribute the first static page is increased by a predetermined number , and the number of the second servers that distribute the second static page is decreased by the increased number of the first servers. Load analysis means for determining the number of the first servers and the number of the second servers;
Based on the number of first servers and the number of second servers determined by the load analyzing means, an instruction to distribute the first static page as the first server to the plurality of servers or the first server A delivery page instruction means for notifying an instruction to deliver the second static page as two servers;
An access load control device comprising:
前記複数のサーバから単位時間あたりのアクセス数を収集する負荷収集手段、
この負荷収集手段で収集した前記複数のサーバ全体の単位時間あたりのアクセス数に基づいて、前記第1静的ページを配信する第1サーバの数を決定する負荷解析手段、
この負荷解析手段で決定した第1サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段、として機能させ、
前記負荷解析手段は、前記複数のサーバから収集した前記複数のサーバ全体の単位時間あたりのアクセス数において、前記第1静的ページを介して前記動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、前記第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた前記複数のサーバ全体の負荷制限値以下となる前記第1サーバ数分のアクセス数を算出し、当該第1サーバ数分のアクセス数に応じた負荷量を、前記第1サーバが使用できる最大負荷量で除算することで、前記第1サーバの数を決定することを特徴とするアクセス負荷制御プログラム。 In a server load distribution system that includes a plurality of servers that distribute pages and that distributes and responds to access to the pages requested via a network to the plurality of servers, the plurality of servers distribute By switching the page to be switched to either the first static page in which the link destination to the dynamic page is described or the second static page in which the link destination to the dynamic page is not described, In order to control the access load to the server, a computer of the access load control device,
Load collection means for collecting the number of accesses per unit time from the plurality of servers;
Load analysis means for determining the number of first servers that deliver the first static page based on the number of accesses per unit time of the entire plurality of servers collected by the load collection means;
Based on the number of first servers determined by the load analysis means, an instruction to distribute the first static page as the first server or the second static as the second server to the plurality of servers. Function as a delivery page instruction means for notifying an instruction to deliver a target page,
The load analyzing means is a predetermined number used to distribute the dynamic page via the first static page in the number of accesses per unit time of the entire plurality of servers collected from the plurality of servers . A load amount corresponding to the number of accesses corresponding to the number of first servers in the load amount and a load amount corresponding to the number of accesses corresponding to the number of second servers in a predetermined load amount used for distributing the second static page The number of accesses corresponding to the number of first servers that is equal to or less than a predetermined load limit value of the entire plurality of servers is calculated, and the amount of load corresponding to the number of accesses corresponding to the number of first servers is calculated as An access load control program that determines the number of the first servers by dividing by a maximum load that can be used by the first server.
前記複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段、
この負荷収集手段で収集した前記複数のサーバ全体の負荷量と、予め定めた前記複数のサーバ全体の負荷制限値とを比較し、前記負荷量が前記負荷制限値以上の場合、前記第1静的ページを配信する第1サーバの数を所定数減少させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの減少数分増加させ、前記負荷量が前記負荷制限値未満の場合、前記第1静的ページを配信する第1サーバの数を所定数増加させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの増加数分減少させて、前記第1サーバの数および前記第2サーバの数を決定する負荷解析手段、
この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または前記第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段、
として機能させることを特徴とするアクセス負荷制御プログラム。 In a server load distribution system that includes a plurality of servers that distribute pages and that distributes and responds to access to the pages requested via a network to the plurality of servers, the plurality of servers distribute By switching the page to be switched to either the first static page in which the link destination to the dynamic page is described or the second static page in which the link destination to the dynamic page is not described, In order to control the access load to the server, a computer of the access load control device,
Load collection means for periodically collecting a load amount indicating a load state of the server from the plurality of servers;
The load amounts of the plurality of servers collected by the load collection means are compared with the predetermined load limit values of the plurality of servers. If the load amount is equal to or greater than the load limit value, the first static The number of first servers that distribute target pages is decreased by a predetermined number , the number of second servers that distribute the second static pages is increased by the number of decreases of the first servers, and the load amount is the load limit value. If the number is less than 1, the number of the first servers that distribute the first static page is increased by a predetermined number , and the number of the second servers that distribute the second static page is decreased by the increased number of the first servers. , Load analysis means for determining the number of the first servers and the number of the second servers,
Based on the number of first servers and the number of second servers determined by the load analyzing means, an instruction to distribute the first static page as the first server to the plurality of servers or the first server A delivery page instruction means for notifying an instruction to deliver the second static page as two servers;
An access load control program characterized by functioning as
前記サーバの負荷を制御するアクセス負荷制御装置を備え、
前記アクセス負荷制御装置が、
前記複数のサーバから単位時間あたりのアクセス数を収集する負荷収集手段と、
この負荷収集手段で収集した前記複数のサーバ全体の単位時間あたりのアクセス数に基づいて、前記第1静的ページを配信する第1サーバの数を決定する負荷解析手段と、
この負荷解析手段で決定した第1サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、を備え、
前記負荷解析手段は、前記複数のサーバから収集した前記複数のサーバ全体の単位時間あたりのアクセス数において、前記第1静的ページを介して前記動的ページを配信するために使用する予め定めた負荷量の第1サーバ数分のアクセス数に応じた負荷量と、前記第2静的ページを配信するために使用する予め定めた負荷量の第2サーバ数分のアクセス数に応じた負荷量との和が、予め定めた前記複数のサーバ全体の負荷制限値以下となる前記第1サーバ数分のアクセス数を算出するアクセス数解析手段と、
このアクセス数解析手段で算出した第1サーバ数分のアクセス数に応じた負荷量を、前記第1サーバが使用できる最大負荷量で除算することで、前記第1サーバの数を決定する配信サーバ数決定手段と、
を備えていることを特徴とする投稿受付システム。 A plurality of pages to be distributed by switching to either a first static page in which a link destination to a dynamic page that accepts a post is described or a second static page in which a link destination to the dynamic page is not described A post accepting system that responds by distributing a response to access to the dynamic page requested via a network to the plurality of servers by a load balancer,
An access load control device for controlling the load of the server;
The access load control device is
Load collection means for collecting the number of accesses per unit time from the plurality of servers;
Load analysis means for determining the number of first servers that deliver the first static page based on the number of accesses per unit time of the entire plurality of servers collected by the load collection means;
Based on the number of first servers determined by the load analysis means, an instruction to distribute the first static page as the first server or the second static as the second server to the plurality of servers. A delivery page instruction means for notifying an instruction to deliver a target page,
The load analyzing means is a predetermined number used to distribute the dynamic page via the first static page in the number of accesses per unit time of the entire plurality of servers collected from the plurality of servers . A load amount corresponding to the number of accesses corresponding to the number of first servers in the load amount and a load amount corresponding to the number of accesses corresponding to the number of second servers in a predetermined load amount used for distributing the second static page Access number analysis means for calculating the number of accesses for the number of the first servers, the sum of which is equal to or less than a predetermined load limit value for the plurality of servers,
A distribution server that determines the number of the first servers by dividing the load corresponding to the number of accesses for the number of first servers calculated by the access number analyzing means by the maximum load that can be used by the first server. Number determining means;
Post accepting system characterized by comprising.
前記サーバの負荷を制御するアクセス負荷制御装置を備え、
前記アクセス負荷制御装置が、
前記複数のサーバから、当該サーバの負荷の状態を示す負荷量を定期的に収集する負荷収集手段と、
この負荷収集手段で収集した前記複数のサーバ全体の負荷量と、予め定めた前記複数のサーバ全体の負荷制限値とを比較し、前記負荷量が前記負荷制限値以上の場合、前記第1静的ページを配信する第1サーバの数を所定数減少させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの減少数分増加させ、前記負荷量が前記負荷制限値未満の場合、前記第1静的ページを配信する第1サーバの数を所定数増加させるとともに前記第2静的ページを配信する第2サーバの数を前記第1サーバの増加数分減少させて、前記第1サーバの数および前記第2サーバの数を決定する負荷解析手段と、
この負荷解析手段で決定した第1サーバの数および第2サーバの数に基づいて、前記複数のサーバに対して、前記第1サーバとして前記第1静的ページを配信する旨の指示または前記第2サーバとして前記第2静的ページを配信する旨の指示を通知する配信ページ指示手段と、
を備えていることを特徴とする投稿受付システム。 A plurality of pages to be distributed by switching to either a first static page in which a link destination to a dynamic page that accepts a post is described or a second static page in which a link destination to the dynamic page is not described A post accepting system that responds by distributing a response to access to the dynamic page requested via a network to the plurality of servers by a load balancer,
An access load control device for controlling the load of the server;
The access load control device is
Load collection means for periodically collecting a load amount indicating a load state of the server from the plurality of servers;
The load amounts of the plurality of servers collected by the load collection means are compared with the predetermined load limit values of the plurality of servers. If the load amount is equal to or greater than the load limit value, the first static The number of first servers that distribute target pages is decreased by a predetermined number , the number of second servers that distribute the second static pages is increased by the number of decreases of the first servers, and the load amount is the load limit value. If the number is less than 1, the number of the first servers that distribute the first static page is increased by a predetermined number , and the number of the second servers that distribute the second static page is decreased by the increased number of the first servers. Load analysis means for determining the number of the first servers and the number of the second servers;
Based on the number of first servers and the number of second servers determined by the load analyzing means, an instruction to distribute the first static page as the first server to the plurality of servers or the first server A delivery page instruction means for notifying an instruction to deliver the second static page as two servers;
Post accepting system characterized by comprising.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006276280A JP4644175B2 (en) | 2006-10-10 | 2006-10-10 | ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006276280A JP4644175B2 (en) | 2006-10-10 | 2006-10-10 | ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008097184A JP2008097184A (en) | 2008-04-24 |
JP4644175B2 true JP4644175B2 (en) | 2011-03-02 |
Family
ID=39379989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006276280A Expired - Fee Related JP4644175B2 (en) | 2006-10-10 | 2006-10-10 | ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4644175B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010086145A (en) * | 2008-09-30 | 2010-04-15 | Hitachi East Japan Solutions Ltd | Distributed processing system |
JP5843459B2 (en) * | 2011-03-30 | 2016-01-13 | インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation | Information processing system, information processing apparatus, scaling method, program, and recording medium |
CN104011700B (en) | 2012-02-14 | 2016-10-26 | 英派尔科技开发有限公司 | Load balance in games system based on cloud |
US9358467B2 (en) | 2013-07-22 | 2016-06-07 | Empire Technology Development Llc | Game load management |
CN111858088A (en) * | 2020-06-24 | 2020-10-30 | 珠海格力电器股份有限公司 | Communication data processing method, communication data processing device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005293048A (en) * | 2004-03-31 | 2005-10-20 | Fujitsu Ltd | Resource plan preparation program |
JP2006171823A (en) * | 2004-12-13 | 2006-06-29 | Hitachi Ltd | Access control device in computer system |
JP2007328417A (en) * | 2006-06-06 | 2007-12-20 | Nec Biglobe Ltd | Request limiting device, server device, request limiting method and request limiting program |
-
2006
- 2006-10-10 JP JP2006276280A patent/JP4644175B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005293048A (en) * | 2004-03-31 | 2005-10-20 | Fujitsu Ltd | Resource plan preparation program |
JP2006171823A (en) * | 2004-12-13 | 2006-06-29 | Hitachi Ltd | Access control device in computer system |
JP2007328417A (en) * | 2006-06-06 | 2007-12-20 | Nec Biglobe Ltd | Request limiting device, server device, request limiting method and request limiting program |
Also Published As
Publication number | Publication date |
---|---|
JP2008097184A (en) | 2008-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4644175B2 (en) | ACCESS LOAD CONTROL DEVICE, ITS PROGRAM, AND POST RECEPTION SYSTEM | |
US7644139B2 (en) | Method and system for optimizing metadata passing in a push content processing protocol | |
US7634534B2 (en) | Delay storage device and delay treating method | |
US20070260673A1 (en) | Dynamic syndicated content delivery system and method | |
US20070260674A1 (en) | Push framework for delivery of dynamic mobile content | |
EP1853045A1 (en) | Dynamic syndicated content delivery system and method | |
US20120042004A1 (en) | Plug in registration method and apparatus for push content delivery | |
US7356584B2 (en) | Optimization of service provider load balancing | |
KR20170079496A (en) | Apparatus for inducing advertisement competition based on contents preference | |
JP2011172021A (en) | Cache server control device, content distribution system, method of distributing content, and program | |
US8780708B2 (en) | Transmission control system | |
JP4403048B2 (en) | Content providing server, user terminal, content providing program, and content acquisition program | |
US20070276863A1 (en) | Plug in registration method and apparatus for push content delivery | |
CN112308537B (en) | Position data processing system, method, equipment and medium | |
KR101195123B1 (en) | Cloud computing network system and file distrubuting method of the same | |
US20030126244A1 (en) | Apparatus for scheduled service of network requests and a method therefor | |
CN113765964A (en) | Method and device for distributing services of distributed system | |
EP1852786A1 (en) | System and method for the fragmentation of mobile content | |
JP2004362449A (en) | Service providing device, service coordinator device, service providing method, service coordinating method and program, as well as computer readable recording medium having the program recorded thereon | |
US20050193107A1 (en) | Method and apparatus for relay control and computer product | |
EP2299643A1 (en) | Server load balancing method and system of media service | |
CN115460427B (en) | Live broadcast scheduling method, device, computing equipment and storage medium | |
US9240998B2 (en) | Management apparatus and control method of management apparatus | |
WO2020071317A1 (en) | Content viewing system and content viewing control method | |
US8285863B2 (en) | Access control device, access control method, and access control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090319 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100525 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100601 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100802 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100824 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101007 |
|
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: 20101109 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101203 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131210 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |