Markus Eisele’s Post

Cache bugs are often not bugs at all. They are contracts we forgot to read. This tutorial walks through Quarkus cache failure semantics with a small pricing service: - `@CacheResult` on `Uni` - resolved-value caching - success-only `@CacheInvalidateAll` - stale data after failed methods with surviving side effects - forced invalidation with `CacheManager` The practical question is simple: when is stale data better than a cache miss, and when is it dangerous? https://lnkd.in/dShFxDDQ #Quarkus #Java #Caching #ReactiveJava

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories