cocache
Level 2 Distributed Coherence Cache Framework
Discover how CoCache's proxy-based caching works under the hood. Learn how JDK dynamic proxies manage distributed data layers seamlessly for developers.
How to Handle Cache Serialization with Different Codecs in CoCacheLearn to handle cache serialization with different codecs in CoCache. Explore built-in JSON, Redis Hash, and custom binary formats using CodecExecutor.
How to Customize CoCache Auto-Configuration Using CoCachePropertiesCustomize CoCache auto-configuration with CoCacheProperties. Disable CoCache entirely or add custom fields for advanced cache bean configuration. Learn more now.
How CoCache Integrates with Spring's Cache Abstraction: A Complete GuideLearn how CoCache integrates with Spring's cache abstraction using @EnableCoCache proxy beans and CoCacheManager for seamless caching. A complete guide.
How @JoinCacheable Enables Automatic Cache Joining in the Cocache FrameworkDiscover how @JoinCacheable in Cocache automatically joins two independent caches into one cohesive unit. Learn the Spring-based metadata parsing and proxy generation pipeline behind this powerful feature.
How CacheEvictedEventBus Enables Distributed Cache Invalidation in CocacheDiscover how CacheEvictedEventBus in Cocache synchronizes distributed caches by broadcasting eviction events across JVMs, ensuring local entries are invalidated when remote modifications occur.
How to Implement a Custom KeyConverter for Complex Object Keys in CoCacheLearn to implement a custom KeyConverter for complex object keys in CoCache. Register your converter as a Spring bean to ensure stable cache identifiers and boost performance.
How CoCache Handles Multi-Instance Synchronization for Cache UpdatesDiscover how CoCache ensures multi-instance synchronization with lightweight eviction events, clearing local caches and maintaining a distributed store as the source of truth.
How CoCache Prevents Cache Stampede with MissingGuard: Per-Key Locking and Sentinel ValuesLearn how CoCache prevents cache stampede with MissingGuard using per-key locking and sentinel values to ensure efficient database querying for missing cache items.
How to Use SpEL Expressions for Dynamic Cache Key Generation in @CoCacheGenerate dynamic cache keys in @CoCache with SpEL expressions. Learn how to use the keyExpression attribute to customize caching based on method arguments and Spring beans.
How to Integrate CoCache with Redis for Distributed CachingLearn to integrate CoCache with Redis for distributed caching using Spring Boot auto-configuration. Automatically create Redis-backed caches by annotating interfaces and setting connection properties.
How to Use Bloom Filter for Key Filtering to Reduce Cache Miss Stampede in CoCacheEmploy CoCache and Guava's Bloom Filter to efficiently filter non-existent keys, preventing backend overload and cache miss stampedes.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →