Improvements to the circuit breaker prediction model for increasing the fault tolerance of microservices

Authors

  • Anatolii Pashko Taras Shevchenko National University of Kyiv
  • Ihor Paprotskyi Taras Shevchenko National University of Kyiv
  • Andrii Glybovets National University of Kyiv-Mohyla Academy, Kyiv, Ukraine
  • Svitlana Terenchuk Kyiv National University of Construction and Architecture, Kyiv, Ukraine

DOI:

https://doi.org/10.17721/1812-5409.2026/1.30

Keywords:

microservices architecture, distributed systems, fault tolerance, resilience patterns, high load, circuit breaker, service communication, runtime adaptation

Abstract

In high-load distributed systems, it is crucial to pay strict attention to the reliability of communication between architectural components, making fault tolerance a fundamental property of microservice architecture. While various fault tolerance patterns exist to improve microservice resilience, and their implementations are widely adopted, none are universal for the range of possible failures in service communication. Therefore, there is a continuous need to search for more effective approaches to achieving fault tolerance in distributed software systems.

This research is building upon our earlier study, which introduced the Circuit Breaker Prediction Model. The main principle of the Prediction model is to calculate the rating of communication between two services, defined as a convex combination of various performance metrics, and the rating value is then used to determine whether the interaction with the target service can be safely re-established after the period of blocking outgoing requests. Compared to standard implementations of this method, it was specifically designed to reduce the latency involved in blocking request transmission between microservices, especially under uncertain load conditions.

The purpose of this paper is to enhance this model and verify its effectiveness when combined with other resilience patterns, particularly Retry and Timeout. The study enhances the flexibility of the Circuit Breaker Prediction Model by describing an adaptable sliding window mechanism that dynamically adjusts the context size based on load conditions at runtime. Also, the algorithm of rating calculation is generalized to enable the usage of any substantial number of performance metrics. Finally, this research conducts simulated experiments with multiple service communication configurations and fault tolerance pattern combinations, using the standard Circuit Breaker implementation as a baseline for comparison. The findings show improved communication performance, mainly due to reduced request transmission delays under the same load conditions. The prospects of applying this model’s principles to other fault tolerance patterns have been discussed, with particular emphasis on the potential of using machine-assisted optimization techniques in dynamic decision making.

Pages of the article in the issue: 225 - 236

Language of the article: English

Author Biography

  • Anatolii Pashko, Taras Shevchenko National University of Kyiv

    професор кафедри теоретичної кібернетики

References

De Souza Miranda, F., Santos, D. S. D., Vilela, R. F., Assunção, W. K. G., Santos, R. C. D., & Pinto, V. H. S. C. (2024). A proposed catalog of development patterns for fault-tolerant microservices. In I. Machado, J. Maldonado, T. Conte, E. Canedo, J. Marques, B. B. de França, P. Matsubara, D. Viana, S. Soares, G. Santos, L. Rocha, B. Gadelha, R. Santos, A. Oran, & A. G. Seca Neto (Eds.), SBQS 2024: XXIII Brazilian Symposium on Software Quality (pp. 406–416). Association for Computing Machinery. https://doi.org/10.1145/3701625.3701678

Zhang, P., Xiang, L., Song, Z., & Yang, Y. (2025). Adaptive load balancing and fault-tolerant microservices architecture for high-availability web systems using docker and spring cloud. Discover Applied Sciences, 7(7). https://doi.org/10.1007/s42452-025-07320-7

Fowler, M. (2014). Circuit Breaker. martinfowler.com. https://martinfowler.com/bliki/CircuitBreaker.html

Sun, X., Cui, B., & Cai, Z. (2024). Deep Q-learning based circuit breaking method for micro-services in cloud native systems. In Y. Sun, T. Lu, T. Wang, H. Fan, D. Liu, & B. Du (Eds.), Communications in computer and information science: Vol. 2012. Computer supported cooperative work and social computing: ChineseCSCW 2023 (pp. 348–362). Springer. https://doi.org/10.1007/978-981-99-9637-7_26

Souza, V. J. S., Neves, V. O., & Kimura, B. Y. L. (2024). Dependable Microservices in the Kubernetes era: A Practitioners survey. Journal of Internet Services and Applications, 15(1), 561–583. https://doi.org/10.5753/jisa.2024.4000

Istio. (2025). Documentation. https://istio.io/latest/docs

JetBrains. (2024). General Development Trends –The State of Developer Ecosystem in 2023 Infographic. JetBrains: Developer Tools for Professionals and Teams. https://www.jetbrains.com/lp/devecosystem-2023/development/#mcrsrvc_design_approaches

Hlybovets, A., & Paprotskyi, I. (2024). Increasing the fault tolerance in microservice architecture. Cybernetics and Systems Analysis, 60(3), 480–488. https://doi.org/10.1007/s10559-024-00689-0

Resilience4j. (2025). Introduction. https://resilience4j.readme.io/docs/getting-started

Lewis, J., & Fowler, M. (2014). Microservices. martinfowler.com. https://martinfowler.com/articles/microservices.html

Valdivia, J. A., Lora-González, A., Limón, X., Cortes-Verdin, K., & Ocharán-Hernández, J. (2020). Patterns Related to Microservice Architecture: a Multivocal Literature Review. Programming and Computer Software, 46(8), 594–608. https://doi.org/10.1134/s0361768820080253

Nygard, M. T. (2018). Release it!: Design and Deploy Production-Ready Software (2nd ed.). The Pragmatic Programmers LLC.

Stack Overflow. (2024). Stack Overflow Developer Survey 2023. https://survey.stackoverflow.co/2023/#section-developer-experience-developer-experience-processes-tools-and-programs-within-an-organization

Downloads

Published

2026-06-05

Issue

Section

Computer Science and Informatics

How to Cite

Pashko, A., Paprotskyi, I., Glybovets, A., & Terenchuk, S. (2026). Improvements to the circuit breaker prediction model for increasing the fault tolerance of microservices. Bulletin of Taras Shevchenko National University of Kyiv. Physics and Mathematics, 82(1), 225-236. https://doi.org/10.17721/1812-5409.2026/1.30