AUTO SCALING DATABASE SERVICE WITH MICRO KUBERNETES CLUSTER

  • Anita Rosdina Nasution Fakultas Teknik Elektro, Universitas Telkom, Indonesia
  • Favian Dewanta Fakultas Teknik Elektro, Universitas Telkom, Indonesia
  • Bagus Aditya Fakultas Teknik Elektro, Universitas Telkom, Indonesia
Keywords: HPA, Micro Kubernetes Cluster, MongoDB

Abstract

Data storage media, or what is often referred to as a database is something that is quite vital for technological developments. As the amount of data increases, it allows database services to experience downtime. For this reason, it is necessary to build an infrastructure that can replicate itself, so that it will avoid downtime. This infrastructure can be built using a container orchestration tool called Kubernetes which has high availability and autoscaler features, so it can replicate and guarantee service availability, to avoid downtime. This research builds a MongoDB NoSQL database service. This service is built using micro Kubernetes clusters from several different data centers. This service also implements a horizontal pod autoscaler feature that is capable of replicating pods, to increase high availability and avoid downtime. The autoscaling process will be tested by providing a load request for the service. Testing is done several times on each server. This study will compare the MongoDB service that was built monolithically with a micro Kubernetes cluster, and with HPA features and without HPA features by paying attention to several things. Based on Response Time, Response Code per Seconds, and CPU Usage, the results obtained are that the service built on a micro Kubernetes cluster with HPA features is the best, with a constant response time value below 100 ms, Response Code per Seconds reaches 500 threads per second. seconds, and CPU Usage in the range of 30 – 55%.

Downloads

Download data is not yet available.

References

B. Aditya, “Optimalisasi Algoritma WRR pada LVS/TUN sebagai Load Balancer MariaDB Galera Cluster.” Institut Teknologi Bandung. 2015.

A. Rahmatulloh, M. S. N. Firmansyah “Implementasi Load Balancing Web Server menggunakan Haproxy dan Sinkronisasi File pada Sistem Informasi Akademik Universitas Siliwangi.” Universitas Siliwangi. 2017.

Anaqvi, “ Introduction to MicroK8s “ Sep, 16. 2019 Available : https://ubuntu.com/blog/introduction-to-microk8s-part-1-2.

Indonesian Cloud, “ Mengenal Cloud Computing: Pengertian, Tipe dan Fungsinya” Available : https://indonesiancloud.com/mengenal-cloudcomputing/

V. G. da Silva, M. Kirikova, and G. Alksnis, “Containers for Virtualization: An Overview,” Appl. Comput. Syst., vol. 23, no. 1, pp. 21–27, 2018, doi: 10.2478/acss-2018-0003

X. L. Xie, P. Wang, and Q. Wang, “The performance analysis of Docker and rkt based on Kubernetes,” ICNC-FSKD 2017 - 13th Int. Conf. Nat. Comput. Fuzzy Syst. Knowl. Discov., pp. 2137–2141, 2017, doi: 10.1109/FSKD.2017.8393101.

F. KEVIN RAJENDRA RASANDRIYA, “Implementasi Platform Internet of Things (IoT) pada Virtualisasi Container Menggunakan Docker,” Telkom University, 2020.

G. C. Platform and A. C. U. Docker, “Building Modern Clouds : Using Docker , Kubernetes,” 2019 IEEE 9th Annu. Comput. Commun. Work. Conf., pp. 184–189, 2019, doi: 10.1109/CCWC.2019.8666479.

C. Chang and S. Yang, “A Kubernetes-Based Monitoring Platform for Dynamic Cloud Resource Provisioning,” 2017.

Published
2022-08-20
How to Cite
[1]
A. R. Nasution, F. Dewanta, and B. Aditya, “AUTO SCALING DATABASE SERVICE WITH MICRO KUBERNETES CLUSTER”, J. Tek. Inform. (JUTIF), vol. 3, no. 4, pp. 923-927, Aug. 2022.