Optimize state cache misses

Created on 15 April 2025, 27 days ago

Problem/Motivation

If the state cache is missing an item, which will usually open happen during the first few requests after a cache clear, it individually loads each record from key/value.

We can probably use ::getAll() to load everything from the collection into memory, and then take values from there. This will help with the number of database queries executed on cold caches.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

base system

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024