Next Article in Journal
Speech Emotion Recognition Based on Parallel CNN-Attention Networks with Multi-Fold Data Augmentation
Previous Article in Journal
Implanting Intelligence in 5G Mobile Networks—A Practical Approach
Previous Article in Special Issue
Fundamentals of a Novel Debugging Mechanism for Orchestrated Cloud Infrastructures with Macrosteps and Active Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Method of Transparent Graceful Failover in Low Latency Stateful Microservices

by
Kęstutis Pakrijauskas
* and
Dalius Mažeika
Department of Information Systems, Faculty of Fundamental Sciences, Vilnius Gediminas Technical University, Sauletekio Avn., 11, 10223 Vilnius, Lithuania
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(23), 3936; https://doi.org/10.3390/electronics11233936
Submission received: 26 October 2022 / Revised: 24 November 2022 / Accepted: 24 November 2022 / Published: 28 November 2022
(This article belongs to the Special Issue Cloud Computing and Applications, Volume II)

Abstract

Microservice architecture is a preferred way to build applications. Being flexible and loosely coupled, it allows to deploy code at a high pace. State, or, in other words, data is not only a commodity but crucial to any business. The high availability and accessibility of data enables companies to remain competitive. However, maintaining low latency stateful microservices, for example, performing updates, is difficult compared to stateless microservices. Making changes to a stateful microservice requires a graceful failover, which has an impact on the availability budget. The method of graceful failover is proposed to improve availability of a low latency stateful microservice when performing maintenance. By observing database connection activity and forcefully terminating idle client connections, the method allows to redirect database requests from one node to another with negligible impact on the client. Thus, the proposed method allows to keep the precious availability budget untouched while performing maintenance operations on low latency stateful microservices. A set of experiments was performed to evaluate stateful microservice availability during failover and to validate the method. The results have shown that near-zero downtime was achieved during a graceful failover.
Keywords: stateful microservice; availability; database; cluster; Kubernetes; failover; connection pool stateful microservice; availability; database; cluster; Kubernetes; failover; connection pool

Share and Cite

MDPI and ACS Style

Pakrijauskas, K.; Mažeika, D. A Method of Transparent Graceful Failover in Low Latency Stateful Microservices. Electronics 2022, 11, 3936. https://doi.org/10.3390/electronics11233936

AMA Style

Pakrijauskas K, Mažeika D. A Method of Transparent Graceful Failover in Low Latency Stateful Microservices. Electronics. 2022; 11(23):3936. https://doi.org/10.3390/electronics11233936

Chicago/Turabian Style

Pakrijauskas, Kęstutis, and Dalius Mažeika. 2022. "A Method of Transparent Graceful Failover in Low Latency Stateful Microservices" Electronics 11, no. 23: 3936. https://doi.org/10.3390/electronics11233936

APA Style

Pakrijauskas, K., & Mažeika, D. (2022). A Method of Transparent Graceful Failover in Low Latency Stateful Microservices. Electronics, 11(23), 3936. https://doi.org/10.3390/electronics11233936

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop