Skip to content

Produce a scale analysis and benchmark before the core proposal #132

Description

@josephfusco

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.

Metadata

Metadata

Labels

Needs DiscussionAnything that needs a discussion/agreementPerformanceWork relates to query load, cache behavior, or scaling[Type] EnhancementA suggestion for improvement of an existing feature

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions