Penerapan Container Load Balancing untuk Manajemen Trafik pada Learning Management System
Implementation of Container Load Balancing for Traffic Management on Learning Management System
Metode pembelajaran daring berbasis e-learning saat ini menjadi keharusan untuk diterapkan di berbagai lembaga pendidikan di Indonesia dalam rangka menunjang kegiatan pembelajaran yang lebih fleksibel. Kondisi tersebut menjadikan Moodle learning management system (LMS) sebagai salah satu platform yang banyak digunakan untuk merealisasikan sistem pembelajaran berbasis e-learning.
Peningkatan intensitas penggunaan Moodle LMS serta kompleksitas fitur dari Moodle LMS yang mencakup banyak aktivitas didalamnya, menjadikan tingkat ketersediaan server menjadi faktor penting bagi berjalannya aktivitas Moodle dengan optimal. Di sisi lain, arsitektur server web tunggal sudah tidak lagi relevan dengan kondisi tersebut. Oleh karena itu, membangun infrastruktur server Moodle yang mampu menunjang berjalannya aktivitas pembelajaran dengan baik sangatlah penting. Penerapan arsitektur clustering server berbasis docker swarm cluster yang memuat implementasi metode container load balancing menjadi solusi mengenai isu standar availability server Moodle. Docker swarm cluster terdiri dari node manager dan node worker, dengan implementasi container load balancing, node manager mampu mengarahkan request menuju node worker secara merata agar load traffic dapat diatasi dengan baik dan kinerja Moodle lebih optimal.
Dari penelitian ini, diperoleh hasil bahwa server Moodle yang dibangun di lingkungan docker swarm cluster dengan menerapkan metode container load balancing mampu melakukan manajemen load traffic dari user request dengan baik dilihat dari hasil pengujian dengan parameter throughput dan error rate pada aktivitas login, view course, assignments dan quiz. NFS mampu menyediakan penyimpanan data persisten yang dibutuhkan Moodle dalam melakukan tracking terhadap volume moodlecode dan moodledata. Mekanisme scaling dan failover dari docker swarm berjalan dengan baik sehingga membuat tingkat ketersediaan server menjadi tinggi.
E-learning-based learning methods must be applied in various educational institutions in Indonesia to support more flexible learning activities. This condition makes the moodle learning management system (LMS) one platform widely used to realize e-learning-based learning systems.
The increasing trend of using moodle learning management systems makes server availability standards a critical component to support optimal moodle activities. On the other hand, a single web server architecture is no longer relevant to these conditions. Therefore, building a Moodle server infrastructure that can support learning activities well is very important. The application of a web server clustering architecture based on a docker swarm cluster that includes the implementation of the container load balancing method is a solution to the issue of Moodle server availability standards. The Docker swarm cluster consists of a node manager and a worker node. With container load balancing, node managers can route requests to worker nodes evenly so traffic loads can distribute appropriately and Moodle performance can be optimized.
This study found that the Moodle server builds in the docker swarm cluster environment by applying the container load balancing. This method managed well to traffic from user requests, judging from the test results with throughput parameters and error rates on login activities, view courses, assignments, and quizzes. The failover mechanism of the docker swarm works well, making the server availability high. NFS can provide the persistent data storage that Moodle needs to track Moodle code and data volumes.