JP2003150570A - Distributing method and distributing device for connection to server, and program and recording medium therefor - Google Patents

Distributing method and distributing device for connection to server, and program and recording medium therefor

Info

Publication number
JP2003150570A
JP2003150570A JP2001344439A JP2001344439A JP2003150570A JP 2003150570 A JP2003150570 A JP 2003150570A JP 2001344439 A JP2001344439 A JP 2001344439A JP 2001344439 A JP2001344439 A JP 2001344439A JP 2003150570 A JP2003150570 A JP 2003150570A
Authority
JP
Japan
Prior art keywords
server
connection
connections
time
content
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.)
Granted
Application number
JP2001344439A
Other languages
Japanese (ja)
Other versions
JP3800508B2 (en
Inventor
Koji Yamamoto
浩司 山本
Takuya Asaka
卓也 朝香
Katsunori Ori
織  克典
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 JP2001344439A priority Critical patent/JP3800508B2/en
Publication of JP2003150570A publication Critical patent/JP2003150570A/en
Application granted granted Critical
Publication of JP3800508B2 publication Critical patent/JP3800508B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To minimize disk access, and to enhance the content distributing speed by maximally utilizing cashe on servers. SOLUTION: Single or a plurality of the same content groups are arranged in a plurality of servers 13, 14, and 15, and the connection is allocated to the respective servers to disperse a load. Time-out time after finally making access to the content is set with every content. When newly requiring the connection, if it is within the time-out time, the connection is distributed to the server to which the connection is finally distributed in distribution of the content. A data acquiring part 121 of a connection distributing device 12 acquires various data (such as round trip time, the present connection number, a CPU utilization factor, a disk I/O quantity, and total throughput) of the respective servers. A data storage part 122 stores the time and the server to which the connection is finally distributed. A calculating part 123 calculates the server to be distributed from recording.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、サーバ上のキャッ
シュを活用することにより、ディスクアクセスを最小限
に抑え、それによりコンテンツ配信速度を高めるように
したサーバへの接続の振り分け方法および振り分け装
置、ならびにそのプログラムと記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for distributing connections to a server, which utilizes a cache on a server to minimize disk access and thereby increase content distribution speed. And its program and recording medium.

【0002】[0002]

【従来の技術】インターネットを通して巨大なファイル
をロードしたり、映像をストリーミング磁気テープ装置
で鑑賞したり、Webページを閲覧したりする際に、配
信要求の集中という問題がしばしば発生する。これを回
避するためには、サーバを複数台用意して、接続を振り
分けるという回避手法がとられる。以下、図8を例にと
り、サーバへの接続の振り分けについて簡単に説明す
る。
2. Description of the Related Art When a huge file is loaded through the Internet, an image is viewed on a streaming magnetic tape device, or a Web page is browsed, the problem of concentration of distribution requests often occurs. To avoid this, a plurality of servers are prepared and connections are distributed. The distribution of connections to the server will be briefly described below with reference to FIG.

【0003】図8では、DNS(Domain Nam
e System)12を振り分け装置として機能させ
る方法を示している。サーバ13,14,15には同じ
www.ntt.co.jpというドメイン名が与えら
れている。クライアント11からDNS12に対してw
ww.ntt.co.jpのIPアドレスを教えて欲し
いという問い合わせに対し、DNS(この場合には、振
り分け装置として機能)12が、接続の振り分けのポリ
シーに照らし合わせて、IPアドレスをクライアント1
1に返答する。あるクライアント11には、192.168.1.
1という回答を返送し、別のクライアント11’には19
2.168.1.2という回答を返送することになる。
In FIG. 8, DNS (Domain Name) is used.
e System) 12 is made to function as a distribution device. The same www. ntt. co. The domain name jp is given. From client 11 to DNS 12 w
ww. ntt. co. In response to the inquiry that the IP address of jp is requested, the DNS (functions as a distribution device in this case) 12 compares the IP address with the client 1 by referring to the connection distribution policy.
Reply to 1. One client 11 has 192.168.1.
I sent back an answer of 1 and gave another client 11 '19
You will get a reply of 2.168.1.2.

【0004】このように動作させることで、www.n
tt.co.jpへの接続を3台のサーバ13,14,
15に振り分け、サーバへの負荷を分散することが可能
である。なお、ここでは、DNS12を接続の振り分け
装置として利用する方法を示したが、他にも振り分け装
置で接続要求をするパケットに記述されている要求先の
IPアドレスを付け替えて振り分けを行う方法等も存在
するが、詳細は省略する。
By operating in this way, www. n
tt. co. jp connection to three servers 13,14,
It is possible to distribute the load to the server by distributing the load to 15 servers. Although the method of using the DNS 12 as a connection distribution device has been shown here, there is also a method of performing distribution by replacing the IP address of the request destination described in the packet requesting connection by the distribution device. Exists, but details are omitted.

【0005】従来、接続サーバの振り分け方法として
は、下記の技術が存在する。 (接続ラウンドロビン方式)この方法は、振り分け装
置において、振り分けるサーバを順番に指定していく方
法である。例えば、図8に示すように3台のサーバ1
3,14,15があった場合には、最初の接続をサーバ
13に振り分け、次の接続をサーバ14に振り分け、そ
の次の接続をサーバ15に振り分け、次の接続をサーバ
13に振り分けるという具合に、接続を振り分けるサー
バを順番に指定していく方式である。
Conventionally, the following techniques exist as methods of distributing connection servers. (Connection Round Robin Method) This method is a method of sequentially specifying servers to be distributed in the distribution device. For example, as shown in FIG. 8, three servers 1
When there are 3, 14, and 15, the first connection is assigned to the server 13, the next connection is assigned to the server 14, the next connection is assigned to the server 15, and the next connection is assigned to the server 13. In this method, the servers to which the connection is distributed are sequentially specified.

【0006】(最低接続本数サーバ選択方式)この方
法は、振り分け装置において、現在の接続本数が最も少
ないサーバに接続を振り分ける方法である。例えば、図
8に示すように3台のサーバ13,14,15があり、
それぞれ現在の接続本数がサーバ13は4本、サーバ1
4は3本、サーバ15は2本であった場合に、その時発
生した接続要求に対して現在の接続本数の最も少ないサ
ーバ15に接続を振り分ける。なお、この場合に、接続
数の把握は振り分け装置12が行う。
(Minimum number of connected servers selection method) This method is a method in which the distribution device distributes connections to the server having the smallest number of connections at present. For example, there are three servers 13, 14, 15 as shown in FIG.
The current number of connections is 4 for server 13 and 1 for server 1, respectively.
When 4 is 3 and the number of servers 15 is 2, the connection is distributed to the server 15 having the smallest current number of connections in response to the connection request generated at that time. In this case, the distribution device 12 grasps the number of connections.

