Skip to content

Blog by Rahul Mittal

Connecting People, Ideas & Technology.

Cache Invalidation in Distributed Spring Boot Microservices: Spring Events vs Kafka vs Redis Pub/Sub
  • java
  • microservices
  • programming
  • spring

Cache Invalidation in Distributed Spring Boot Microservices: Spring Events vs Kafka vs Redis Pub/Sub

  • Rahul Mittal
  • June 17, 2026
  • 6 min read

Introduction Caching is one of the most effective ways to improve application performance. Whether you are using EhCache, Redis, GemFire, or a multi-level caching strategy, one challenge remains consistent across…

Extending the Platform Cache Library: Distributed Locking, Cache Warming and Cache Stampede Protection
  • java
  • microservices
  • programming
  • spring

Extending the Platform Cache Library: Distributed Locking, Cache Warming and Cache Stampede Protection

  • Rahul Mittal
  • June 17, 2026
  • 6 min read

Introduction In the previous article, we built a reusable caching library that provides: L1 Cache using EhCache L2 Cache using Redis or GemFire Strategy Pattern based provider selection Kafka and…

Building a Pluggable Multi-Level Cache Library for Spring Boot Microservices (EhCache + Redis/GemFire)
  • java
  • microservices
  • programming

Building a Pluggable Multi-Level Cache Library for Spring Boot Microservices (EhCache + Redis/GemFire)

  • Rahul Mittal
  • June 17, 2026
  • 6 min read

Introduction As organizations move toward microservices, caching becomes a critical component for performance, scalability, and cost optimization. Unfortunately, many teams implement caching differently: Different cache providers Different key conventions Different…

Redis vs GemFire vs EhCache: Choosing the Right Caching Strategy for Spring Boot Microservices
  • java
  • microservices
  • programming
  • spring

Redis vs GemFire vs EhCache: Choosing the Right Caching Strategy for Spring Boot Microservices

  • Rahul Mittal
  • June 17, 2026
  • 5 min read

Introduction Caching is one of the most effective techniques for improving application performance. However, choosing the right caching technology can be challenging. Many development teams start with local in-memory caching…

Building High-Performance Distributed Caching with Apache Geode (GemFire) in Spring Boot
  • java
  • microservices
  • programming

Building High-Performance Distributed Caching with Apache Geode (GemFire) in Spring Boot

  • Rahul Mittal
  • June 17, 2026
  • 6 min read

Introduction As enterprise applications scale, databases often become the primary bottleneck. Frequently accessed data such as customer profiles, product catalogs, pricing information, configuration settings, and reference data are repeatedly fetched…

Building High-Performance Distributed Caching with Redis in Spring Boot
  • java
  • microservices
  • programming

Building High-Performance Distributed Caching with Redis in Spring Boot

  • Rahul Mittal
  • June 17, 2026
  • 5 min read

Introduction Modern applications often retrieve the same data repeatedly from databases. Product information, customer profiles, configuration settings, and reference data are commonly accessed by multiple users and services. Without caching,…

Building a Pluggable Distributed Cache Library for Spring Boot Microservices Using EhCache and Redis
  • java
  • microservices
  • programming

Building a Pluggable Distributed Cache Library for Spring Boot Microservices Using EhCache and Redis

  • Rahul Mittal
  • June 17, 2026
  • 6 min read

Introduction As organizations scale their Spring Boot microservices on Kubernetes, caching becomes a critical component for performance and cost optimization. While EhCache works well for single-node deployments, it introduces cache…

Understanding Time Complexity and Space Complexity in Java – An Interview Guide
  • interview
  • java
  • programming

Understanding Time Complexity and Space Complexity in Java – An Interview Guide

  • Rahul Mittal
  • June 14, 2026
  • 4 min read

When preparing for software engineering interviews, one topic that appears consistently across coding rounds and system design discussions is Time Complexity and Space Complexity. Many developers can write code that…

Java Interview Question: Reverse Pyramid Pattern with Time Complexity Analysis
  • interview

Java Interview Question: Reverse Pyramid Pattern with Time Complexity Analysis

  • Rahul Mittal
  • June 14, 2026
  • 3 min read

Pattern-based coding questions are a common way to assess a candidate's logical thinking, loop understanding, and ability to derive mathematical relationships from a problem statement. One such question is the…

Spring Batch and Quartz Scheduler Concepts Explained
  • java
  • programming
  • spring

Spring Batch and Quartz Scheduler Concepts Explained

  • Rahul Mittal
  • June 14, 2026
  • 4 min read

This section can be appended to the main article to provide readers with a conceptual understanding of Spring Batch and Quartz before diving into the implementation. Understanding Spring Batch Spring…

Posts pagination

Previous 1 … 11 12 13 … 17 Next

Recent Posts

  • Kubernetes Readiness Probes in Spring Boot Microservices: Designing a Production-Ready Health Check
  • How Does UPI Prevent Double-Spending at 15 Billion Transactions a Month?
  • Top 10 Java, Microservices & Kubernetes Interview Questions Every Senior Tech Lead Should Know
  • Part 9 – Why Spring Boot Applications Get OOMKilled in Kubernetes
  • Part 8 – Mastering Configuration in Kubernetes

Categories

  • AI
  • Database
  • feature
  • general
  • interview
  • java
  • JavaEvolutionSeries
  • K8S
  • leadership
  • Metrics
  • microservices
  • Observability
  • programming
  • project management
  • ramittal.com
  • security
  • spring

Recent Comments

  1. Rahul Mittal on Why Refreshing L1 Cache Using a Scheduler is a Bad Idea

Archives

  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • March 2026
  • March 2025
  • January 2025
  • December 2024

List Posts

View All
  • java
  • JavaEvolutionSeries
  • programming

Part 42: The Java 8 → Java 21 Journey – Building Modern Enterprise Microservices and Looking Ahead to Java 26

  • Rahul Mittal
  • July 4, 2026
  • 6 min read
  • 0
  • java
  • JavaEvolutionSeries
  • programming

Part 37: Java 21 – Virtual Threads – Revolutionizing Spring Boot Microservices and Enterprise Banking Applications

  • Rahul Mittal
  • July 4, 2026
  • 8 min read
  • 0
  • java
  • JavaEvolutionSeries
  • programming

Part 41: Java 21 – Vector API – Unlocking Modern CPU Performance for Banking, AI and Analytics

  • Rahul Mittal
  • July 4, 2026
  • 6 min read
  • 0
  • java
  • JavaEvolutionSeries
  • programming

Part 40: Java 21 – Foreign Function & Memory API (Project Panama) – The Future of Native Integration for Enterprise Applications

  • Rahul Mittal
  • July 4, 2026
  • 7 min read
  • 0
Copyright © 2026 Blog by Rahul Mittal Theme: Crystal Blog By Adore Themes.