Skip to content

DOC-6565 cache aside use case#3291

Open
andy-stark-redis wants to merge 6 commits intomainfrom
DOC-6565-cache-aside-use-case
Open

DOC-6565 cache aside use case#3291
andy-stark-redis wants to merge 6 commits intomainfrom
DOC-6565-cache-aside-use-case

Conversation

@andy-stark-redis
Copy link
Copy Markdown
Contributor

@andy-stark-redis andy-stark-redis commented May 8, 2026

This is still in development - just making a PR to get an early review from the bugbot while the rest of the stuff is being generated.


Note

Low Risk
Low risk because this PR only adds new documentation pages and sample/demo code under content/, with no changes to production application logic.

Overview
Introduces a new Redis cache-aside use-case section (content/develop/use-cases/cache-aside) describing when/why to use the pattern and linking out to language-specific guides.

Adds full example implementations for Go (go-redis), .NET (StackExchange.Redis), and Java (Jedis + Lettuce), each including a small local demo server/UI plus a cache helper that supports TTL-bounded reads, invalidate-on-write, optional in-place field updates, basic hit/miss stats, and Lua-based single-flight locking to mitigate cache stampedes.

Reviewed by Cursor Bugbot for commit 313c95b. Bugbot is set up for automated code reviews on this repo. Configure here.

@andy-stark-redis andy-stark-redis self-assigned this May 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

DOC-6565

@jit-ci
Copy link
Copy Markdown

jit-ci Bot commented May 8, 2026

❌ Jit Scanner failed - Our team is investigating

Jit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions.


💡 Need to bypass this check? Comment @sera bypass to override.

@andy-stark-redis andy-stark-redis marked this pull request as ready for review May 8, 2026 13:26
@jit-ci
Copy link
Copy Markdown

jit-ci Bot commented May 8, 2026

❌ Jit Scanner failed - Our team is investigating

Jit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions.


💡 Need to bypass this check? Comment @sera bypass to override.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 585deba. Configure here.

Comment thread content/develop/use-cases/cache-aside/java-lettuce/RedisCache.java Outdated
Comment thread content/develop/use-cases/cache-aside/dotnet/RedisCache.cs Outdated
@jit-ci
Copy link
Copy Markdown

jit-ci Bot commented May 8, 2026

❌ Jit Scanner failed - Our team is investigating

Jit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions.


💡 Need to bypass this check? Comment @sera bypass to override.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clients Client library docs do not merge yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant