Menu

Building a Price Aggregator in Java (Spring Boot, Redis, Resilience4j) — would love some feedback

#price#aggregator#redis#calls#article
Reading 0:00
15s threshold

I’ve been building a small project to understand how real backend systems evolve—from simple code to something closer to production.

Use case:

A Price Aggregator that calls multiple vendor services (Amazon/Flipkart/Walmart mock APIs) and returns the best price.

What I’ve implemented so far:

• Sequential vs async calls using CompletableFuture (measured latency differences)

• Spring Boot microservice with WebClient (non-blocking calls)

• Async processing using thread pools

• Caffeine cache → later replaced with Redis (for distributed caching)

• Docker + docker-compose setup

• Circuit Breaker using Resilience4j (to handle vendor failures)

Repo: https://github.com/codefarm0/price-aggregator

Playlist (if you want context): https://www.youtube.com/playlist?list=PLq3uEqRnr_2Ek7y2U3UAiQZCPzr0a82CX

What I’d really appreciate feedback on:

Is the caching strategy reasonable?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.