PERF03-BP05Performance EfficiencyPERF31 of 5 practices publishedReference content

Implement data access patterns that utilize caching

Framework question: How do you store, manage, and access data in your workload?

Risk if not established
Medium
Framework verified
14 Nov 2026

AWS Well-Architected Framework — PERF03-BP05 Implement data access patterns that utilize caching

Executive summary

Why this practice matters

Use caching where data is read often and changes rarely, so that repeated requests are served quickly without going back to the primary data store each time. Each cache has a clear invalidation rule, is treated as disposable rather than durable, and is monitored so the team knows whether it is actually helping.

Business impact

  • Lowers read latency and improves the experience for users.
  • Reduces load on primary databases, APIs and services that are expensive to scale.
  • Can reduce cost by serving repeated reads from a cheaper, faster layer.
  • Avoids users seeing stale or inconsistent data when caching is designed with freshness in mind.

Assign

Accountable and responsible roles

Responsibilities are held separately from roles, so accountability type and typical roles are stated explicitly.

ResponsibilityAccountability type

Design caching into data access

Identify caching candidates, choose the caching pattern and set invalidation rules.

Typical roles: Architect, Data Practitioner, Architect, Data Practitioner

responsible

Implement and monitor caches

Build caching into the application and clients, and monitor hit rate, latency and usage.

Typical roles: Software Engineer, DevOps Engineer, Software Engineer, DevOps Engineer

responsible

Accept freshness and consistency trade-offs

Agree which data may be cached and how stale it may be, and own the performance outcome.

Typical roles: Service Owner, Team Lead / Manager, Service Owner, Team Lead / Manager

accountable

Assessment

Assessment and evidence state

States describe how far the practice has moved from intent to something continuously validated.

  1. 0

    Not Assessed

    No documented evaluation of the practice has been performed.

    Indicators

    • No one has examined which reads in the workload could be served from a cache.
  2. 1

    Not Implemented

    The practice is absent or applied only ad hoc.

    Indicators

    • No caching is used, or caches were added without considering freshness.
    • Cache effectiveness is not measured.
  3. 2

    Partially Implemented

    The practice is applied to some workloads or components, with known gaps.

    Indicators

    • Some frequently read data is cached with time-based expiry.
    • Hit rate is checked only when performance problems appear.
  4. 3

    Implemented

    The practice is applied consistently across defined scope, with evidence.

    Indicators

    • Caching candidates, patterns and invalidation rules are documented for the main data paths.
    • Hit rate and latency are monitored against an agreed target.
  5. 4

    Continuously Validated

    The practice is regularly tested and improved from measured results.

    Indicators

    • Cache size, keys and expiry are tuned from hit-rate trends.
    • Tests confirm the workload behaves correctly when caches are cold or unavailable.

Assessment dimensions

  • Candidate selection

    Practice-specific

    Absent · Partial · Operational and verified

  • Invalidation and freshness

    Practice-specific

    Absent · Partial · Operational and verified

  • Resilience to cache loss

    Practice-specific

    Absent · Partial · Operational and verified

  • Hit-rate monitoring

    Practice-specific

    Absent · Partial · Operational and verified

Caution

Do not award maturity for the presence of a caching service alone. Check that cached data was chosen from access patterns, has an invalidation rule, and that hit rate is monitored against a target.

Standard

What you should be able to demonstrate

Statements a reviewer should be able to confirm from evidence, not from intent.

  • Caching candidates are chosen from measured access patterns, such as heavy reads and a high read-to-write ratio.
  • The choice between client-side, remote or multi-level caching is recorded with its reasons.
  • Every cached dataset has an invalidation rule, such as a time-to-live or event-driven expiry, that balances freshness against backend load.
  • The workload still behaves correctly when the cache is empty or unavailable.
  • Cache hit rate and latency are monitored against an agreed target and reviewed.

Trade-offs to hold in view

  • Faster reads come at the price of possible staleness between cache and source.
  • A remote cache improves consistency between clients but adds a network hop.
  • Client-side caches give the lowest latency but duplicate storage and can disagree with each other.

Assess

Questions to ask

