Page MenuHomePhabricator

Add an availability cache for users
ClosedPublic

Authored by epriestley on May 14 2015, 3:55 PM.
Tags
None
Referenced Files
F13135229: D12838.diff
Thu, May 2, 7:41 AM
F13135176: D12838.diff
Thu, May 2, 7:23 AM
Unknown Object (File)
Thu, Apr 25, 1:32 PM
Unknown Object (File)
Thu, Apr 25, 1:32 PM
Unknown Object (File)
Thu, Apr 25, 1:32 PM
Unknown Object (File)
Thu, Apr 25, 1:32 PM
Unknown Object (File)
Thu, Apr 25, 2:35 AM
Unknown Object (File)
Sat, Apr 20, 7:37 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.