When Web Apps Heal Themselves: A MAPE-K Based Approach to Fault Tolerance and Adaptive Recovery
Abstract
Ensuring the reliability and resilience of modern web applications remains a critical challenge due to increasing system complexity and dynamic runtime environments. This study proposes a modular self-healing framework based on the MAPE-K (Monitor–Analyze–Plan–Execute over a shared Knowledge base) model, integrated with an AutoFix-inspired mechanism for adaptive fault recovery. Using a Design and Development Research (DDR) approach, the system was implemented and evaluated through controlled fault injection experiments across twenty runtime failure scenarios, including service crashes, memory leaks, and database disconnections. Experimental results demonstrate that the proposed framework achieved a mean fault detection F1-score of 90.7% and a recovery success rate of 93.2%. The AutoFix module reduced the average time-to-recovery (TTR) by 56.2%, achieving an average recovery time of 3.92 seconds. System throughput was maintained between 88% and 95% during fault conditions, with only a 3.1% increase in response time. Additionally, iterative feedback mechanisms improved recovery efficiency by 18.6% over multiple cycles. These findings indicate that the proposed framework provides a practical and extensible approach to enhancing fault tolerance in web applications through feedback-driven adaptation. While the current implementation relies on predefined recovery strategies, the integration of learning-oriented feedback establishes a foundation for future development of more autonomous self-healing systems.
Keywords
Full Text:
PDFReferences
Z. Yazdanparast, “Using rule engine in self-healing systems and MAPE model,” 2024, arXiv. doi: 10.48550/ARXIV.2402.11581.
A. Alhosban, Z. Malik, K. Hashmi, B. Medjahed, and H. Al-Ababneh, “A Two Phases Self-healing Framework for Service-oriented Systems,” ACM Trans. Web, vol. 15, no. 2, pp. 1–25, May 2021, doi: 10.1145/3450443.
S. R. Rouholamini, M. Mirabi, R. Farazkish, and A. Sahafi, “Proactive self‐healing techniques for cloud computing: A systematic review,” Concurr. Comput. Pract. Exp., vol. 36, no. 24, Nov. 2024, doi: 10.1002/cpe.8246.
V. Ajith, T. Cyriac, C. Chavda, A. T. Kiyani, V. Chennareddy, and K. Ali, “Analyzing Docker Vulnerabilities through Static and Dynamic Methods and Enhancing IoT Security with AWS IoT Core, CloudWatch, and GuardDuty,” IoT, vol. 5, no. 3, pp. 592–607, Sept. 2024, doi: 10.3390/iot5030026.
F. Eyvazov, T. E. Ali, F. I. Ali, and A. D. Zoltan, “Beyond Containers: Orchestrating Microservices with Minikube, Kubernetes, Docker, and Compose for Seamless Deployment and Scalability,” in 2024 11th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), Noida, India: IEEE, Mar. 2024, pp. 1–6. doi: 10.1109/ICRITO61523.2024.10522382.
S. Jr. Aribe, J. M. Turtosa, J. M. Yamba, and A. Jamisola, “Ma-Ease: An Android-Based Technology for Corn Production and Management,” Pertanika J. Sci. Technol., vol. 27, no. 1, pp. 49–68, Jan. 2019.
S. Jr. Aribe, J. M. Vedra, J. Ladion, and A. Tablazon, “NotiPower: A Mobile-Based Power Advisory for Bukidnon Second Electric Cooperative, Inc. Consumers,” Int. J. Multidiscip. Res. Publ., vol. 2, no. 1, pp. 35–42, July 2019.
K. J. Caseres, R. Cruz, L. A. Gonzales, P. G. M. Tapayan, and S. Jr. Aribe, “Developing Digital Research Portal for Bukidnon State University’s Scholarly Work,” Int. J. Emerg. Technol., vol. 11, no. 4, pp. 27–38, June 2020.
S. Jr. Aribe, C. Yabes, M. V. Jamago, K. Rayos, H. L. Rebosura, and J. J. Gonzales, “An Android-Based Ubiquitous Notification Application for Bukidnon State University,” Pertanika J. Sci. Technol., vol. 27, no. 2, pp. 715–736, Apr. 2019.
A. Sibgatullina, R. Ivanova, and E. Yushchik, “Moodle Learning System as an Effective Tool for Implementing the Innovation Policy of the University,” Int. J. Web-Based Learn. Teach. Technol., vol. 17, no. 1, pp. 1–12, Mar. 2022, doi: 10.4018/ijwltt.298683.
H. Cao, Y. Meng, J. Shi, L. Li, T. Liao, and C. Zhao, “A Survey on Automatic Bug Fixing,” in 2020 6th International Symposium on System and Software Reliability (ISSSR), Chengdu, China: IEEE, Oct. 2020, pp. 122–131. doi: 10.1109/ISSSR51244.2020.00029.
T. Mamatha, B. R. S. Reddy, and C. S. Bindu, “A Literature Review on Automated Code Repair,” in Proceedings of the 2nd International Conference on Recent Trends in Machine Learning, IoT, Smart Cities and Applications, vol. 237, V. K. Gunjan and J. M. Zurada, Eds., in Lecture Notes in Networks and Systems, vol. 237. , Singapore: Springer Nature Singapore, 2022, pp. 249–260. doi: 10.1007/978-981-16-6407-6_23.
H. Liang and X. Yin, “Self-Healing Control: Review, Framework, and Prospect,” IEEE Access, vol. 11, pp. 79495–79512, 2023, doi: 10.1109/ACCESS.2023.3298554.
S. K. Jangam, “Self-Healing Autonomous Software Code Development,” Int. J. Emerg. Trends Comput. Sci. Inf. Technol., vol. 3, no. 4, 2022, doi: 10.63282/3050-9246.IJETCSIT-V3I4P105.
J. Alonso et al., “Optimization and Prediction Techniques for Self-Healing and Self-Learning Applications in a Trustworthy Cloud Continuum,” Information, vol. 12, no. 8, p. 308, July 2021, doi: 10.3390/info12080308.
J. Lee, K. Oh, Y. Yoon, T. Song, T. Lee, and K. Yi, “Adaptive Fault Detection and Emergency Control of Autonomous Vehicles for Fail-Safe Systems Using a Sliding Mode Approach,” IEEE Access, vol. 10, pp. 27863–27880, 2022, doi: 10.1109/access.2022.3155738.
“A Review of Monitoring Probes for Cloud Computing Continuum,” in Lecture Notes in Networks and Systems, Cham: Springer International Publishing, 2023, pp. 631–643. doi: 10.1007/978-3-031-28694-0_59.
Norliyana Md. Aris, “Design and Development Research (DDR) Approach in Designing Design Thinking Chemistry Module to Empower Students’ Innovation Competencies,” J. Adv. Res. Appl. Sci. Eng. Technol., vol. 44, no. 1, pp. 55–68, Apr. 2024, doi: 10.37934/araset.44.1.5568.
Z. Yazdanparast, “Using rule engine in self-healing systems and MAPE model,” 2024, arXiv. doi: 10.48550/ARXIV.2402.11581.
S. Saarathy, S. Bathrachalam, and B. Rajendran, “Self-Healing Test Automation Framework using AI and ML,” Int. J. Strateg. Manag., vol. 3, no. 3, pp. 45–77, Aug. 2024, doi: 10.47604/ijsm.2843.
Y. Matsuo and D. Ikegami, “Performance Analysis of Anomaly Detection Methods for Application System on Kubernetes with Auto-scaling and Self-healing,” in 2021 17th International Conference on Network and Service Management (CNSM), Izmir, Turkey: IEEE, Oct. 2021, pp. 464–472. doi: 10.23919/cnsm52442.2021.9615544.
S. Dubey, “Test Automation Revisited: Comparative Analysis of Tools and Frameworks for Scalable Software Testing,” Int. J. Res. Appl. Sci. Eng. Technol., vol. 13, no. 9, pp. 207–216, Sept. 2025, doi: 10.22214/ijraset.2025.73663.
A. E. M. Da Silva, A. M. S. Andrade, and S. S. Andrade, “Self-Adaptive Systems Planning with Model Checking using MAPE-K,” in Anais do XXI Workshop de Testes e Tolerância a Falhas (WTF 2020), Brasil: Sociedade Brasileira de Computação, Dec. 2020, pp. 69–82. doi: 10.5753/wtf.2020.12488.
Y. Zheng et al., “Differential Optimization Testing of Gremlin-Based Graph Database Systems,” in 2024 IEEE Conference on Software Testing, Verification and Validation (ICST), Toronto, ON, Canada: IEEE, May 2024, pp. 25–36. doi: 10.1109/ICST60714.2024.00012.
“The Role of Chaos Engineering in DevOps for Software Robustness,” in Applied Intelligence and Computing, Soft Computing Research Society, 2024, pp. 9–17. doi: 10.56155/978-81-955020-9-7-2.
J. Patel and H. Shah, “SOFTWARE ENGINEERING REVOLUTIONIZED BY MACHINE LEARNING-POWERED SELF-HEALING SYSTEMS,” Int. Res. J. Eng. Appl. Sci., vol. 9, no. 1, pp. 43–49, 2021, doi: 10.55083/irjeas.2021.v09i01008.
O. Gheibi, D. Weyns, and F. Quin, “Applying Machine Learning in Self-adaptive Systems: A Systematic Literature Review,” ACM Trans. Auton. Adapt. Syst., vol. 15, no. 3, pp. 1–37, Sept. 2020, doi: 10.1145/3469440.
S. R. Rouholamini, M. Mirabi, R. Farazkish, and A. Sahafi, “Proactive self‐healing techniques for cloud computing: A systematic review,” Concurr. Comput. Pract. Exp., vol. 36, no. 24, Nov. 2024, doi: 10.1002/cpe.8246.
Z. Yazdanparast, “A Survey on Self-healing Software System,” 2024, arXiv. doi: 10.48550/ARXIV.2403.00455.
I. Vasireddy, G. Ramya, and P. Kandi, “Kubernetes and Docker Load Balancing: State-of-the-Art Techniques and Challenges,” Int. J. Innov. Res. Eng. Manag., vol. 10, no. 6, pp. 49–54, Dec. 2023, doi: 10.55524/ijirem.2023.10.6.7.
DOI: http://doi.org/10.11591/ijict.v15i2.pp729-740
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Institute of Advanced Engineering and Science

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
The International Journal of Informatics and Communication Technology (IJ-ICT)
p-ISSN 2252-8776, e-ISSN 2722-2616
This journal is published by the Intelektual Pustaka Media Utama (IPMU).