Skip to content

Example 25: Caching Patterns (six patterns with Redis) #22

Description

@patterncatalyst

Chapter

_docs/25-appendix-l-caching.md — Caching Patterns

Example Path

examples/25-caching/

What to demonstrate

  • All six caching patterns:
    1. Cache-aside
    2. Read-through
    3. Write-through
    4. Write-around
    5. Write-back
    6. Refresh-ahead
  • Consistency stories and failure modes for each
  • Anti-patterns and decision guide

Stack

Deliverables

  • compose.yaml (with Redis + Postgres)
  • Service implementing all 6 patterns (switchable via config/endpoint)
  • README.md
  • verify.sh
  • Flip chapter footer to verified

Metadata

Metadata

Assignees

No one assigned

    Labels

    exampleRunnable example implementationhigh-priorityCore pattern, build earlypodman-stackExample uses podman compose infrastructureredisRequires Redis

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions