• P-ISSN 0974-6846 E-ISSN 0974-5645

Indian Journal of Science and Technology

Article

Indian Journal of Science and Technology

Year: 2024, Volume: 17, Issue: 22, Pages: 2316-2323

Original Article

Performance of Dynamic Retry Over Static Towards Resilience Nature of Microservice

Received Date:01 April 2024, Accepted Date:20 May 2024, Published Date:30 May 2024

Abstract

Objectives: The main objective of this study is to enhance the flexibility of microservice-based cloud applications, so they can cope with transient or short-term failure conditions more effectively, providing a higher throughput of cloud applications as a result. Methods: The comparison is done between the existing or manual resilient patterns such as circuit breaker and retry with a dynamically proposed retry patterns using a microservice application. Findings: The short-term or transient failures in cloud based microservice applications can occur for many reasons. Examples such as Network glitches, service failures, timeouts of requests etc. These failures can bring down the entire application resulting in a cascading of failures. Resiliency patterns are used to protect these applications from failures. The widely used patterns are circuit breaker and retry, with static configurations. It is possible that the static configurations used in resiliency patterns might not support all types of failures. Hence, a dynamic approach has been proposed to satisfy all these transient failures of cloud. The analysis proves that the application efficiency is balanced in dynamic retry than the static configurations of resiliency pattern. Hence, performance can be increased up to 34.3%, which means the availability can be ensured, in transient failure cases. Very little research has been carried out on this resiliency pattern, and there are no standards available for this pattern. When comparing with the existing adaptive retry pattern the performance is increased up to 88.52%, while using a microservice application. Novelty: A dynamically modified resilient pattern is been proposed by incorporating additional parameters such as execution time to the existing parameters of the static retry pattern. This is an individual resilience pattern, which can perform independently when compared with other dynamic resilience patterns.

Keywords: Dynamic retry, Request time, Static circuit breaker, Resilience, Static retry

References

  1. Mendonca NC, Aderaldo CM, Camara J, Garlan D. Model-Based Analysis of Microservice Resiliency Patterns. In: 2020 IEEE International Conference on Software Architecture (ICSA). (pp. 114-124) IEEE. 2020.
  2. Cerny T, Abdelfattah AS, Maruf AA, Janes A, Taibi D. Catalog and detection techniques of microservice anti-patterns and bad smells: A tertiary study. Journal of Systems and Software. 2023;206:1–43. Available from: https://dx.doi.org/10.1016/j.jss.2023.111829
  3. Bogner J. On the evolvability assurance of microservices : metrics, scenarios, and patterns. Institut für Softwaretechnologie thesis
  4. Carvalho L, Colanzi TE, Assunção WKG, Garcia A, Pereira JA, Kalinowski M, et al. On the Usefulness of Automatically Generated Microservice Architectures. IEEE Transactions on Software Engineering. 2024;50(3):651–667. Available from: https://dx.doi.org/10.1109/tse.2024.3361209
  5. Yin K, Du Q. On Representing Resilience Requirements of Microservice Architecture Systems. International Journal of Software Engineering and Knowledge Engineering. 2021;31(06):863–888. Available from: https://dx.doi.org/10.1142/s0218194021500261
  6. Sedghpour, MRS, Garlan D, Schmerl B, Klein C, Tordsson J. Breaking the Vicious Circle: Self-Adaptive Microservice Circuit Breaking and Retry. In: 2023 IEEE International Conference on Cloud Engineering (IC2E). (pp. 32-42) 2023.
  7. Sun X, Cui B, Cai Z. Deep Q-Learning Based Circuit Breaking Method for Micro-services in Cloud Native Systems. In: CCF Conference on Computer Supported Cooperative Work and Social Computing, Communications in Computer and Information Science . (Vol. 2012, pp. 348-362) Singapore. Springer . 2024.
  8. Escalona MJ, Mayo FD, Majchrzak TA, Monfort V. Web Information Systems and Technologies. (pp. 1-263) Springer Nature. 2020.
  9. Benz SL, Kuhlmann J, Schreckenberg D, Wothge J. Contributors to Neighbour Noise Annoyance. International Journal of Environmental Research and Public Health. 2021;18(15):1–14. Available from: https://dx.doi.org/10.3390/ijerph18158098

Copyright

© 2024 Punithavathy & Priya. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Published By Indian Society for Education and Environment (iSee)

DON'T MISS OUT!

Subscribe now for latest articles and news.