由於網際網路應用的蓬勃發展,熱門網站所提供的服務也越趨多元化。這些服務通常具有即時與動態資訊等特性,因此若僅僅由一台伺服器來應付所有要求,常有可能發生過度負載的狀況。本論文將採用一種有彈性的註冊協定,使得負載平衡系統能夠因應情況,很容易的即時增加或減少提供動態網頁之伺服器。並且利用加權分配演算法分配使用者需求,讓使用者獲得公平的服務品質。我們運用多台用戶端設備在短時間內送出大量連線要求給動態網頁伺服器系統,隨機存取動態網頁。實驗結果顯示我們的系統對於提供動態網頁,確實可以根據伺服器服務能力分配負載。我們並且比較單一動態網頁伺服器與負載平衡系統之能力差異。最後,我們歸納出一套決定叢集網頁伺服器能力值的方法。
Because of the flourishing development of the internet applications, the services offered by popular web sites become diversified. Usually, the characteristics of these services are real-time and dynamic. Therefore, using only one single server to serve all the requests will always be overloaded. In this thesis, we adopt a flexible registration protocol to make the load balancing system easily to add or remove web servers according to the instantaneous situation. In addition, client requests can be distributed to the server by using Weighted Distributing Algorithm and users can obtain fair quality of service. We use a number of computers to simulate the large amount of client requests connecting to our load balancing system, and accessing the webpage randomly. The experimental results show that our system can distribute load according to the abilities of the servers for offering the dynamic webpage. We also compare the different abilities between single web server and our load balancing system. Finally, we will derive a method to get the ability of clustered web servers.