【0007】(ランドトリップタイムによるサーバ選
択方式)この方法は、振り分け装置において、ping
等のアクティブなサーバレスポンス測定法を用いて、接
続要求が発生した時点で最もレスポンスタイムの短いサ
ーバに振り分ける方法である。ここで、pingは、I
Pの上位プロトコルの一種であるICMP(Inter
net Control Message Proto
col)を用いて、相手先ホストに対して返答要求を送
出するプログラムである。IPベースのネットワークで
つながったホスト同士の接続性の確認のために使用され
ることが多い。また、返答が戻るまでのターン・アラウ
ンド時間を調べる機能を持つものもあり、相手先への到
達経路の混み具合の目安にすることができる。
(Server selection method based on land trip time) This method uses a ping in a distribution device.
It is a method of allocating to the server with the shortest response time when a connection request is made by using the active server response measurement method such as. Where ping is I
ICMP (Inter
net Control Message Proto
col) is used to send a reply request to the destination host. It is often used to confirm the connectivity between hosts connected by an IP-based network. In addition, there is also a function to check the turn-around time until a reply is returned, which can be used as a guide for the congestion level of the route to reach the other party.

【0008】この例においては、アクティブなレスポン
ス測定手法としてpingを用いることにする。図8に
示すように3台のサーバ13,14,15があった場合
に、振り分け装置12は接続要求の発生を受けて、それ
ぞれのサーバ13,14,15に対してpingを用い
てそれぞれのサーバ13,14,15へのラウンドトリ
ップタイムを測定する。その結果、最もラウンドトリッ
プタイムの短かかったサーバを最もレスポンスの良いサ
ーバと判断し、そのサーバに対して接続を振り分ける手
法をとる。なお、実装によっては、定期的にping等
のアクティブなサーバレスポンス測定法を用いて測定を
しておき、接続要求が発生した時には、最も新しい測定
結果を基にサーバを選択するという方法も存在する。
In this example, ping is used as an active response measuring method. When there are three servers 13, 14, and 15 as shown in FIG. 8, the distribution device 12 receives a connection request and uses ping to each of the servers 13, 14, and 15 to send the request. The round trip time to the servers 13, 14, 15 is measured. As a result, the server with the shortest round trip time is determined as the server with the best response, and the connection is distributed to that server. Note that depending on the implementation, there is also a method in which an active server response measurement method such as ping is regularly used for measurement, and when a connection request occurs, a server is selected based on the latest measurement result. .

【0009】(サーバリソース監視による振り分け方
式)この方法は、振り分け装置において、振り分け先の
サーバのリソース(例えば、CPU利用率、ディスクI
/O量、現在のスループット)を監視して、それらのど
れか1つ、もしくは複数の組み合わせを判断の尺度と
し、最もリソースに余裕のあるサーバに接続を振り分け
る方式である。
(Distribution method by server resource monitoring) In this method, in the distribution device, resources of the distribution destination server (for example, CPU utilization rate, disk I
/ O amount, current throughput), and any one or a combination of a plurality of them is used as a criterion for determination, and the connection is distributed to the server having the most resources.

【0010】[0010]

【発明が解決しようとする課題】通常、サーバにおいて
は、ディスクから一度読み出したデータをメモリ上のキ
ャッシュ領域に保存しておく。これらのデータは、ディ
スクから新しいデータがキャッシュに読み込まれること
により、キャッシュ領域から削除されるまで、キャッシ
ュ領域上に残り続ける。こうすることにより、読み出し
およびアクセス速度の遅いディスクへのアクセスを極力
避けることが可能となる(キャッシュの機能)。コンテ
ンツ配信において、ディスクへのアクセスの頻発が発生
した場合に、ディスクがシステムのボトルネックとなる
可能性が高い。しかしながら、従来の複数サーバへの接
続の振り分け方法では、キャッシュを有効に活用するこ
とが考慮されておらず、その結果、コンテンツ配信にお
いて、性能を十分に発揮できるとは言い難い。
Normally, in the server, the data once read from the disk is stored in the cache area on the memory. These data remain in the cache area until they are deleted from the cache area by reading new data from the disk. By doing so, it is possible to avoid reading and accessing a disk with a slow access speed as much as possible (a cache function). When content is frequently accessed in content distribution, the disk is likely to become a system bottleneck. However, the conventional method of allocating connections to a plurality of servers does not consider effective use of the cache, and as a result, it cannot be said that the performance can be sufficiently exerted in content distribution.

【0011】図9は、従来手法でのディスク上のデータ
およびキャッシュのイメージを示す図である。図9で
は、従来技術を用いて振り分けを行った場合に、性能を
発揮できない具体例が示されている。すなわち、図9で
は、矢印はファイルの読み出し位置を示している。これ
らの矢印が左から右に進んで行くことにより、データを
読み出していく。横線領域はキャッシュに無い領域であ
り、グレイの領域はキャッシュにある領域である。キャ
ッシュ上にデータが無い場合には、ディスクからデータ
を読み出し、キャッシュ上にデータがある場合には、デ
ィスクにはアクセスせずにキャッシュ上に配置されたデ
ータを読み出す。図9の例では、合計6本の接続が3台
のサーバに2本ずつ振り分けられているが、どの接続も
キャッシュからデータを読んでいないことがわかる。従
来の振り分け方法では、キャッシュの有効活用を考慮に
入れていないために、このような状況が発生する可能性
が高い。
FIG. 9 is a diagram showing an image of data and a cache on a disk in the conventional method. FIG. 9 shows a specific example in which the performance cannot be exhibited when the distribution is performed using the conventional technique. That is, in FIG. 9, the arrow indicates the file read position. Data is read out as these arrows progress from left to right. The horizontal line area is an area that is not in the cache, and the gray area is an area that is in the cache. When there is no data in the cache, the data is read from the disk, and when there is data in the cache, the data arranged in the cache is read without accessing the disk. In the example of FIG. 9, a total of 6 connections are distributed to 3 servers, 2 connections each, but it can be seen that none of the connections read data from the cache. Since the conventional distribution method does not take into account the effective use of the cache, such a situation is likely to occur.

【0012】そこで、本発明の目的は、これら従来の課
題を解決し、サーバ上のキャッシュを活用することによ
り、ディスクアクセスを最小限に抑えることで、コンテ
ンツ配信速度を高めることが可能なサーバへの接続の振
り分け方法および振り分け装置、ならびにそのプログラ
ムと記録媒体を提供することにある。
Therefore, an object of the present invention is to solve these conventional problems and to utilize a cache on the server to minimize the disk access, thereby making it possible to improve the content delivery speed. To provide a connection distribution method and a distribution device, a program thereof, and a recording medium.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するた
め、本発明によるサーバへの接続の振り分け方法は、複
数サーバに単一ないし複数の同一のコンテンツ群を配置
し、接続をそれぞれのサーバに割り振っていくことによ
り、負荷分散を図るシステムであって、コンテンツ毎に
最後にそのコンテンツへのアクセスが生じてからのタイ
ムアウト時間を設定しておく、新規に接続要求が発生し
た場合に、そのタイムアウト時間内であれば、そのコン
テンツの配信で最後に接続を振ったサーバに接続を振る
ようにする。(この手法は、複数サーバに同一のコンテ
ンツが配置されている場合に、有効に作用する)
In order to achieve the above object, a method of distributing connections to servers according to the present invention is to arrange a single or a plurality of identical contents groups in a plurality of servers and connect the connections to each server. It is a system that distributes the load by allocating it, and sets a timeout time after the last access to that content for each content, and when a new connection request occurs, that timeout If it is within the time, the connection will be assigned to the server that last gave the connection for the delivery of the content. (This method works effectively when the same content is placed on multiple servers.)

【0014】また、キャッシュを持っているサーバに振
り分けることができない時、すなわち、タイムアウト時
間内のサーバが存在しない場合に、従来の振り分け方法
の一つであるping等のアクティブなサーバレスポン
スタイム測定法を用いて、最もレスポンスタイムの短い
サーバに振り分けるようにする。また、キャッシュを持
っているサーバに振り分けることができない時、すなわ
ち、タイムアウト時間内のサーバが存在しない場合に、
従来の振り分け方法の一つである、最も接続数の少ない
サーバを選択する手法を用いて接続を振り分ける。さら
に、キャッシュを持っているサーバに振り分けることが
できない時、すなわち、タイムアウト時間内のサーバが
存在しない場合に、従来の振り分け方法の一つである、
サーバリソースを測定し、最もリソースに余裕のあるサ
ーバを選択する手法を用いて、接続を振り分ける。
Further, when it is not possible to distribute to a server having a cache, that is, when there is no server within the timeout time, an active server response time measuring method such as ping which is one of the conventional distributing methods. Use to distribute to the server with the shortest response time. Also, when it is not possible to allocate to the server that has the cache, that is, when there is no server within the timeout time,
Connections are distributed using a method of selecting a server with the smallest number of connections, which is one of conventional distribution methods. Furthermore, it is one of the conventional distribution methods when it cannot be distributed to the server that has the cache, that is, when there is no server within the timeout time,
Allocate connections using the method of measuring server resources and selecting the server with the most resources.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施例を、図面に
より詳細に説明する。 (請求項1の実施例)図4は、ディスクおよびメモリの
データ転送速度とアクセス時間の関係を示す図である。
コンテンツ配信サーバにおいて、データをディスクから
読み出す速度とソフトウェアキャッシュ上に配置された
データを読み出す場合では、速度に明らかな差が見られ
る。すなわち、図4に示すように、ディスクの最良状態
のときには、アクセス時間が0msecで、読み出し速
度は43.3Mbyte/secであり、ディスクの最
悪状態のときには、アクセス時間が26.4msecと
かなり遅く、かつ読み出し速度も2.6Mbyte/s
ecと低速度である。これに対して、キャッシュが内蔵
されたメモリのアクセス時間は0.006msec、読
み出し速度は938Mbyte/secと極めて速い。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. (Embodiment of claim 1) FIG. 4 is a diagram showing the relationship between the data transfer rate of the disk and the memory and the access time.
In the content distribution server, there is a clear difference between the speed of reading the data from the disk and the speed of reading the data arranged in the software cache. That is, as shown in FIG. 4, when the disc is in the best state, the access time is 0 msec, and the read speed is 43.3 Mbyte / sec. In the worst state of the disc, the access time is 26.4 msec, which is considerably slow. And the reading speed is 2.6 Mbyte / s.
ec and low speed. On the other hand, the access time of the memory including the cache is 0.006 msec, and the read speed is 938 Mbyte / sec, which is extremely fast.

【0016】請求項1の発明では、複数のサーバに単一
ないし複数の同一のコンテンツ群を配置し、接続をそれ
ぞれのサーバに割り振っていくことにより、負荷分散を
図るシステムであって、コンテンツ毎に最後にそのコン
テンツへのアクセスが生じてからのタイムアウト時間を
設定しておき、新規に接続要求が発生した場合には、そ
のタイムアウト時間内であればそのコンテンツの配信で
最後に接続を振ったサーバに接続を振るようにする。
According to the first aspect of the present invention, a system is provided in which a single or a plurality of identical content groups are arranged in a plurality of servers and the connections are allocated to the respective servers, thereby distributing the load. Set the timeout time since the last access to that content, and if a new connection request occurs, if the connection time is within that timeout time, the connection is distributed last for the delivery of the content. Try to shake the connection to the server.

【0017】本発明では、サーバの振り分け装置で、デ
ータがキャッシュ上に配置されている可能性の高いサー
バを選択することにより、コンテンツ等の配信性能の向
上を図る。請求項1の方法を用いることにより、よりキ
ャッシュにデータが配置されている可能性の高いサーバ
の選択が可能となるので、ディスクへのアクセス頻度が
低減できる。図4の結果から、キャッシュからデータを
読み込む場合と、ディスクからデータを読み込む場合と
では、速度に明らかに差が見られるので、本発明は極め
て有効な手法となる。
According to the present invention, the distribution device for a server selects a server having a high possibility that data is placed in the cache, thereby improving the delivery performance of contents and the like. By using the method according to the first aspect, it is possible to select a server that is more likely to have data arranged in the cache, so that the frequency of access to the disk can be reduced. From the results of FIG. 4, there is a clear difference in speed between the case of reading data from the cache and the case of reading data from the disk, so the present invention is an extremely effective technique.

【0018】図1は、本発明の一実施例を示すサーバへ
の接続の振り分けに係る実験環境の図であり、図2は、
請求項1の手法と従来手法の性能差を示す図である。図
1に示すように、クライアント11をスイッチ12Aに
接続するとともに、スイッチ12Aを3台のサーバ1
3,14,15に接続した。クライアント11とスイッ
チ12Aの間はギガイーサネット(登録商標)で接続さ
れ、サーバ13,14,15とスイッチ12Aの間は1
00メガファストイーサネット(登録商標)で接続され
る。各サーバ13,14,15には、1Gbyteのコ
ンテンツが8個配置されている。また、クライアント1
1からサーバ13,14,15への接続要求の発生間隔
をλ=0.1の指数分布に従って発生させ、接続するコ
ンテンツの選択をランダムに行う。例えば、最初の接続
はコンテンツ1、次にある時間を置いてコンテンツ3、
次にコンテンツ1、次にコンテンツ7という具合に接続
の要求を発生させていく。
FIG. 1 is a diagram of an experimental environment relating to distribution of connections to servers showing an embodiment of the present invention, and FIG.
It is a figure which shows the performance difference of the method of Claim 1, and the conventional method. As shown in FIG. 1, the client 11 is connected to the switch 12A, and the switch 12A is connected to the three servers 1.
It was connected to 3,14,15. The client 11 and the switch 12A are connected by Giga Ethernet (registered trademark), and the servers 13, 14, 15 and the switch 12A are connected by 1
It is connected by 00 Mega Fast Ethernet (registered trademark). Eight 1 Gbyte contents are arranged in each of the servers 13, 14, and 15. Also, client 1
The connection request generation intervals from 1 to the servers 13, 14 and 15 are generated according to the exponential distribution of λ = 0.1, and the content to be connected is selected at random. For example, the first connection is Content 1, then some time later Content 3,
Next, the connection request is generated in the order of the content 1 and then the content 7.

【0019】本実験においては、振り分け装置が無いの
で、クライアント11に接続装置があるかのように振る
舞わせる。具体的には、接続要求の時間と接続先のコン
テンツが記述された接続要求のリストを事前に作成し、
それぞれの接続要求がどのサーバに振り分けられるか
を、請求項1の方法、従来のラウンドトリップタイムの
最も短かったものを選択する方法、最も接続本数の少な
いサーバを選択する方法、ラウンドロビンを用いる方法
のそれぞれについて検討し、その結果、接続要求の時間
と接続先のコンテンツと接続先のサーバが記述されたリ
ストを作成して、そのリストに従って接続を発生させ
た。なお、スイッチ12Aは、実験段階であるため、人
手により計算結果に基づいて接続を切り替えていくよう
になっている。
In this experiment, since there is no distribution device, the client 11 behaves as if it has a connection device. Specifically, create a connection request list in advance that describes the connection request time and the content of the connection destination,
As to which server each connection request is distributed to, the method of claim 1, the method of selecting the one with the shortest conventional round trip time, the method of selecting the server with the fewest number of connections, and the method using round robin. As a result, a list was created in which the time of the connection request, the content of the connection destination, and the server of the connection destination were described, and the connection was generated according to the list. Since the switch 12A is in the experimental stage, the connection is manually switched based on the calculation result.

【0020】比較検討の対象として、ラウンドロビンに
よる手法と、最低接続本数のサーバに接続する手法と、
pingを用いてラウンドトリップタイムを測定して最
良のものを選択する手法とを用いた。また、本発明の実
験では、振り分けのタイムアウト時間を30秒に設定し
た。評価は、クライアント11のトータルスループット
によって行う。なお、トータルスループットとは、クラ
イアントマシンが単位時間に得たデータの総量のことを
指す。図2に示す結果により、請求項1の手法が有効で
あることが明らかになった。
As objects of comparison and examination, a method based on round robin, a method for connecting to a server with the minimum number of connections,
The method of measuring the round trip time using ping and selecting the best one was used. In addition, in the experiment of the present invention, the timeout time for distribution was set to 30 seconds. The evaluation is performed by the total throughput of the client 11. The total throughput refers to the total amount of data obtained by the client machine per unit time. From the results shown in FIG. 2, it became clear that the method of claim 1 is effective.

【0021】図3は、本発明の一実施例を示す接続の振
り分け装置のブロック構成図である。接続振り分け装置
12は、クライアント11からの接続要求をサーバ1
3,14,15に振り分ける機能を持つ。この装置12
は、データ取得部121とデータ記憶部122と算出部
123とからなる。データ取得部121では、振り分け
先のサーバの各種データ(ラウンドトリップタイム、現
在の接続本数、CPU利用率、ディスクI/O量、トー
タルスループット)を取得する。データ記憶部122で
は、コンテンツ毎に最後に接続を振り分けたサーバおよ
びその時の時刻を記憶しておく。算出部123では、デ
ータ取得部121が取得したデータおよびデータ記憶部
122に蓄積された接続記録から、振り分けるべきサー
バを算出する。
FIG. 3 is a block diagram of a connection distribution device showing an embodiment of the present invention. The connection distribution device 12 sends a connection request from the client 11 to the server 1
It has the function of distributing to 3, 14, and 15. This device 12
Includes a data acquisition unit 121, a data storage unit 122, and a calculation unit 123. The data acquisition unit 121 acquires various data (round trip time, current number of connections, CPU utilization rate, disk I / O amount, total throughput) of the distribution destination server. The data storage unit 122 stores the server to which the connection was last assigned for each content and the time at that time. The calculation unit 123 calculates the server to be distributed from the data acquired by the data acquisition unit 121 and the connection record accumulated in the data storage unit 122.

【0022】(請求項1〜5の動作)図5は、図3にお
ける接続振り分け装置の処理フローチャートである。装
置が起動されると、データ取得部121がクライアント
11からの新規接続要求を検出し(ステップ101)、
タイムアウト時間内に同一コンテンツの配信を行ったサ
ーバの有無を判別し(ステップ102)、あれば、最後
に接続の行われたサーバへ接続を振り分ける(ステップ
103)。また、同一コンテンツの配信が行われたサー
バが無ければ、ラウンドロビンで接続するサーバを選
択する。あるいは、ラウンドトリップタイムの最も短
いサーバを選択する(請求項3)。あるいは、現在の
接続本数の最も少ないサーバを選択する(請求項4)。
あるいは、リソースに最も余裕のあるサーバを選択す
る(請求項5)(ステップ104)。このステップ10
4では、上記〜のいずれかの処理を行うものとす
る。
(Operations of Claims 1 to 5) FIG. 5 is a processing flowchart of the connection distribution device in FIG. When the device is activated, the data acquisition unit 121 detects a new connection request from the client 11 (step 101),
Whether or not there is a server that has delivered the same content within the timeout time is determined (step 102), and if there is, the connection is distributed to the server to which the last connection was made (step 103). If there is no server to which the same content has been distributed, the server to be connected by round robin is selected. Alternatively, the server with the shortest round trip time is selected (claim 3). Alternatively, the server with the smallest current number of connections is selected (claim 4).
Alternatively, the server having the most available resources is selected (claim 5) (step 104). This step 10
In 4, it is assumed that any one of the above processes 1 to 4 is performed.

