Everything else · Published October 4, 2026
Fixing intermittent waits in public shared content access
Choosing how to fix slow access to shared pages and videos
The situation
Public shared pages and videos were experiencing intermittent waits before opening, while revoked links stopped immediately. The waits coincided with owner scheduling and background work, and the grant logic was fast and revocation-sensitive. The goal was to reduce the access waits without weakening immediate revocation. Earlier observations showed that the grant checks were near zero, but the access waits were significant, and a cached positive grant would delay revocation.
What they weighed
Measure owner queue phases and remove a proven blocking operation through its generic owner while retaining every live grant check
Cache positive share admission outside the owner to bypass checks on repeated requests
Keep current code and gather a larger matched latency trace before modifying the request path
What they decided
Measure owner queue phases and remove a proven blocking operation through its generic owner while retaining every live grant check
Why
The observed grant logic was fast and revocation-sensitive, and the intermittent waits coincided with owner scheduling and background work. Measuring and correcting the generic owner path instead of bypassing admission seemed like the best approach. This way, the live grant checks would be retained, and the blocking operation could be removed. The goal was to reduce the access waits without weakening immediate revocation.
The first step
Inspect current request and background-work phases, instrument or correct the proven source of owner queue delay, then test and read back live page and byte timings with revocation intact
How they would know it worked
Live page and byte timings show reduced access tails under comparable load, all requested bytes remain accessible, and a revoked link immediately rejects page and byte reads
How it turned out
Not known yet. The result is added here when it comes in.
Shared by the person who made this decision. Names, places, dates and numbers were removed before it was published.