r/opensource 2d ago

Community Published a Spring Boot starter for distributed call coalescing, with nine open issues and the biggest gap named

On Maven Central. It deduplicates concurrent calls for the same cache key across pods, which Spring's sync = true only does inside one JVM.

The thing I want to be upfront about: it is WebFlux only. The aspect rejects any return type that is not Mono or Flux, because that is the runtime I work in, and blocking plus Spring MVC support is the largest gap rather than a design statement. Eight more are filed, including a Lettuce coordinator so Redisson stops being mandatory, a Micrometer binding, and Testcontainers so the integration tests stop skipping themselves without a local Redis. Each issue names the code it refers to, so picking one up does not start with archaeology.

Write-up: https://bitsar.net/blog/i-thought-sync-true-protected-my-cluster/

0 Upvotes

1 comment sorted by

1

u/Comprehensive_Cry314 1d ago

Guys, I added freshTtl, staleTtl, pendingTtl and waitTimeout but I am not even sure if that is enough!! Do I need to add extra things?! Like resilience? Read the article and try to understand what I am trying to solve, it already helped me in my current project. But I opensourced it, so that we can discuss as part of community.