【0023】(請求項2の実施例)請求項2では、請求
項1の手法を用いる際に、必要となるタイムアウト時間
の定量的な算出方法を示すものである。キャッシュデー
タのキャッシュ領域への配置アルゴリズムはFIFOで
あることから、データがキャッシュ領域に存在し続ける
時間に、最後にそのコンテンツへのアクセスが生じてか
らの時間で見積もることが可能となるので、この時間に
着目することで振り分けるサーバの選択が可能となる。
キャッシュ上に配置されたデータを読み込んでいる接続
がない状態で、サーバのトータルスループットをT(M
bps)、キャッシュ可能領域をMc(Mbyte)と
すると、キャッシュが入れ替わる時間Tc(sec)
は、次式で表わされる。 Tc=8Mc/T(sec) ・・・・・・・・・・・・・・(1) 請求項2によれば、請求項1の発明を用いる際に必要と
なる動的に変化していくキャッシュ上のデータが上書き
される時間を推定することが可能になる。
(Embodiment of Claim 2) Claim 2 shows a method for quantitatively calculating a timeout time required when the method of Claim 1 is used. Since the algorithm for allocating cache data in the cache area is FIFO, it is possible to estimate the time when the data continues to exist in the cache area, and the time since the last access to that content. By paying attention to time, it becomes possible to select a server to be distributed.
If there is no connection that is reading data located in the cache, the total throughput of the server is T (M
bps) and the cacheable area is Mc (Mbyte), the cache replacement time Tc (sec)
Is expressed by the following equation. Tc = 8 Mc / T (sec) (1) According to claim 2, the dynamic change necessary when using the invention of claim 1 It will be possible to estimate the time at which the cached data will be overwritten.

【0024】図6は、請求項2に関する処理の動作フロ
ーチャートである。接続振り分け装置12の算出部12
3は、起動されると、サーバのスループットを計測し
(ステップ201)、請求項2の式(1)を参照してタ
イムアウト時間の設定を行う(ステップ202)。この
動作をある一定周期で繰り返し行う。
FIG. 6 is an operational flowchart of the processing according to claim 2. Calculation unit 12 of connection distribution device 12
When the server 3 is activated, the server 3 measures the throughput of the server (step 201) and sets the timeout time by referring to the formula (1) of claim 2 (step 202). This operation is repeated at a certain fixed cycle.

【0025】(請求項3の実施例)請求項3では、請求
項1の手法において、請求項1の手法が失敗に終った場
合には、従来のラウンドトリップタイムによる手法を追
加的に行うものである。すなわち、キャッシュを持って
いるサーバに振り分けることができない時、つまりタイ
ムアウト時間内のサーバが存在しない場合には、従来の
振り分け手法の一つである、ping等のアクティブな
サーバレスポンスタイム測定法を用いて、最もレスポン
スタイムの短いサーバに振り分ける。
(Embodiment of claim 3) In claim 3, in the method of claim 1, when the method of claim 1 is unsuccessful, a conventional round trip time method is additionally performed. Is. That is, when it is not possible to distribute to the server having the cache, that is, when there is no server within the timeout time, an active server response time measuring method such as ping, which is one of the conventional allocation methods, is used. The server with the shortest response time.

【0026】例えば、図3に示すように、3台のサーバ
13,14,15が接続振り分け装置12に接続されて
いる場合、接続振り分け装置12はクライアント11か
らの接続要求の発生を受けて、それぞれのサーバ13,
14,15に対してpingを用いてそれぞれのサーバ
13,14,15へのラウンドトリップタイムを測定す
る。すなわち、pingは、ホスト名かIPアドレスを
指定してパケットを打ち、それに対する応答時間を調べ
ることができる。これにより、ラウンドトリップ時間を
測定することができる。ラウンドトリップタイムとは、
あるコンピュータから別のコンピュータに対してパケッ
トを送信し、それに対する応答が返ってくるまでの時間
のことである。データ取得部121は、その測定結果を
取得し、測定の結果を取得してデータ記憶部122に転
送する。データ記憶部122は、送られてきた測定結果
を蓄積するとともに、コンテンツ毎に最後に接続を振り
分けたサーバおよびその時の時刻を記憶しておく。算出
部123は、データ記憶部122に蓄積されたデータか
ら、計算式で算出を行い、最もラウンドトリップタイム
の短かったサーバを最もレスポンスの良いサーバと判断
し、そのサーバに対して接続を振り分ける。
For example, as shown in FIG. 3, when three servers 13, 14 and 15 are connected to the connection distribution device 12, the connection distribution device 12 receives a connection request from the client 11, Each server 13,
A ping is used for 14 and 15 to measure the round trip time to each server 13, 14, and 15. That is, the ping can specify a host name or an IP address, hit a packet, and check the response time to the packet. Thereby, the round trip time can be measured. What is round trip time?
The time it takes for a computer to send a packet to another computer and get a response back. The data acquisition unit 121 acquires the measurement result, acquires the measurement result, and transfers the measurement result to the data storage unit 122. The data storage unit 122 stores the sent measurement results and also stores the server to which the connection was last assigned for each content and the time at that time. The calculation unit 123 calculates from the data stored in the data storage unit 122 using a calculation formula, determines that the server with the shortest round trip time is the server with the best response, and allocates the connection to that server.

【0027】(請求項4の実施例)請求項4の手法で
は、キャッシュを持っているサーバに振り分けることが
できない場合、つまり、タイムアウト時間内のサーバが
存在しない場合には、従来の振り分け方法の一つであ
る、最も接続数の少ないサーバを選択する手法を用いて
接続を振り分ける。図7は、請求項4の実施例を示す処
理の説明図である。請求項1の方法と従来技術における
最も接続本数の少ないサーバに接続を振り分ける方法と
を組み合わせる手法であって、図7はこの請求項4の手
法における実際の処理の具体例を示している。
(Embodiment of claim 4) According to the method of claim 4, when it is not possible to allocate to the server having the cache, that is, when there is no server within the timeout time, the conventional allocation method is used. Connections are distributed using a method of selecting the server with the smallest number of connections, which is one. FIG. 7 is an explanatory diagram of the processing showing the embodiment of claim 4. This is a method of combining the method of claim 1 and the method of allocating the connection to the server with the smallest number of connections in the prior art, and FIG. 7 shows a specific example of the actual processing in the method of claim 4.

【0028】請求項1の方法を用いる際に必要となるタ
イムアウト時間は、30秒であるとデータから推定され
た。まず、クライアントから接続((1)コンテンツ1
への接続要求)が来ている。初期状態では、どのサーバ
にも接続がないので、サーバ1に接続を振り分ける。次
に、10秒後に接続((2)コンテンツ2への接続要
求)が来ているが、コンテンツ2の配信は初めてである
ので、優先的に振り分けるサーバが存在しないため、サ
ーバ2に振り分ける。その10秒後に接続((3)コン
テンツ1に接続要求)が来ている。コンテンツ1の配信
は接続((1)コンテンツ1への接続要求)で行ってお
り、先ほどの配信開始から20秒経過している。タイム
アウト時間が30秒であるので、まだサーバ1のキャッ
シュにこれから配信を行うデータが残っていると考えら
れるので、接続((3)コンテンツ1への接続要求)は
サーバ1に振り分ける。
The time-out time required when using the method of claim 1 was estimated from the data to be 30 seconds. First, connect from the client ((1) Content 1
Request to connect to) is coming. In the initial state, there is no connection to any server, so the connection is distributed to the server 1. Next, after 10 seconds, a connection ((2) connection request to the content 2) is received, but since the distribution of the content 2 is the first time, there is no server to be distributed preferentially. After 10 seconds, a connection comes (a connection request to (1) content 1). The distribution of the content 1 is performed by connection ((1) request for connection to the content 1), and 20 seconds have elapsed from the start of the distribution. Since the timeout time is 30 seconds, it is considered that there is still data to be distributed in the cache of the server 1, so the connection ((3) connection request to the content 1) is distributed to the server 1.

【0029】その10秒後に接続((4)コンテンツ4
への接続要求)が来ているが、コンテンツ4の配信を行
うのは初めてであるので、最も接続数の少ないサーバ3
に接続を振り分ける。その10秒後に接続((5)コン
テンツ4への接続要求)が来ているが、コンテンツ4は
10秒前にサーバ3に振り分けたので、サーバ3に接続
((5)コンテンツ4への接続要求)を振り分ける。そ
の20秒後に接続((6)コンテンツ1への接続要求)
が来ているが、コンテンツ1が最後に配信されたのは5
0秒前であり、タイムアウト時間を過ぎてしまっている
ため、サーバ1のキャッシュにこれから配信するデータ
が配置されていないので、最も接続本数の少ないサーバ
2に接続を振り分ける。このようにして、各サーバ1,
2,3には、それぞれ2本ずつ接続されていることにな
る。
Connect 10 seconds later ((4) content 4
Connection request to the server 3 is received, but since it is the first time to deliver the content 4, the server 3 with the smallest number of connections
Allocate connections to. A connection (connection request to (5) content 4) comes 10 seconds later, but since content 4 was distributed to server 3 10 seconds ago, connection to server 3 (connection request to (5) content 4) ). Connect 20 seconds later ((6) Request to connect to content 1)
But content 1 was last delivered 5
Since it is 0 second ago and the time-out period has passed, there is no data to be distributed in the cache of the server 1, so the connection is distributed to the server 2 with the smallest number of connections. In this way, each server 1,
It means that two are connected to each of 2 and 3.

【0030】次に、サーバの現在の接続本数に関するデ
ータを、接続振り分け装置12のデータ取得部121が
取得する方法の一例を説明する。サーバの接続本数のデ
ータを取得する手法は複数存在するが、それらのうちで
主に用いられている手法は下記の方法である。 (a)SNMP(Simple Network Ma
nagement Protocol)を利用し、サー
バの各種情報を一元取得管理することができる。 (b)独自に管理システムを構築する手法:上記SNM
Pを用いての管理が不可である場合には(例えば、SN
MPでは効率の悪い場合)、各サーバにリソースを報告
するデーモンを配置し、接続本数を定期的に報告するプ
ログラムにより、必要とされるデータを取得する方法が
ある。これは、振り分け装置12から問い合わせがサー
バのサーバリソース監視プログラムに送られると、この
プログラムから振り分け装置12に対して、それに対す
る返答が返される。
Next, an example of a method for the data acquisition unit 121 of the connection distribution device 12 to acquire the data regarding the current number of connections of the server will be described. There are a plurality of methods for acquiring the data of the number of connected servers, but the method mainly used is the following method. (A) SNMP (Simple Network Ma)
It is possible to centrally acquire and manage various information of the server by using the management protocol). (B) Method of independently constructing management system: SNM mentioned above
If management using P is not possible (for example, SN
In the case of low efficiency in MP), there is a method in which a daemon that reports resources is arranged in each server and a program that periodically reports the number of connections acquires necessary data. This is because when an inquiry is sent from the distribution device 12 to the server resource monitoring program of the server, this program returns a reply to the distribution device 12 to the inquiry.

【0031】(請求項5の実施例)請求項5では、請求
項1の手法において、キャッシュを持っているサーバに
振り分けることができない時、つまりタイムアウト時間
内のサーバが存在しない場合には、従来の振り分け手法
の一つである、サーバリソースを測定し、最もリソース
の余裕のあるサーバを選択する手法を用いて接続を振り
分ける。図3に示すように、接続振り分け装置12にお
いて、データ取得部121が振り分け先のサーバ13,
14,15のリソース(例えば、CPU利用率、ディス
クI/O量、現在のスループット等)を監視して、それ
らのどれか1つを判断の基準として、最もリソースに余
裕のあるサーバに接続を振り分ける。データ取得部12
1は、CPU利用率、ディスクI/O量、現在のスルー
プット等を監視して、情報を取得する。データ記憶部1
22は、データ取得部121が取得したデータを蓄積す
るとともに、コンテンツ毎に最後に接続を振り分けたサ
ーバおよびその時の時刻を蓄積する。算出部123は、
データ記憶部122に蓄積された接続記録から、振り分
けるべきサーバを算出し、接続を振り分ける。
(Embodiment of claim 5) According to claim 5, in the method of claim 1, when it is not possible to distribute to a server having a cache, that is, when there is no server within the timeout time, One of the allocation methods is to measure the server resource and allocate the connection using the method of selecting the server with the most available resources. As shown in FIG. 3, in the connection distribution device 12, the data acquisition unit 121 determines that the distribution destination server 13,
14 or 15 resources (for example, CPU utilization rate, disk I / O amount, current throughput, etc.) are monitored, and one of them is used as a criterion for connection to the server with the most available resources. Sort. Data acquisition unit 12
1 monitors the CPU utilization rate, the disk I / O amount, the current throughput, etc., and acquires information. Data storage unit 1
22 stores the data acquired by the data acquisition unit 121, and also stores the server to which the connection was last assigned for each content and the time at that time. The calculation unit 123
The server to be distributed is calculated from the connection records accumulated in the data storage unit 122, and the connection is distributed.

【0032】データ取得部121が、CPU利用率、デ
ィスクI/O量、現在のスループット等に関するデータ
を取得する方法の一例を説明する。請求項4で説明した
と同じように、サーバのCPU利用率、ディスクI/O
量、スループット等のデータを取得する手法は複数存在
するが、それらのうちで主に用いられている手法は下記
の方法である。 (a)SNMP(Simple Network Ma
nagement Protocol)を利用し、サー
バの各種情報を一元取得管理することができる。(b)
独自に管理システムを構築する手法:上記SNMPを用
いての管理が不可である場合には(例えば、SNMPで
は効率の悪い場合)、各サーバにリソースを報告するデ
ーモンを配置し、CPU利用率やディスクI/O量やト
ータルスループットを定期的に報告するプログラムによ
り、必要とされるデータを取得する方法がある。これ
は、振り分け装置12から問い合わせがサーバのサーバ
リソース監視プログラムに送られると、このプログラム
から振り分け装置12に対して、それに対する返答が返
される。
An example of a method in which the data acquisition unit 121 acquires data relating to the CPU utilization rate, disk I / O amount, current throughput, etc. will be described. Similarly to the case described in claim 4, the CPU utilization rate of the server and the disk I / O
Although there are a plurality of methods for acquiring data such as quantity and throughput, the following method is mainly used among them. (A) SNMP (Simple Network Ma)
It is possible to centrally acquire and manage various information of the server by using the management protocol). (B)
Method of independently constructing management system: When management using the above-mentioned SNMP is impossible (for example, when SNMP is inefficient), a daemon for reporting resources to each server is arranged, and CPU utilization or There is a method of acquiring required data by a program that regularly reports the disk I / O amount and total throughput. This is because when an inquiry is sent from the distribution device 12 to the server resource monitoring program of the server, this program returns a reply to the distribution device 12 to the inquiry.

【0033】(プログラムとその記録媒体)図5の接続
の振り分け装置の処理フローまたは図6の請求項2に関
する処理フローをそれぞれコンピュータで実行可能なプ
ログラムに変換し、変換されたプログラムをCD−RO
M等の記録媒体に格納しておく。これにより、DNSや
その他のコンピュータにこの記録媒体を装着し、プログ
ラムをコンピュータにインストールするか、ネットワー
クを介して他のコンピュータにダウンロードすること
で、プログラムを実行させれば、本発明を容易に実現す
ることができる。
(Program and its recording medium) The processing flow of the connection distribution device of FIG. 5 or the processing flow of claim 2 of FIG. 6 is converted into a computer-executable program, and the converted program is a CD-RO.
It is stored in a recording medium such as M. Thus, the present invention can be easily realized by mounting the recording medium on a DNS or other computer and installing the program in the computer or downloading the program to another computer via a network to execute the program. can do.

【0034】[0034]

【発明の効果】以上説明したように、本発明によれば、
サーバ上のキャッシュをできるだけ活用することによ
り、ディスクアクセスを最小限に抑えることができ、そ
の結果、コンテンツ配信速度を高めることができる、と
いう効果を奏する。
As described above, according to the present invention,
By utilizing the cache on the server as much as possible, the disk access can be minimized, and as a result, the content delivery speed can be increased.

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

【図1】本発明の一実施例を示すサーバへの接続の振り
分け装置のブロック図(請求項1)である。
FIG. 1 is a block diagram (claim 1) of a device for allocating connections to a server according to an embodiment of the present invention.

【図2】本発明(請求項1)の手法と従来手法の性能差
を示す図である。
FIG. 2 is a diagram showing a performance difference between the method of the present invention (claim 1) and the conventional method.

【図3】図1における接続振り分け装置のブロック構成
図である。
FIG. 3 is a block configuration diagram of a connection distribution device in FIG.

【図4】ディスクおよびメモリのデータ転送速度とアク
セス時間を示す図である。
FIG. 4 is a diagram showing a data transfer rate and an access time of a disk and a memory.

【図5】図3における接続振り分け装置の処理フローチ
ャートである。
5 is a processing flowchart of the connection distribution device in FIG.

【図6】本発明の一実施例を示すタイムアウト時間の設
定方法を示す処理フローチャート(請求項2)である。
FIG. 6 is a processing flowchart (claim 2) showing a method of setting a timeout time according to an embodiment of the present invention.

【図7】本発明を用いた実際の処理の例を示す説明図
(請求項4)である。
FIG. 7 is an explanatory diagram (claim 4) showing an example of actual processing using the present invention.

【図8】従来における複数サーバによる振り分け負荷分
散の図である。
FIG. 8 is a diagram of distribution load distribution by a plurality of servers in the related art.

【図9】従来手法におけるディスク上のデータおよびキ
ャッシュのイメージを示す図である。
FIG. 9 is a diagram showing an image of data on a disk and a cache in a conventional method.

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

