10th International Scientific Conference Technics, Informatics and Education – TIE 2024 , str. 34-41
АУТОР(И) / AUTHOR(S): Veljko Lončarević , Željko Jovanović , Vanja Luković , Marina Milošević , Savo Šućurović , Aleksa Iričanin
DOI: 10.46793/TIE24.034L
САЖЕТАК /ABSTRACT:
This paper explores horizontal scaling of PHP MVC applications with session preservation for enhanced availability and resource efficiency. It covers theoretical aspects of MVC architecture, PHP in web development, session handling, and horizontal scaling methods, including load balancers, Docker, and Kubernetes. The practical methodology details environment setup, application development, session
management, Dockerization, Kubernetes integration, and horizontal scaling configuration. Performance testing reveals significant improvements, showing a response time decrease from an unresponsive state at 1000 RPS (5111 ms) to 32 ms at 2500 RPS with horizontal scaling. The study contributes insights and practical guidance for highly available and scalable web applications.
КЉУЧНЕ РЕЧИ / KEYWORDS:
horizontal scaling; session preservation; Kubernetes; high availability; load balancing
ПРОЈЕКАТ / ACKNOWLEDGEMENTS:
This study was supported by the Ministry of Education, Science and Technological Development of the Republic of Serbia, and these results are parts of the Grant No. 451-03-66 / 2024-03 /200132 with University of Kragujevac – Faculty of Technical Sciences Čačak.
ЛИТЕРАТУРА / REFERENCES:
- Majeed, A., Rauf, I. (2018). MVC Architecture: A Detailed Insight to the Modern Web Applications Development, Crimson Publishers Wings to the Research Peer Review Journal of Solar & Photoenergy Systems.
- Fowler, M. (2003). Patterns of Enterprise Application Architecture, Pearson Education.
- PHP Programming – Cross Site Scripting Attacks. Wikibooks. [Online]. Available: https://en.wikibooks.org/wiki/PHP_Programming/Cross_Site_Scripting_Attacks Accessed: Sep. 6, 2023.
- Mihret, E. (2021). PHP Sessions and Cookies – Sci-Tech with Estif, DOI: 10.13140/RG.2.2.31128.52482.
- Millnert, V., Eker, J. (2020). HoloScale: horizontal and vertical scaling of cloud resources, IEEE/ACM 13th International Conference on Utility and Cloud Computing (UCC), Leicester, UK, 196-205, doi: 10.1109/UCC48980.2020.00038.
- Bondi, B. (2000) Characteristics of scalability and their impact on performance. WOSP ‘00, 195.
- Afzal S., Kavitha, G. (2019). Load balancing in cloud computing – A hierarchical taxonomical classification, J Cloud Comp, 8, 22, https://doi.org/10.1186/s13677-019-0146-7.
- Docker Documentation, [Online]. Available: https://docs.docker.com/. Accessed on: January 16th, 2024.
- Bilgin, I. (2019). Kubernetes Patterns: Reusable Elements for Designing Cloud-Native Applications. O’Reilly Media.
- Barzu, A. P., Barbulescu, M., Carabas, M. (2017), Horizontal scalability towards server performance improvement, 16th RoEduNet Conference: Networking in Education and Research (RoEduNet), Targu-Mures, Romania, 1-6, doi: 10.1109/ROEDUNET.2017.8123729.
- Casalicchio, E. (2019). A study on performance measures for auto-scaling CPU-intensive containerized applications, Cluster Comput, 22, 995–1006. doi: 10.1007/s10586-018-02890-1.