Page MenuHomePhabricator

Add an availability cache for users
ClosedPublic

Authored by epriestley on May 14 2015, 3:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 3:34 PM
Unknown Object (File)
Wed, Apr 3, 1:42 AM
Unknown Object (File)
Sat, Mar 30, 10:55 PM
Unknown Object (File)
Mar 19 2024, 1:39 PM
Unknown Object (File)
Mar 18 2024, 7:23 PM
Unknown Object (File)
Mar 18 2024, 7:22 PM
Unknown Object (File)
Mar 18 2024, 6:02 PM
Unknown Object (File)
Mar 18 2024, 5:18 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.