A Containerized Microservices Architecture with Reinforcement Learning for Scalable, Adaptive Learning

Authors

  • Yanxia Gong College of Liberal Arts, Hunan Normal University, Changsha, 410081, China, School of Humanities and Media Communications, Changsha Medical University, Changsha, 410219, China
  • Kai Cai Department of Inspection and Testing Laboratory of Aero Engine Corporation of China, Zhuzhou, 412000, China

DOI:

https://doi.org/10.13052/jwe1540-9589.2482

Keywords:

Web Engineering, Microservices, Reinforcement Learning, Service-Oriented Architecture, ELK Monitoring, Real-Time Personalization, Kubernetes Deployment

Abstract

This paper presents the design and validation of a scalable, containerized web platform for real-time adaptive language instruction, integrating reinforcement learning into a modern microservices architecture. The system leverages Docker and Kubernetes for container orchestration, implements RESTful APIs and WebSocket communication for low-latency interaction, and utilizes Kafka for event-driven messaging between independently deployable services. Technical performance and operational health are monitored through a unified ELK stack dashboard, providing real-time insights for both developers and instructors. Empirical evaluation under authentic production conditions demonstrates the platform’s ability to sustain high availability (99.95% uptime), rapid response times (frontend < 120 ms, backend ≈180 ms), and robust autoscaling for workloads exceeding 150 concurrent users. Rigorous stress testing confirms seamless failover and rapid recovery, while the analytics layer enables actionable monitoring of both infrastructure and learner engagement. A field study with 154 language learners further validates the platform’s effectiveness, as reinforcement-learning-driven personalization resulted in a 24.7 percentage point gain in post-test performance and improved retention compared to rule-based controls. This work offers a transferable blueprint for web-native, AI-powered learning environments and demonstrates how service-oriented engineering can bridge the gap between pedagogical innovation and large-scale, real-world deployment.

Downloads

Download data is not yet available.

Author Biographies

Yanxia Gong, College of Liberal Arts, Hunan Normal University, Changsha, 410081, China, School of Humanities and Media Communications, Changsha Medical University, Changsha, 410219, China

Yanxia Gong is a Lecturer at the School of Humanities and Media Communications, Changsha Medical University, China. She is currently pursuing a Ph.D. in International Chinese Language Education at Hunan Normal University, China. She earned her M.Ed. in Higher Education from the College of Educational Sciences, Hunan Normal University, China, in 2014. Her research interests include adaptive language teaching platforms, AI/VR applications in language learning, and tools for second language acquisition.

Kai Cai, Department of Inspection and Testing Laboratory of Aero Engine Corporation of China, Zhuzhou, 412000, China

Kai Cai has been a technician at Aero Engine Corporation of China since 2013, and he obtained his bachelor’s degree from Hefei University of Technology in 2013, and in 2018 he got his master’s degree from Cranfield University, with a focus on research in corporate computer information systems and digital inspection technology. His primary research efforts are devoted to computer programming and the construction of quality information systems.

References

Everson, M. E., and Ke, C. (1997). The role of phonological recoding in the reading comprehension of Chinese characters by beginning learners. Modern Language Journal, 81(2), 194–204.

Shen, H. H. (2005). An investigation of Chinese-character learning strategies among non-native speakers of Chinese. System, 33(1), 49–68.

Brusilovsky, P., and Millán, E. (2007). User models for adaptive hypermedia and adaptive educational systems. In P. Brusilovsky, A. Kobsa, and W. Nejdl (Eds.), The Adaptive Web (pp. 3–53). Springer.

Conati, C., and Kardan, S. (2013). Student modeling: Supporting personalized instruction, from problem-solving to exploratory open-ended activities. AI in Education, 23(1), 71–99.

Ginige, A., and Murugesan, S. (2001). Web engineering: An introduction. IEEE Multimedia, 8(1), 14–18.

Rossi, G., Schwabe, D., and Guimarães, R. (2001). Designing personalized web applications. In Proceedings of the First International Conference on Web Engineering (pp. 275–288). ACM.

O’Reilly, T. (2009). What is Web 2.0. O’Reilly Media, Inc.

Ma, M., Xu, J., Wang, Y., Chen, P., Zhang, Z., and Wang, P. (2020, April). Automap: Diagnose your microservice-based web applications automatically. In Proceedings of The Web Conference 2020 (pp. 246–258). ACM.

Rabiu, S., Yong, C. H., and Syed-Mohamad, S. M. (2023). Load balancing and auto-scaling issues in container microservice cloud-based system: A review on the current trend technologies. International Journal of Web Engineering and Technology, 18(4), 294–318.

Bajaj, D., Kaur, S., Shukla, A., and Rana, N. (2021). A prescriptive model for migration to microservices based on SDLC artifacts. Journal of Web Engineering, 20(3), 817–852.

Raj, V., and Sadam, R. (2021). Patterns for migration of SOA based applications to microservices architecture. Journal of Web Engineering, 20(5), 1291–1307.

Wanjala, S. T. (2022). A framework for implementing micro frontend architecture. International Journal of Web Engineering and Technology, 17(4), 337–352.

Durlach, P. J., and Lesgold, A. M. (2012). Adaptive technologies for training and education. Cambridge University Press.

Karampiperis, P., and Sampson, D. (2005). Adaptive learning resources sequencing in educational hypermedia systems. Educational Technology & Society, 8(4), 128–147.

Chen, C. M., and Duh, L. C. (2008). Personalized web-based tutoring system based on fuzzy item response theory. Expert Systems with Applications, 34(4), 2298–2315.

Mandel, T., Liu, Y. E., Levine, S., Brunskill, E., and Popovic, Z. (2014). Offline policy evaluation across representations with applications to educational games. In Proceedings of AAMAS (pp. 1077–1084).

Rafferty, A. N., Brunskill, E., Griffiths, T. L., and Shafto, P. (2011). Faster teaching by POMDP planning. In Proceedings of AIED (pp. 280–287).

Chi, M., VanLehn, K., Litman, D., and Jordan, P. (2011). Instructional factors analysis using reinforcement learning. In Proceedings of EDM (pp. 161–170).

Yudelson, M. V., Koedinger, K. R., and Gordon, G. J. (2013). Individualized Bayesian knowledge tracing models. In Proceedings of UMAP (pp. 171–182). Springer.

Loewen, S., Isbell, D. R., and Sporn, Z. (2020). Mobile-assisted language learning: Affordances and limitations of Duolingo. ReCALL, 32(2), 162–178.

Godwin-Jones, R. (2011). Emerging technologies: Autonomous language learning. Language Learning & Technology, 15(3), 4–11.

Chou, C. (2003). Interactivity and interactive functions in web-based learning systems. Innovations in Education and Teaching International, 40(1), 31–38.

Hung, J. L., and Zhang, K. (2012). Examining mobile learning trends 2003–2008: A categorical meta-trend analysis using text mining techniques. Journal of Computing in Higher Education, 24(1), 1–17.

Ally, M. (2009). Mobile learning: Transforming the delivery of education and training. Athabasca University Press.

Advanced Distributed Learning Initiative. (2013). Experience API (xAPI). Retrieved from https://adlnet.gov/projects/xapi/.

IEEE LTSC. (2004). Sharable Content Object Reference Model (SCORM). IEEE Standards Association.

IMS Global Learning Consortium. (2005). Learning Tools Interoperability (LTI). Retrieved from https://www.imsglobal.org/lti/.

Downloads

Published

2025-12-19

How to Cite

Gong, Y. ., & Cai, K. . (2025). A Containerized Microservices Architecture with Reinforcement Learning for Scalable, Adaptive Learning. Journal of Web Engineering, 24(08), 1203–1230. https://doi.org/10.13052/jwe1540-9589.2482

Issue

Section

Advanced Practice in Web Engineering in Asia