Benchmark an AuditLog clustered-key flip and revisit per-node KPI sampling cadence #78

Open
opened 2026-11-06 15:24:48 -05:00 by dohertj2 · 0 comments
Owner

Tracked follow-ups from arch-review 04, recorded in the ConfigurationDatabase spec:

  • P3: benchmark whether flipping the dbo.AuditLog clustered key from (EventId, OccurredAtUtc) to (OccurredAtUtc, EventId) improves range-scan locality once real volume exists.
  • P4: the per-node KPI sampling cadence, a lower-urgency hardening item. Verify still open, since the spec gives no detail.

(P6, AuditLog reconciliation keyset paging, now looks done: SiteAuditReconciliationActor keeps a (Since, AfterId) cursor and sends AfterId. The spec line is stale.)

Source: docs/requirements/Component-ConfigurationDatabase.md § Data-layer conventions & tracked follow-ups (arch-review 04)

Tracked follow-ups from arch-review 04, recorded in the ConfigurationDatabase spec: - **P3:** benchmark whether flipping the `dbo.AuditLog` clustered key from `(EventId, OccurredAtUtc)` to `(OccurredAtUtc, EventId)` improves range-scan locality once real volume exists. - **P4:** the per-node KPI sampling cadence, a lower-urgency hardening item. Verify still open, since the spec gives no detail. (P6, AuditLog reconciliation keyset paging, now looks done: `SiteAuditReconciliationActor` keeps a `(Since, AfterId)` cursor and sends `AfterId`. The spec line is stale.) Source: `docs/requirements/Component-ConfigurationDatabase.md` § Data-layer conventions & tracked follow-ups (arch-review 04)
dohertj2 added the type:debtpriority:p3migrated labels 2026-11-06 15:24:48 -05:00
Sign in to join this conversation.