Homec4science

Add an availability cache for users

Authored by epriestley <git@epriestley.com> on May 14 2015, 20:15.

Description

Add an availability cache for users

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7707

Differential Revision: https://secure.phabricator.com/D12838

Details

Committed
epriestley <git@epriestley.com>May 14 2015, 20:15
Pushed
aubortJan 31 2017, 17:16
Parents
rPHfef3c778fd45: Replace user "status" with "availability"
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHaa550189c788: Add an availability cache for users (authored by epriestley <git@epriestley.com>).May 14 2015, 20:15