Page MenuHomePhabricator

Collect statistics on stash read failures
Closed, ResolvedPublic

Description

To measure whether the stashing of parsoid base html for VE is working properly, we cen define an SLO based on the probability of stash read misses, as a function of the time since the stash entry was written. In order to measure compliance with the SLO, we'll want to track the following:

  • Stash hits vs. stash miss. Misses should be minimal, since the stash should have near perfect persistance - unless the TTL was exceeded, or the clinet submitted a bad stash key.
  • The time between stash write and stash read.
  • The time between stash write and stash miss. We need to reply on a timestamp supplied by the client, since for a stash miss, we don't know when and if the data was written.

Since we rely on client supplied information for the metrics, we may want to have them HMAC signed, to avoid tempering.

Event Timeline

daniel triaged this task as Medium priority.Jun 29 2022, 10:29 AM
daniel raised the priority of this task from Medium to High.Sep 5 2022, 9:32 AM
daniel renamed this task from Collect statistics on stash read failures to Collect statistics on stash read failures in the VE client.Oct 19 2022, 10:28 AM
daniel renamed this task from Collect statistics on stash read failures in the VE client to Collect statistics on stash read failures.Dec 6 2022, 3:46 PM
daniel closed this task as Resolved.
daniel claimed this task.
daniel moved this task from Doing to Blocked on the RESTBase Sunsetting board.