The current write behavior -- unconditional upsert on every heartbeat tick per user -- has not been benchmarked or analyzed for impact at realistic concurrency levels.
Before this becomes a core proposal, there should be a documented answer to: what does the wp_presence table look like under 100, 500, and 1000 concurrent admin users? What are the query times, lock wait times, and table size at those levels with the 60-second TTL and the per-minute cleanup cron?
This does not require a solution to the write volume question -- it requires evidence. A tested environment with realistic data that shows either the current design handles expected load acceptably, or that specific numbers justify the engineering changes tracked in #131.
Without this, the core proposal will face the question at review time without a prepared answer.
The current write behavior -- unconditional upsert on every heartbeat tick per user -- has not been benchmarked or analyzed for impact at realistic concurrency levels.
Before this becomes a core proposal, there should be a documented answer to: what does the
wp_presencetable look like under 100, 500, and 1000 concurrent admin users? What are the query times, lock wait times, and table size at those levels with the 60-second TTL and the per-minute cleanup cron?This does not require a solution to the write volume question -- it requires evidence. A tested environment with realistic data that shows either the current design handles expected load acceptably, or that specific numbers justify the engineering changes tracked in #131.
Without this, the core proposal will face the question at review time without a prepared answer.