article · Scientia Iranica · 2025
Boosting Scalability in Microservice Architectures with Consensus Mechanisms
Esmail Sadeghi Hafshejani, Mahmood Deypir, Ali Broumandnia
Cited by 0Open access
Abstract
Microservice architectures are preferred for their scalability and flexibility, however, managing distributed transactions in these systems poses significant challenges, especially in terms of consistency and fault tolerance.To address these issues, this study evaluates two distinct approaches: Paxos, a consensus algorithm that ensures agreement among distributed nodes, and the enhanced Saga pattern, a transaction coordination framework that manages local transactions with compensating actions. We implemented both methods in a microservice-based application deployed across distributed nodes and assessed their performance under various load conditions and failure scenarios. The results show that integrating Paxos significantly improves throughput and reduces latency, offering strong consistency and robust fault tolerance. In contrast, the enhanced Saga pattern, while effective in managing compensating transactions and maintaining eventual consistency, demonstrated lower performance in high-load environments. These findings highlight the trade-offs between consensus-based and coordination-based transaction management in microservice architectures and provide practical insights for system designers seeking scalable and reliable solutions.
Cite this paper
Hafshejani, E. S., Deypir, M., & Broumandnia, A. (2025). Boosting Scalability in Microservice Architectures with Consensus Mechanisms. Scientia Iranica, 0(0), 0. https://doi.org/10.24200/sci.2025.66021.9800
Hafshejani, Esmail Sadeghi, et al. “Boosting Scalability in Microservice Architectures with Consensus Mechanisms.” Scientia Iranica, vol. 0, no. 0, 2025, p. 0, https://doi.org/10.24200/sci.2025.66021.9800.
Hafshejani, Esmail Sadeghi, Mahmood Deypir, and Ali Broumandnia. 2025. “Boosting Scalability in Microservice Architectures with Consensus Mechanisms.” Scientia Iranica 0 (0): 0. https://doi.org/10.24200/sci.2025.66021.9800.
Hafshejani, E.S., Deypir, M. and Broumandnia, A. (2025) ‘Boosting Scalability in Microservice Architectures with Consensus Mechanisms’, Scientia Iranica, 0(0), p. 0. Available at: https://doi.org/10.24200/sci.2025.66021.9800.
@article{hafshejani2025boosting,
title = {{Boosting Scalability in Microservice Architectures with Consensus Mechanisms}},
author = {Hafshejani, Esmail Sadeghi and Deypir, Mahmood and Broumandnia, Ali},
journal = {Scientia Iranica},
volume = {0},
number = {0},
pages = {0},
year = {2025},
doi = {10.24200/sci.2025.66021.9800}
}Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.