Each question exposes the difference between an intention and an operating practice.

  • discovery

    Which data stores or services receive the most repeated reads, and which of them are already cached?

    Grounds caching decisions in actual access patterns.

    Usually asked by: Architect, Data Practitioner

  • challenge

    What happens to users and to the primary data store if the cache is emptied or becomes unavailable?

    Tests whether the cache is wrongly treated as durable.

    Usually asked by: SRE / Reliability Engineer, Software Engineer

  • evidence

    Can we show the current hit rate and latency for each cache, and the target they are measured against?

    Requires monitoring rather than an assumption that the cache helps.

    Usually asked by: DevOps Engineer, Data Practitioner

  • executive

    Where would stale data cause real harm to customers or the business, and is that data excluded from caching?

    Makes the freshness trade-off a deliberate business decision.

    Usually asked by: Service Owner, Technology Executive

Evidence

Required and expected evidence

Reusable evidence definitions held once in the evidence library and referenced by every practice that relies on them. Each links to what good evidence looks like and to worked examples.

EVD-SUS-007coreReusable

Data Access & Storage Efficiency Assessment

Assessment of data characteristics and access patterns used to select efficient storage, caching, partitioning, compression and access architectures.

Shows the measured access patterns, the data chosen for caching and the invalidation rule for each.

Minimum expected content

  • Dataset/workload scope
  • Data type
  • Growth pattern
  • Durability requirement
  • Read/write pattern
  • Access frequency
  • Burst characteristics
  • Candidate storage/access patterns
  • Compression/partitioning/caching options
  • Resource implications
  • Selected architecture
  • Review trigger

Anti-patterns

  • One storage tier for all data
  • Access pattern assumed static
  • Burst capacity provisioned permanently
  • No compression where supported
  • Database/storage choice based only on familiarity

Review: Review when data volume, access pattern, retention requirement or storage technology changes materially.

EVD-PERF-001supportingReusable

Performance Benchmark Plan & Results

A repeatable benchmark definition and result set for a workload component or architecture option, including representative scenarios, environment, metrics, repeated runs, findings and resulting architecture decisions.

Shows read latency, throughput and hit rate with and without the cache.

Minimum expected content

  • Benchmark objective and decision/question being informed
  • Relevant performance/NFR target or user requirement
  • Baseline implementation/configuration
  • Candidate implementation/configuration being tested
  • Representative scenario or operation mix
  • Test environment and resource configuration
  • Dataset/input size and pre-warm/setup conditions
  • Metrics and KPIs such as latency, throughput, utilisation or error rate
  • Tooling and test procedure
  • Number/timing of repeated runs and observed variance
  • Raw/result summary and statistical treatment appropriate to the test
  • Bottlenecks or constraints identified
  • Comparison with baseline and requirement
  • Architecture recommendation/action resulting from the findings
  • Retest result after material adjustment where applicable
  • Date, owner and conditions requiring rerun

Anti-patterns

  • A vendor benchmark is used as proof without matching workload characteristics
  • One run is treated as conclusive
  • The test environment differs materially between compared options
  • Only average latency is reported for a tail-latency-sensitive workload
  • Benchmarking happens with no performance requirement or decision question
  • Results are cherry-picked after the preferred option is selected
  • No pre-warm or variance control exists
  • The benchmark is used as a substitute for load testing the complete workload when concurrency/system behaviour matters

Review: Create for material performance-sensitive architecture choices and rerun when the tested component, configuration, workload profile or performance requirement changes materially.

Diagnosis

Common evidence gaps

  • Caching volatile data

    Frequently changing data is cached, so users receive outdated results.

  • Cache treated as storage

    The application relies on cached data as if it were durable and always available.

  • Consistency ignored

    Several clients hold different cached copies, and no one has decided what level of inconsistency is acceptable.

  • No measurement

    The cache runs without hit-rate or latency monitoring, so its value is unknown.

Implementation

Implementation guidance

Find the data worth caching

Analyse which databases, APIs and network services receive heavy, repeated reads or are expensive to scale, and start there.

Pick the caching pattern

Use client-side caching for the lowest latency, a remote cache for consistency between clients and larger capacity, or both together for multi-level caching.

Set freshness rules

Give all cached data an invalidation strategy, and avoid caching data that changes frequently or must always be current.

Harden the client

Use connection pooling, client-side timeouts, retries with exponential backoff and well-structured cache keys where the client supports them.

Measure and adjust

Track hit rate, latency and usage; AWS suggests aiming for a hit rate of 80% or higher, as lower values may point to an undersized cache or an unsuitable access pattern.

Measure

Measurements

  • Cache hit rate per cache against the agreed target
  • Read latency for cached and uncached requests
  • Load on the primary data store before and after caching
  • Incidents or complaints caused by stale cached data

Related

Outcomes and practices

Business outcomes

    Practices