Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Optimized Strategy for Inter-Service Communication in Microservices

Author 1: Sidath Weerasinghe Author 2: Indika Perera
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 14, No. 2 · Published 2023 · Cited by 11

DOI: https://doi.org/10.14569/IJACSA.2023.0140233

Abstract

In the last decade, many enterprises have moved their software deployments to the cloud. As a result of this transmission, the cloud providers stepped ahead and introduced various new technologies for their offerings. People cannot gain the expected advantages from cloud-based solutions merely by transferring monolithic architecture-based software to the cloud since the cloud is natively designed for lightweight artifacts. Nowadays, the end user requirements rapidly change. Hence, the software should accommodate those accordingly. On the contrary, with Monolithic architecture, meeting that requirement change based on extensibility, scalability, and modern software quality attributes is quite challenging. The software industry introduced microservice architecture to overcome such challenges. Therefore, most backend systems are designed using this architectural pattern. Microservices are designed as small services, and those services are deployed in the distributed environment. The main drawback of this architecture is introducing additional latency when communicating with the inter-services in the distributed environment. In this research, we have developed a solution to reduce the interservice communication latency and enhance the overall application performance in terms of throughput and response time. The developed solution uses an asynchronous communication pattern using the Redis Stream data structure to enable pub-sub communication between the services. This solution proved that the most straightforward implementation could enhance the overall application performance.

Keywords

How to Cite this Article

Weerasinghe, S., & Perera, I. (2023). Optimized Strategy for Inter-Service Communication in Microservices. International Journal of Advanced Computer Science and Applications, 14(2). https://doi.org/10.14569/IJACSA.2023.0140233

Weerasinghe, Sidath, and Indika Perera. "Optimized Strategy for Inter-Service Communication in Microservices." International Journal of Advanced Computer Science and Applications, vol. 14, no. 2, 2023, https://doi.org/10.14569/IJACSA.2023.0140233.

@article{Weerasinghe2023,
  title     = {Optimized Strategy for Inter-Service Communication in Microservices},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {14},
  number    = {2},
  year      = {2023},
  publisher = {The Science and Information Organization},
  author    = {Sidath Weerasinghe and Indika Perera},
  doi       = {10.14569/IJACSA.2023.0140233},
  url       = {https://doi.org/10.14569/IJACSA.2023.0140233}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.