[PP-1] Spike: Explore storing a hash lookup of component inputs

Created on 12 May 2025, 1 day ago

Overview

At present we store the full blob of JSON for each revision (and translation) when in practice a revision might only change one prop or component. This leads to a lot of duplication in databases.

We have seen this cause performance/scalability issues in previous page-building solutions like Paragraphs and Layout Builder, revision data tables can grow to be multiple GB in size.

Proposed resolution

Explore computing a hash of the prop values and storing only that for each component, storing the full values in a separate lookup table that is indexed by the hash.

Blocked on πŸ“Œ [PP-1] Consider not storing the ComponentTreeStructure data type as a JSON blob Postponed

User interface changes

πŸ“Œ Task
Status

Postponed

Version

0.0

Component

Data model

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024