You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide the origin-transport mechanism (cache written to different lambdas) #24296
Example: the same app on Vercel. The fill runs in lambda 1, the hit is served by lambda 2. The shared cache has the entry, but lambda 2's memory has no record of who filled it (no link). On a single self-hosted server it works.
Solves: whether links exist on the most common deploy target. We should know this before shipping, not after.
Fix idea: compare three options. (a) A per-process in-memory table, which works today but only within one instance. (b) Trace context stored inside the cache entry, which works everywhere but needs a Next.js upstream metadata-slot ask. (c) Both, table now and entry metadata when upstream lands. Deliverable: a decision record with rejected options and an estimate of the same-instance hit rate on serverless.
changed the title [-]Decide the origin-transport mechanism[/-][+]Decide the origin-transport mechanism (cache written to different lambdas)[/+]on Oct 7, 2026
Activity
linear-code commentedon Sep 10, 2026
JS-3657
[-]Decide the origin-transport mechanism[/-][+]Decide the origin-transport mechanism (cache written to different lambdas)[/+]feat(nextjs): Link `use cache` hits to their fill across instances (g…
github-actions commentedon Oct 23, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #25448, which was included in the 11.9.0 release.