網路服務提供者,如搜尋引擎、入口網站、購物網站甚至校園選課系統、數位學習系統,最常面臨的是大量的用戶端連線造成前端伺服器或後端儲存資料的資料庫無法負荷。對於系統管理者的挑戰,是如何使網路服務能夠快速回應、系統保持穩定,甚至於系統可以彈性擴充、具有容錯性等。目前解決大量連線問題方式大都是以負載平衡架構來處理。雖然目前有許多開放原始碼可以用來架設負載平衡架構,但並非適用於各種網路服務,而且通常還會有一些不足和限制。本研究將針對線上數位學習系統採用現有不同的負載平衡架構之效能進行評估。所探討的負載平衡架構包括開放原始碼的HAProxy、L4-L7負載平衡設備以及HTTP Redirect等架構。希望藉由三種架構的效能比較,評估線上數位學習系統使用何種架構來服務較為適合。
The most common problem faced by the Internet web service provider is to resolve the congestion problem caused by the large number of on-line users at a very short time interval. For a system administrator, the most often encountered problem is how to make web services respond quickly and provide better quality of services for the users. The load balancing architecture has been proposed and used to overcome this issue. Although there are many open source solutions that can be used to build a load balancing architecture, these solutions may not be suitable to various Internet services, and may have a number of deficiencies and limitations. In this thesis, we will evaluate the existing structure of the load balancing architecture, including the open source HAProxy, Layer 4-Layer 7 load balancing equipment, and HTTP redirect structure, to see how they perform in the e-learning system. By comparing the results of these three frameworks, we can conclude that the HTTP redirect is best for the e-learning system.