Repository navigation
Closed
0 / 20 of 2 issues completedClosed
0 / 20 of 2 issues completed
Copy link
Labels
PerformanceWork relates to query load, cache behavior, or scaling[Area] Heartbeat 💓Issues for the heartbeat subsystem[Type] EnhancementA suggestion for improvement of an existing feature
Description
What remains of #444 is in gutenberg-sync-engines, which carries its own copy of Gutenberg for the RTC effort, plus one presence-api piece (#725). #444 keeps the measurements and sources. Returning identity above the client grain, which also settles WordPress/gutenberg#78700, is split across the two sub-issues below.
- Defer the poll loop until a second person is present, using the collaboration edge from Collaboration edge is only exposed to PHP, so the client cannot act on it #451 (Stop polling while editing alone; notice a second person through the heartbeat WordPress already sends gutenberg-sync-engines#72)
- Skip the awareness write when merged state is unchanged (Storage: Keep presence in the object cache and make idle polls read-only gutenberg-sync-engines#94)
- Let a host widen the solo polling interval: answered by Stop polling while editing alone; notice a second person through the heartbeat WordPress already sends gutenberg-sync-engines#72, since a lone editor's tab no longer polls on a timer outside a 30s discovery window, and the site setting already raises the solo interval through
Math.max. Only the JS filter is still clamped (RTC: Prevent slower polling filters gutenberg#78811) - Coalesce polling across tabs; perf: coalesce presence polling across tabs of the same user #300 and fix: gate cross-tab relay on Web Locks availability #401 are the precedent in this plugin. Tell a second person apart from your own second tab gutenberg-sync-engines#154 stops your own tabs from setting the two-person rate
- Revisit
AWARENESS_TIMEOUTat 30s; a decision rather than work
Declined
Read awareness once per request instead of twice(this was also the permission-check read; docs: rewrite readme.txt description for WordPress.org #104 removed a third): Every sync check-in looks up who is editing the post twice gutenberg-sync-engines#111 and Read who is in a post once per check-in gutenberg-sync-engines#115, closed as only saving a queryRe-measure 📌 RTC request and IOPS cost: data for hosts #444 §2 and §3 with the Presence API awareness backend: The cost report can't show what the Presence API plugin changes gutenberg-sync-engines#112, closed as not planned. The cost report itself exists (Report the plugin's hosting cost with one benchmark command gutenberg-sync-engines#60)
Metadata
Metadata
Assignees
Labels
PerformanceWork relates to query load, cache behavior, or scaling[Area] Heartbeat 💓Issues for the heartbeat subsystem[Type] EnhancementA suggestion for improvement of an existing feature
Activity
[-]RTC polling cost: remaining work in Gutenberg and gutenberg-sync-engines[/-][+]📌 RTC polling cost: remaining work in Gutenberg and gutenberg-sync-engines[/+]josephfusco commentedon Oct 5, 2026
Direction: HTTP polling is the floor. Most WordPress hosts cannot hold a WebSocket open from PHP, so whatever WordPress/gutenberg-sync-engines#74 picks and whatever WordPress/gutenberg-sync-engines#75 finds on VIP, every remaining item here still applies.
Done since this was opened:
Work in gutenberg-sync-engines counts for the Gutenberg items too, since it carries its own copy of Gutenberg for the RTC effort.
Next: each open item gets its own issue in gutenberg-sync-engines, and the checkboxes link to those. Only WordPress/gutenberg#78700 exists today. WordPress/gutenberg#78811 is the change that added the clamp, not a request to relax it.
josephfusco commentedon Oct 7, 2026
Closing, since everything left here is gutenberg-sync-engines work: your own second tab is WordPress/gutenberg-sync-engines#147, with WordPress/gutenberg-sync-engines#154 open, your other device is WordPress/gutenberg-sync-engines#148, and coalescing one person's tabs into one poll and the 30s
AWARENESS_TIMEOUTare that repo's call.