03Service-layer caching
Redis Caching with Spring Boot
Redis reduces repeated database reads, and writes invalidate affected cache entries.

How it works
- The service caches individual wizard records by ID and wizard lists by house ID.
- Writes invalidate the affected cache entries so subsequent reads can fetch fresh data.
- Testcontainers exercises cache hits, invalidation, updates, and read consistency. Flyway seeds the database.
Technology stack
JavaSpring BootRedisMySQLFlywayTestcontainers
Related projects
04/06Event-driven
Saga Orchestration
Hotel reservation workflow
A reservation service coordinates room availability and payment across services, with a compensation path for rejected payments.
05/06Infrastructure
Spring Boot Microservices Gateway
Service discovery and observability
A Spring Boot gateway routes requests to registered service instances and supports distributed tracing.
Building something similar?