11…クライアント、12A…スイッチ、13,14,
15…サーバ、12…接続振り分け装置、121…デー
タ取得部、122…データ記憶部、123…算出部。
11 ... Client, 12A ... Switch, 13, 14,
15 ... Server, 12 ... Connection distribution device, 121 ... Data acquisition unit, 122 ... Data storage unit, 123 ... Calculation unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 織 克典 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5B045 BB28 BB48 GG01 GG04 5B082 HA02 HA05 HA08 5B089 GA11 GA21 HA10 JB22 KA05 KA06    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Katsunori Ori             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation F term (reference) 5B045 BB28 BB48 GG01 GG04                 5B082 HA02 HA05 HA08                 5B089 GA11 GA21 HA10 JB22 KA05                       KA06

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 複数サーバに単一ないし複数の同一のコ
ンテンツ群を配置し、接続をそれぞれのサーバに割り振
っていくことにより、負荷分散を図るサーバへの接続の
振り分け方法において、 コンテンツ毎に最後に当該コンテンツへのアクセスが生
じてからのタイムアウト時間を設定しておき、 新規に接続要求が来た場合には、上記タイムアウト時間
内であれば、当該コンテンツの配信で最後に接続を振っ
たサーバに接続を振り分けるようにすることを特徴とす
るサーバへの接続の振り分け方法。
1. A method of allocating connections to servers for distributing loads by allocating a single or a plurality of identical content groups to a plurality of servers and allocating the connections to the respective servers. Set the timeout time after the access to the content, and if a new connection request arrives, if it is within the above timeout time, the server that last connected to the delivery of the content A method of allocating connections to a server, characterized in that the connections are categorized to each server.
【請求項2】 請求項1に記載サーバへの接続の振り分
け方法において、 前記タイムアウト時間を定量的に算出する場合、キャッ
シュ上に配置されたデータを読み込んでいる接続がない
状態で、サーバのトータルスループットをT(Mbp
s)、キャッシュ可能領域をMc(Mbyte)とする
と、キャッシュが入れ替わる時間Tc(sec)は、T
c=8Mc/T(sec)で算出できることから、最後
に当該コンテンツへのアクセスが生じてからの上記時間
Tcで見積ることができ、これに基づいて振り分けるサ
ーバを選択することを特徴とするサーバへの接続の振り
分け方法。
2. The method of allocating connections to servers according to claim 1, wherein when the timeout time is quantitatively calculated, the total server count is set in a state where there is no connection reading data arranged in the cache. Throughput is T (Mbp
s), assuming that the cacheable area is Mc (Mbyte), the time Tc (sec) for changing the cache is T
Since it can be calculated by c = 8 Mc / T (sec), it can be estimated by the time Tc since the last access to the content, and a server characterized by selecting a server to be distributed based on this Connection distribution method.
【請求項3】 請求項1に記載のサーバへの接続の振り
分け方法において、 前記タイムアウト時間内に振り分けるべきサーバが存在
しない時には、ping等のアクティブなサーバレスポ
ンスタイム測定法を用いて、最もレスポンスタイムの短
かいサーバに振り分けることを特徴とするサーバへの接
続の振り分け方法。
3. The method of distributing the connection to the server according to claim 1, wherein when there is no server to be distributed within the timeout time, an active server response time measuring method such as ping is used to obtain the most response time. A method of allocating connections to servers characterized by allocating to short servers.
【請求項4】 請求項1に記載のサーバへの接続の振り
分け方法において、 前記タイムアウト時間内に振り分けるべきサーバが存在
しない時には、最も接続数の少ないサーバに振り分ける
ことを特徴とするサーバへの接続の振り分け方法。
4. The method of distributing a connection to a server according to claim 1, wherein when there is no server to be distributed within the timeout time, the connection to the server having the smallest number of connections is made. Distribution method.
【請求項5】 請求項1に記載のサーバへの接続の振り
分け方法において、 前記タイムアウト時間内に振り分けるべきサーバが存在
しない時には、サーバリソースを測定し、最もリソース
に余裕のあるサーバを選択することにより、該サーバに
接続を振り分けることを特徴とするサーバへの接続の振
り分け方法。
5. The method of allocating a connection to a server according to claim 1, wherein when there is no server to be distributed within the timeout time, the server resource is measured and the server having the most resource is selected. The method for allocating connections to the server is characterized by allocating connections to the server.
【請求項6】 接続要求をサーバに振り分ける接続振り
分け装置において、 振り分け先のサーバのラウンドトリップタイム、現在の
接続本数、CPU利用率、ディスクI/O量、トータル
スループットのいずれかを含む各種データを取得するデ
ータ取得手段と、コンテンツ毎に最後に接続を振り分け
たサーバおよび該サーバに振り分けた時刻を記憶するデ
ータ記憶手段と、上記データ取得手段が取得したデータ
および上記データ記憶手段に記憶された接続記録から、
振り分けるべきサーバを算出する算出手段とを有するこ
とを特徴とする接続振り分け装置。
6. A connection distribution device for distributing a connection request to a server, wherein various data including one of a round trip time of a distribution destination server, a current number of connections, a CPU utilization rate, a disk I / O amount, and a total throughput. Data acquisition means for acquiring, a server that lastly distributes connections for each content and a data storage means that stores the time of allocation to the server, data acquired by the data acquisition means, and connections stored in the data storage means From the record,
A connection distribution device, comprising: a calculating unit that calculates a server to be distributed.
【請求項7】 請求項1から請求項5までの中のいずれ
かに記載のサーバへの接続の振り分け方法の手順をコン
ピュータに実行させるための接続振り分け用プログラ
ム。
7. A connection distribution program for causing a computer to execute the procedure of the method for distributing the connection to the server according to any one of claims 1 to 5.
【請求項8】 請求項7に記載の接続振り分け用プログ
ラムを格納したことを特徴とするコンピュータで読み取
り可能な記録媒体。
8. A computer-readable recording medium on which the connection distribution program according to claim 7 is stored.
JP2001344439A 2001-11-09 2001-11-09 Distribution method of connection to server, program and recording medium Expired - Lifetime JP3800508B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001344439A JP3800508B2 (en) 2001-11-09 2001-11-09 Distribution method of connection to server, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001344439A JP3800508B2 (en) 2001-11-09 2001-11-09 Distribution method of connection to server, program and recording medium

Publications (2)

Publication Number Publication Date
JP2003150570A true JP2003150570A (en) 2003-05-23
JP3800508B2 JP3800508B2 (en) 2006-07-26

Family

ID=19157969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001344439A Expired - Lifetime JP3800508B2 (en) 2001-11-09 2001-11-09 Distribution method of connection to server, program and recording medium

Country Status (1)

Country Link
JP (1) JP3800508B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007317183A (en) * 2006-05-16 2007-12-06 Thomson Licensing Network data storage system
JP2010165193A (en) * 2009-01-16 2010-07-29 Fujitsu Ltd Apparatus, method and program for distributing load
JP2011109180A (en) * 2009-11-12 2011-06-02 Oki Networks Co Ltd Communication control apparatus, communication control program, data distribution server, data distribution program, and data distribution system
JP2012070327A (en) * 2010-09-27 2012-04-05 Oki Networks Co Ltd Distribution system, distribution server management apparatus, distribution server management program, distribution server, and distribution program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007317183A (en) * 2006-05-16 2007-12-06 Thomson Licensing Network data storage system
JP2010165193A (en) * 2009-01-16 2010-07-29 Fujitsu Ltd Apparatus, method and program for distributing load
US8539077B2 (en) 2009-01-16 2013-09-17 Fujitsu Limited Load distribution apparatus, load distribution method, and storage medium
JP2011109180A (en) * 2009-11-12 2011-06-02 Oki Networks Co Ltd Communication control apparatus, communication control program, data distribution server, data distribution program, and data distribution system
JP2012070327A (en) * 2010-09-27 2012-04-05 Oki Networks Co Ltd Distribution system, distribution server management apparatus, distribution server management program, distribution server, and distribution program

Also Published As

Publication number Publication date
JP3800508B2 (en) 2006-07-26

Similar Documents

Publication Publication Date Title
CN106656800B (en) Path selection method and system, network acceleration node and network acceleration system
US9660890B2 (en) Service provider optimization of content management
CN111181849B (en) Return source path determining method, determining device, computer equipment and storage medium
JP4529974B2 (en) Server load balancing system, server load balancing device, content management device, and server load balancing program
KR101072966B1 (en) Method, device and system for distributing file data
US7823156B2 (en) Method of hashing address space to storage servers
JP3786328B2 (en) Server and communication control method
US8286176B1 (en) Optimizing resource configurations
US20130007253A1 (en) Method, system and corresponding device for load balancing
US20030172163A1 (en) Server load balancing system, server load balancing device, and content management device
JP2002091936A (en) Device for distributing load and method for estimating load
US20110087783A1 (en) Allocating resources of a node in a server farm
CN108737470B (en) Access request source returning method and device
WO2010020152A1 (en) Method, system and domain name solution server for realizing network server load balance
JP6272190B2 (en) Computer system, computer, load balancing method and program thereof
CN108124020B (en) Domain name resolution method, system and equipment
CN111212134A (en) Request message processing method and device, edge computing system and electronic equipment
CN107105013B (en) File processing method, server, terminal and system
CN110213349A (en) A kind of HTTP dispatching method and device
CN109639796A (en) A kind of implementation of load balancing, device, equipment and readable storage medium storing program for executing
JP2002259354A (en) Network system and load distributing method
JP3800508B2 (en) Distribution method of connection to server, program and recording medium
JP2000112908A (en) Load distributed dns system
JP4595274B2 (en) Load distribution method and load distribution apparatus
KR101525541B1 (en) Contents delivery network service system and method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060315

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060420

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3800508

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130512

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140512

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term