A Horizontally Scalable WebSocket Architecture for Cost-Effective Online Examination Proctoring System on AWS Cloud Infrastructure

Authors

  • Eko Cahyo Nugroho Bina Nusantara University

DOI:

https://doi.org/10.21512/emacsjournal.v7i1.12770

Keywords:

Server Management, LMS Proctoring, Cloud Computing, Message Broker, Horizontal Scaling

Abstract

In this research work we present the cost-effective prototype of a WebSocket server with a horizontal scaling feature on AWS Cloud Service. AWS API Gateway for establishing WebSocket connections also works but is exceedingly expensive for schools. The solution presented in this study proposes an on-premise WebSocket server deployed at AWS EC2 instances. The server utilizes Node. js's cluster module to make the most out of the CPU's cores and has also implemented a Redis pub/sub mechanism to easily horizontal scale it to many EC2 instances. The system architecture utilizes DynamoDB to store students' proctoring status recorded on the first attempt at the quiz. Then, the real status update is delivered by WebSocket message. The implementation shows effective real-time monitoring capabilities for online examinations, including student activity tracking, automated disconnection detection, and proctor-student interaction features. The results show improved cost efficiency compared to API Gateway as the WebSocket server. This solution provides schools with a cost-effective and reliable proctoring feature in LMS for implementing online examination proctoring systems at scale.

Dimensions

Plum Analytics

Author Biography

Eko Cahyo Nugroho, Bina Nusantara University

Computer Science Department, School of Computer Science

References

Alexeev, V. A., Domashnev, P. V., Lavrukhina, T. V., & Nazarkin, O. A. (2019). The Design Principles of Intelligent Load Balancing for Scalable WebSocket Services Used with Grid Computing. Procedia Computer Science, 150, 61–68. https://doi.org/10.1016/j.procs.2019.02.014

Alimudin, A., M, A. F., Sarinastiti, W., Yuwono, W., Winarno, I., Santoso, R., Murdaningtyas, C. D., Ilyas, M. I., & Muktasib, M. R. (2024). Implementation of Automatic Proctoring in Online Exam System. 2024 International Electronics Symposium (IES), 698–702. https://doi.org/10.1109/IES63037.2024.10665805

Arvindhan, M., & Anand, A. (2019). Scheming an Proficient Auto Scaling Technique for Minimizing Response Time in Load Balancing on Amazon AWS Cloud. SSRN Electronic Journal. https://doi.org/10.2139/ssrn.3390801

Castaño, M., Noeller, C., & Sharma, R. (2021). Implementing remotely proctored testing in nursing education. Teaching and Learning in Nursing, 16(2), 156–161. https://doi.org/10.1016/j.teln.2020.10.008

Eka Putra, F. P., Muslim, F., Hasanah, N., Holipah, Paradina, R., & Alim, R. (2024). Analisis Komparasi Protokol Websocket dan MQTT Dalam Proses Push Notification. Jurnal Sistim Informasi Dan Teknologi, 63–72. https://doi.org/10.60083/jsisfotek.v5i4.325

Friendly, Sembiring, A. P., Faza, S., Lukcyhasnita, A., & Destiadi, R. (2023). Design and Implementation of IOT Connection With Websocket Using PHP. International Journal of Research in Vocational Studies (IJRVOCAS), 2(4), 94–98. https://doi.org/10.53893/ijrvocas.v2i4.173

Han, S., Nikou, S., & Yilma Ayele, W. (2024). Digital proctoring in higher education: a systematic literature review. International Journal of Educational Management, 38(1), 265–285. https://doi.org/10.1108/IJEM-12-2022-0522

Juansen, M., & Simatupang, S. (2023). Integrasi Mesin Absensi dan Pusher Notification pada Sistem Informasi Akademik Sekolah Untuk Monitoring Absensi Real-Time. Journal of Computer System and Informatics (JoSYC), 4(4), 1028–1035. https://doi.org/10.47065/josyc.v4i4.3840

Khoda Parast, F., Sindhav, C., Nikam, S., Izadi Yekta, H., Kent, K. B., & Hakak, S. (2022). Cloud computing security: A survey of service-based models. Computers & Security, 114, 102580. https://doi.org/10.1016/j.cose.2021.102580

Lazidis, A., Tsakos, K., & Petrakis, E. G. M. (2022). Publish–Subscribe approaches for the IoT and the cloud: Functional and performance evaluation of open-source systems. Internet of Things, 19, 100538. https://doi.org/10.1016/j.iot.2022.100538

Maharjan, R., Chy, M. S. H., Arju, M. A., & Cerny, T. (2023). Benchmarking Message Queues. Telecom, 4(2), 298–312. https://doi.org/10.3390/telecom4020018

Maulana, A. R., & Rahmatulloh, A. (2019). Websocket untuk Optimasi Kecepatan Data Transfer pada Real Time Chatting. Innovation in Research of Informatics (INNOVATICS), 1(1). https://doi.org/10.37058/innovatics.v1i1.667

Nguyen, X. H., Le-Pham, V. M., Than, T. T., & Nguyen, M. S. (2022). PROCTORING ONLINE EXAM USING IOT TECHNOLOGY. 2022 9th NAFOSTED Conference on Information and Computer Science (NICS), 7–12. https://doi.org/10.1109/NICS56915.2022.10013409

Nurpeisova, A., Shaushenova, A., Mutalova, Z., Ongarbayeva, M., Niyazbekova, S., Bekenova, A., Zhumaliyeva, L., & Zhumasseitova, S. (2023). Research on the Development of a Proctoring System for Conducting Online Exams in Kazakhstan. Computation, 11(6), 120. https://doi.org/10.3390/computation11060120

Palumbo, F., Aceto, G., Botta, A., Ciuonzo, D., Persico, V., & Pescapé, A. (2021). Characterization and analysis of cloud-to-user latency: The case of Azure and AWS. Computer Networks, 184, 107693. https://doi.org/10.1016/j.comnet.2020.107693

Samha, A. K. (2024). Strategies for efficient resource management in federated cloud environments supporting Infrastructure as a Service (IaaS). Journal of Engineering Research, 12(2), 101–114. https://doi.org/10.1016/j.jer.2023.10.031

Sarat Dyuthi, K. S. (2024). Configuring Real-Time Event Processing of Api Gateway with Aws and Websocket Api’s. Journal of Informatics Education and Research, 4(3). https://doi.org/10.52783/jier.v4i3.1711

Schoenmakers, B., & Wens, J. (2021). Efficiency, Usability, and Outcomes of Proctored Next-Level Exams for Proficiency Testing in Primary Care Education: Observational Study. JMIR Formative Research, 5(8), e23834. https://doi.org/10.2196/23834

Smith, C. D., Atawala, N., Klatt, C. A., & Klatt, E. C. (2022). A review of web-based application of online learning in pathology and laboratory medicine. Journal of Pathology Informatics, 13, 100132. https://doi.org/10.1016/j.jpi.2022.100132

Soewito, B., Christian, Gunawan, F. E., Diana, & Kusuma, I. G. P. (2019). Websocket to Support Real Time Smart Home Applications. Procedia Computer Science, 157, 560–566. https://doi.org/10.1016/j.procs.2019.09.014

Tanaem, P. F., David Manuputty, A., & Wijaya, A. F. (2022). STARS: Websocket Design and Implementation. 2022 International Seminar on Application for Technology of Information and Communication (ISemantic), 167–171. https://doi.org/10.1109/iSemantic55962.2022.9920451

Taniar, D., Barthelemy, J., & Cheng, L. (2021). Research on Real-time Data Transmission between IoT Gateway and Cloud Platform based on Two-way Communication Technology. International Journal of Smartcare Home, 1(1), 61–74. https://doi.org/10.21742/26531941.1.1.06

Wuthisatian, R. (2020). Student exam performance in different proctored environments: Evidence from an online economics course. International Review of Economics Education, 35, 100196. https://doi.org/10.1016/j.iree.2020.100196

Wei Jiang, Liu-Gen Xu, Hai-Bo Hu, Yue Ma (2019). Improvement Design for Distributed Real-Time Stream Processing Systems. Journal of Electronic Science and Technology, 3-12. 10.11989/JEST.1674-862X.80904011

Amazon API Gateway Pricing | API Management | Amazon Web Services. (n.d.). Amazon Web Services, Inc. https://aws.amazon.com/api-gateway/pricing/

Downloads

Published

2025-01-31
Abstract 44  .
PDF downloaded 17  .