Skip to content

Add approach 5: custom tables with dedicated presence table#8

Merged
desrosj merged 2 commits intoWordPress:trunkfrom
josephfusco:add-custom-tables-with-presence
Apr 28, 2026
Merged

Add approach 5: custom tables with dedicated presence table#8
desrosj merged 2 commits intoWordPress:trunkfrom
josephfusco:add-custom-tables-with-presence

Conversation

@josephfusco
Copy link
Copy Markdown
Contributor

@josephfusco josephfusco commented Apr 24, 2026

Adds the two-table approach (PR#11609) to the benchmark suite so it can be tested alongside the existing four approaches.

All approaches tested

# Approach PR
1 Post meta — RC2 baseline
2 Custom table for all data #11256
3 Post meta + transients for awareness #11348
4 Custom table + object cache for awareness #11599
5 Custom tables + dedicated presence table #11609

What this adds

  • Patch: 05-custom-tables-with-presence.patch — sync updates in wp_collaboration, awareness in wp_presence with a UNIQUE KEY (room, client_id)
  • Approach ID: custom-tables-with-presence
  • Schema: adds both wp_collaboration and wp_presence tables

Changes

  • patches/05-custom-tables-with-presence.patch — generated from PR#11609
  • patches/README.md — added row for approach 5
  • rtc-test.sh — patch mapping, schema detection, presence table cleanup
  • run.sh — added to the approach loop

Adds the two-table approach to the benchmark suite: sync updates in
wp_collaboration, awareness in wp_presence with a UNIQUE KEY.
@josephfusco josephfusco marked this pull request as draft April 24, 2026 23:08
@josephfusco josephfusco marked this pull request as ready for review April 24, 2026 23:47
@github-project-automation github-project-automation Bot moved this to 🆕 Backlog in Headless OSS Apr 27, 2026
@josephfusco josephfusco moved this from 🆕 Backlog to 👀 In review in Headless OSS Apr 27, 2026
@josephfusco josephfusco moved this from 👀 In review to Community In Review in Headless OSS Apr 27, 2026
Copy link
Copy Markdown
Member

@desrosj desrosj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @josephfusco!

@desrosj desrosj merged commit ffdb71c into WordPress:trunk Apr 28, 2026
@github-project-automation github-project-automation Bot moved this from Community In Review to ✅ Closed in Headless OSS Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants