Skip to content

feat: switch Spring Cloud LoadBalancer to Caffeine cache for production#27

Merged
tsekovTriesCoding merged 1 commit intomainfrom
feature/caffeine-cache-loadbalancer
Mar 18, 2026
Merged

feat: switch Spring Cloud LoadBalancer to Caffeine cache for production#27
tsekovTriesCoding merged 1 commit intomainfrom
feature/caffeine-cache-loadbalancer

Conversation

@tsekovTriesCoding
Copy link
Owner

  • Add spring-boot-starter-cache and caffeine dependencies to parent POM
  • Configure LoadBalancer Caffeine cache in api-gateway (ttl=35s, capacity=256)
  • Configure LoadBalancer Caffeine cache in auth-service (ttl=35s, capacity=256)
  • Replaces default ConcurrentHashMap cache with production-recommended Caffeine

- Add spring-boot-starter-cache and caffeine dependencies to parent POM
- Configure LoadBalancer Caffeine cache in api-gateway (ttl=35s, capacity=256)
- Configure LoadBalancer Caffeine cache in auth-service (ttl=35s, capacity=256)
- Replaces default ConcurrentHashMap cache with production-recommended Caffeine
@tsekovTriesCoding tsekovTriesCoding merged commit 5b25f7c into main Mar 18, 2026
3 checks passed
@tsekovTriesCoding tsekovTriesCoding deleted the feature/caffeine-cache-loadbalancer branch March 18, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant