Penerapan Microservices dan Amazon Elastic Container Service untuk Mendukung Scalability
Keywords:
Efektivitas pemberitaan, Buletin iNews GTV, Partai Perindo.Abstract
The technology age under development provides the impact of increasing the number of users in a system may also increase the workload received by the server. This condition is experienced in PT. X, where the server cannot handle the growing workload over time, this makes the server overloaded and slow in response until it gets to the server condition is down and unreachable by the user. This research tried to provide solutions to the problems faced by PT. X by applying a system of microservices and Amazon Elastic Container Service. By applying microservices then all services will be split into independent and can ease the workload of the server. Moreover, with the combination of Amazon ECS then the process of scaling will be more effective only on the service that is experiencing an overload condition so that the process of scaling can adjust the conditions of the workload on the server at that time. The scaling process will allow the system to increase or decrease the number of tasks performed without a lack or excessive use of resources. Based on analysis of the implementation of microservices and the Amazon ECS on the PT. X system, It can be concluded that the scalable microservices system produces a lower average response time with a difference of 805.56% compared to unscalable microservices and 38% compared to monolithic, then the resulting deviation is 902.22% lower than unscalable microservices and 216.87% lower than monolithic, then the resulting throughput is higher by 22018.61 requests/minutes from unscalable microservices and 24524.16 requests/minutes from monolithic. For a maximum concurrent user comparison between a scalable microservices system, an unscalable microservices, and monolithic of 2000:1454:28. In addition, the CPU usage of scalable microservices systems is 20%-21% lower, especially at login, generate access tokens, and get schedules when compared to unscalable microservices systems, due to workload sharing system with replication tasks. Additionally, the use of resources can adjust to workload conditions dynamically and efficientlyReferences
[1] Amaral, M., Polo, J., Carrera, D., Mohomed, I., Unuvar, M.,
& Steinder, M. 2015. Performance Evaluation of
Microservices Architectures Using Containers. 2015 IEEE
14th International Symposium on Network Computing and
Applications, 27–34.
DOI=https://doi.org/10.1109/NCA.2015.49.
[2] Amazon Web Services Inc. 2019. What is Amazon Elastic
Container Service? Amazon Elastic Container Service
Developer Guide.
URI=https://docs.aws.amazon.com/AmazonECS/latest/devel
operguide/Welcome.html.
[3] Cusack, G., Nazari, M., Goodarzy, S., Oberai, P., Rozner, E.,
Keller, E., & Han, R. 2019. Efficient Microservices with
Elastic Containers. Proceedings of the 15th International
Conference on Emerging Networking EXperiments and
Technologies, 65–67.
DOI=https://doi.org/10.1145/3360468.3368180.
[4] Di Francesco, P., Lago, P., & Malavolta, I. 2019.
Architecting with microservices: A systematic mapping
study. Journal of Systems and Software, 150(February), 77–
97. DOI=https://doi.org/10.1016/j.jss.2019.01.001.
[5] Docker. 2020. What is a Container? | App Containerization |
Docker. Docker.Com.
URI=https://www.docker.com/resources/what-container.
[6] Habibullah, S., Liu, X., Tan, Z., Zhang, Y., & Liu, Q. 2019.
Reviving Legacy Enterprise Systems with Micro serviceBased Architecture with in Cloud Environments. 8th
International Conference on Soft Computing, Artificial
Intelligence and Applications, 173–186.
DOI=https://doi.org/10.5121/csit.2019.90713.
[7] Haselböck, S., Weinreich, R., & Buchgeher, G. 2017.
Decision guidance models for microservices. Proceedings of
the Fifth European Conference on the Engineering of
Computer-Based Systems, Part F1305, 1–10.
DOI=https://doi.org/10.1145/3123779.3123804.
[8] Jamshidi, P., Pahl, C., Mendonca, N. C., Lewis, J., & Tilkov,
S. 2018. Microservices: The Journey So Far and Challenges
Ahead. IEEE Software, 35(3), 24–35.
DOI=https://doi.org/10.1109/MS.2018.2141039.
[9] Klinaku, F., Frank, M., & Becker, S. 2018. CAUS.
Companion of the 2018 ACM/SPEC International
Conference on Performance Engineering, 93–98.
DOI=https://doi.org/10.1145/3185768.3186296.
[10] Lehrig, S., Eikerling, H., & Becker, S. 2015. Scalability,
Elasticity, and Efficiency in Cloud Computing. Proceedings
of the 11th International ACM SIGSOFT Conference on
Quality of Software Architectures, May, 83–92.
DOI=https://doi.org/10.1145/2737182.2737185.
[11] Makhloufi, Y. 2015. Moving from Monolithic to Distributed
Architecture. (Thesis, Kungliga Tekniska Högskolan School
of Information and Communication Technology).
URI=https://pdfs.semanticscholar.org/2c74/a9466704e3d764
a0bb0880e676ccc350712e.pdf.
[12] Ponce, F., Marquez, G., & Astudillo, H. 2019. Migrating
from monolithic architecture to microservices: A Rapid
Review. 2019 38th International Conference of the Chilean
Computer Science Society (SCCC), 2019-Novem(September),
1–7.