Page MenuHomePhabricator

Add an availability cache for users
ClosedPublic

Authored by epriestley on May 14 2015, 3:55 PM.
Tags
None
Referenced Files
F13999461: D12838.diff
Thu, Oct 24, 2:56 PM
F13986102: D12838.id.diff
Mon, Oct 21, 12:36 AM
F13983831: D12838.id30897.diff
Sun, Oct 20, 9:00 AM
F13982806: D12838.id30897.diff
Sun, Oct 20, 2:05 AM
F13981092: D12838.id30882.diff
Oct 19 2024, 2:12 PM
F13980049: D12838.id30881.diff
Oct 19 2024, 8:07 AM
F13978198: D12838.id30882.diff
Oct 18 2024, 10:04 PM
F13977421: D12838.id30881.diff
Oct 18 2024, 6:30 PM
Subscribers

Details

Summary

Ref T7707. Caches availability on users to reduce the cost of loading handles. This cache is very slightly tricky to dirty properly.

Test Plan
  • Use DarkConsole to examine queries; saw cache hits, miss+fill, dirty.
  • Saw availability change correctly after canceling, joining, declining events.
  • Saw no queries to Calendar for pages with only availability data.

Diff Detail

Repository
rP Phabricator
Branch
fxform16
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 5977
Build 5997: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Add an availability cache for users.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.May 14 2015, 5:51 PM
This revision was automatically updated to reflect the committed changes.