Review main Abandoned

73696[WIP][FEATURE] Add new Cache Backend with JSON tags

Benni Mack CR 0 V -1 Hard +362 −1 updated 09/12/25, 21:27

Commit message

A new cache backend for the caching framework
is added which uses JSON fields to store database
tags in the same table, so the need for an additional
table is not needed anymore.

This is / should be much more performant when having
A lot of cache tags, and would solve the special
logic of cache_treelist in the future.

I consider this feature to be used everywhere,
so we need to have full coverage on all RDBMS.

Review

  • Code review CR 0
  • Verified V -1
    • core-ci -1 CI

Files 2

Review log 67

  1. Benni Mack uploaded patch set 1 02/24/22, 13:02

  2. Oliver Hader commented on patch set 1 02/24/22, 13:09

    Typo3JsonTagDatabaseBackend.php:268 Unresolved

    in this case probably `json_encode((string)$value)`
  3. core-ci voted on patch set 1 V -1 02/24/22, 13:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/24193

  4. Benni Mack marked it work in progress 03/24/23, 11:45

  5. Stefan L commented on patch set 1 05/28/24, 15:41

    How did you measure the Impacts? I tries to do so using microtime and at least flushByTag i had a gap, using the default Database with join: 0,897 and using the new Backend 4,91 Seconds, having 1_229_108 Tags in each. I do not know if this is the right place for the comment but at least on my checks this patch makes things slower.
  6. Benni Mack commented on patch set 1 09/12/25, 21:27

    Reply Unresolved

    It was a POC, we can abandon it.
  7. Benni Mack abandoned the change 09/12/25, 21:27