Enhancing Microservice Performance: A Hybrid Approach Using Caching and Batching Techniques

Authors

  • G. Swapna Assistant Professors, Department of Computer Science and Engineering, Rajiv Gandhi University of Knowledge Technologies RK Valley, Kadapa, Andhra Pradesh, India Author
  • E. Susmitha Assistant Professors, Department of Computer Science and Engineering, Rajiv Gandhi University of Knowledge Technologies RK Valley, Kadapa, Andhra Pradesh, India Author
  • N. Satyanandaram Assistant Professors, Department of Computer Science and Engineering, Rajiv Gandhi University of Knowledge Technologies RK Valley, Kadapa, Andhra Pradesh, India Author
  • S. V. Punith Kumar Student, Department of Computer Science and Engineering, Rajiv Gandhi University of Knowledge Technologies RK Valley, Kadapa, Andhra Pradesh, India Author

DOI:

https://doi.org/10.47392/IRJAEH.2026.0110

Keywords:

Microservices, Inter-service Communication, Caching, Batching, Caching and Batching, Performance Optimization, Redis, Spring Boot, Latency Reduction, Database Load Minimization

Abstract

Nowadays, microservices play a major role in industries by enabling modular and scalable software design through inter-service communication. However, traditional communication methods—typically involving JSON-based API calls—can lead to high latency, increased network traffic, and redundant database queries. These inefficiencies become more prominent when services repeatedly request the same data or make multiple small API calls rather than batched requests. To address these issues, this paper explores two key optimization techniques: caching and batching, along with their combined effect. The objective is to analyze how these techniques individually and together improve performance in microservice-based systems. We conducted experiments under four scenarios: no optimization, caching only, batching only, and caching combined with batching. The implementation was carried out using Spring Boot, Redis for caching, and JPA for batch data access. The results demonstrate that caching alone reduces response time by up to 98.31%, batching alone by approximately 86.97%, and the hybrid approach of caching with batching offers consistent low latency with minimal database load. This confirms that a combined caching and batching strategy provides the most efficient and scalable solution for optimizing inter-service communication in microservices.

Downloads

Download data is not yet available.

Downloads

Published

2026-02-20

How to Cite

Enhancing Microservice Performance: A Hybrid Approach Using Caching and Batching Techniques. (2026). International Research Journal on Advanced Engineering Hub (IRJAEH), 4(02), 766-775. https://doi.org/10.47392/IRJAEH.2026.0110

Similar Articles

1-10 of 646

You may also start an advanced similarity search for this article.