Skip to:
Content

bbPress.org

Opened 3 weeks ago

#3757 new task (blessed)

Performance: Audit query behavior for large forums

Reported by: johnjamesjacoby Owned by:
Priority: normal Milestone: 2.7
Component: General - Performance Version: trunk
Severity: normal Keywords: needs-design needs-testing
Cc:

Description

WordPress.org runs bbPress at a scale that has required a long-lived set of query workarounds in the Support Forums plugin. Several expose general bbPress scaling limits that should be measured and addressed upstream instead of remaining site-specific indefinitely.

Relevant Meta history includes:

  • Topic and reply query simplification and cached pagination totals in ​3895 and ​3919.
  • Time-bounded ID lookups in ​3903.
  • Skipping found-row counts for feeds in ​3945.
  • Capping and caching the all-topics view pagination in ​6888 for ​meta:#3414.
  • Disabling the popular view at scale in ​8082.

This ticket should track an evidence-based audit, not a wholesale port of the WordPress.org class. Some behavior is site policy or belongs in WordPress Core and must remain out of scope, including Google search redirects, hard-coded date windows, global user-count caching, wp-admin user-query policy, and disabling a core view without offering a scalable replacement.

Deliverables

  1. Inventory each remaining Support Forums query optimization and classify it as bbPress core, WordPress Core, or WordPress.org policy.
  2. Add repeatable fixtures and measurements for representative and adversarial forum sizes.
  3. Identify queries that materialize unnecessary rows, calculate unused totals, scan unbounded metadata, or cannot reuse maintained bbPress counts.
  4. Open focused implementation tickets where separate compatibility or API decisions are required.
  5. Land narrow changes with regression coverage and before-and-after measurements.

The initial core candidates are topic and reply loop pagination, feed queries, large topic views, and a scalable replacement for the current popular-view meta query. Existing work in #3123, #2915, and #3679 should be treated as completed pieces of the audit rather than reopened.

Change History (0)

Note: See TracTickets for help on using tickets.