Laporkan Masalah

EVALUASI METODE LOAD BALANCING DAN FAULT TOLERANCE PADA CHATTING SERVER JARINGAN SOSIAL

SAMPURNA DADI R., Selo, S.T., M.T., M. Sc., Ph.D; Teguh Bharata Adji, S.T., M.T., M. Eng., Ph.D

2017 | Tesis | S2 Teknik Elektro

Perkembangan aplikasi social network telah tumbuh begitu cepat dengan berbagai aplikasi yang didukung oleh piranti cerdas sebagai platform untuk menjalankanya. Salah satu aplikasi social network yang digunakan adalah aplikasi chat. Ketika jumlah pengguna yang mengakses layanan chat meningkat dan server tidak dapat mengatasinya, tentu ini dapat menjadi masalah yang mengakibatkan layanan server terhenti disebabkan adanya beban berlebih yang diterima oleh server tunggal. Sehingga diperlukan metode load balancing yang dapat menjaga QoS aplikasi chatting serta mampu meningkatkan skalabilitas dari sistem tersebut dengan mendistribusikan beban kedalam beberapa server. Metode load balancing harus dapat menjaga agar komunikasi yang terjadi dapat terus terjalin dengan memperhatikan sesi yang ada. Dalam mendukung sistem load balancing yang stabil, sebelumnya dilakukan pengujian antara algoritma round robin dan least connection. Dari pengujian yang dilakukan least connection lebih unggul, hal tersebut dibuktikan dengan nilai response time yang lebih kecil serta throughput yang lebih besar dibandingkan dengan round robin. Dengan load balancing, sistem mampu menangani koneksi lebih banyak yaitu 5000 koneksi dengan 500 request/detik. Sedangkan tanpa load balancing sistem hanya mampu menangani koneksi 3000 kali dengan 300 request/detik. Artinya dengan load balancing skalabilitas sistem dapat ditingkatkan. Sistem fault tolerance telah berhasil diterapkan. Ketika load balancer master mengalami kegagalan maka perannya dapat digantikan oleh load balancer slave dalam waktu 3 detik dan saat load balancer master pulih kembali maka peran tersebut dapat diambil alih kembali dalam waktu 2 detik, sehingga ketersediaan sistem dapat terus terjaga. Alhasil dengan dibangunnya sistem load balancing dan fault tolerance, maka kinerja layanan dari aplikasi chatting dapat terus ditingkatkan serta persentase kegagalan yang diakibatkan kesalahan pada salah satu server load balancing dapat diperkecil.

The development of social network applications has grown so fast with various applications supported by smart tools as a platform to run it. One of the social network application that is used is chat application. As the number of users accessing the chat service increases and the server can not handle it, this can certainly be a problem that results in server services being stopped due to an excess load being received by a single server. So we need a load balancing method that can keep QoS chat application and can improve the scalability of the system by distributing the load into multiple servers. The load balancing method should be able to keep the communication going by keeping in mind the existing session. To support the load balancing system, we tested the round robin algorithm and least connection. From testing done least connection is superior, because it has a smaller response time and greater throughput compared with round robin. With load balancing, the system is capable of handling 5000 connections with 500 requests/second. While no load balancing system is only able to handle 3000 connections with 300 requests/ second. This means that load balancing system scalability can be improved. The fault tolerance system has been successfully implemented. When the master balancer load fails its role is replaced by the slave load balancer within 3 seconds and when the master balancer load is recovered then the role can be retrieved within 2 seconds so that the system's availability can be maintained. As a result with the construction of load balancing and fault tolerance system, the service performance of the chat application can be continuously improved and the percentage of failure caused by error in one of the load balancing server can be minimized.

Kata Kunci : load balancer, fault tolerance, sistem server chatting.

  1. S2-2017-389295-abstract.pdf  
  2. S2-2017-389295-bibliography.pdf  
  3. S2-2017-389295-tableofcontent.pdf  
  4. S2-2017-389295-title.pdf