Skip to content

Clarify L2 cache vs. cache preload: payload size vs. call count - #185

Open
EclipseEternal wants to merge 1 commit into
AdobeDocs:mainfrom
EclipseEternal:correct-l2-cache-vs-preload-redis-load-claim
Open

Clarify L2 cache vs. cache preload: payload size vs. call count#185
EclipseEternal wants to merge 1 commit into
AdobeDocs:mainfrom
EclipseEternal:correct-l2-cache-vs-preload-redis-load-claim

Conversation

@EclipseEternal

Copy link
Copy Markdown

Description

The L2 cache configuration page describes L2 caching as reducing "network traffic" without distinguishing that from reducing the number of remote cache calls. In the legacy RemoteSynchronizedCache implementation, each web node still calls the remote cache on every read to validate its local copy (a hash comparison) - so L2 caching does not reduce the number of round trips to the remote cache. What it reduces is the size of each round trip: a short hash instead of the full cached value, unless the local copy is stale.

Separately, the page already recommends the cache preload feature but only describes its benefit as "decreases the pressure on Redis," without stating that:

  1. it is an independent mechanism, usable with or without L2 caching, and
  2. it is specifically the mechanism that reduces the number of remote cache calls, by batching a fixed list of cache IDs into a single pipelined round trip instead of one round trip per ID.

This PR rewords both passages to make the size-vs-count distinction explicit, so a reader looking to reduce the number of Redis calls is pointed at cache preload rather than L2 caching.

Changes

  • help/configuration/cache/level-two-cache.md: two paragraphs reworded (no structural changes, no other content touched).

The L2 cache section described L2 caching as reducing "network traffic" without
distinguishing that from reducing the number of remote cache calls. L2 caching
still checks the remote cache on every read to validate its local copy - what
shrinks is the payload of each call (a hash instead of the full value), not the
number of round trips.

The cache preload paragraph already pointed at the preload feature but described
its benefit only as "decreases the pressure on Redis," without stating that it
is an independent mechanism (usable with or without L2) and that it is
specifically the round-trip-count reducer, via pipelining a fixed list of IDs
into one batch.
@EclipseEternal
EclipseEternal force-pushed the correct-l2-cache-vs-preload-redis-load-claim branch from cf8d76c to 3f7916f Compare August 20, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋 Needs Review

Development

Successfully merging this pull request may close these issues.

2 participants