Page MenuHomePhabricator

Implement service for batched term pre-fetching (TermCacheManager)
Closed, ResolvedPublic

Description

TermCacheManager provides three functions:

  • updateTerms - called when an entity changes
  • (pre)fetchTerms - called before iterating over a list of links, such as RC
  • getCachedTerms - gets terms from the local cache.

TermCacheManager should be implemented based on (at least) two caching layers: a local buffer, and a persistent cache. Cache writes may be randomized to approximate LRU behavior.

Details

Related Gerrit Patches:
mediawiki/extensions/Wikibase : masterIntroducing TermCache
mediawiki/extensions/Wikibase : masterImplementing prefetching on top of TermIndex.

Event Timeline

daniel created this task.Dec 9 2014, 2:00 PM
daniel raised the priority of this task from to High.
daniel updated the task description. (Show Details)
daniel changed Security from none to None.
daniel added subscribers: aude, daniel.

Change 178876 merged by jenkins-bot:
Implementing prefetching on top of TermIndex.

https://gerrit.wikimedia.org/r/178876

Tobi_WMDE_SW closed this task as Resolved.Jan 8 2015, 2:33 PM
Tobi_WMDE_SW claimed this task.

Change 177525 abandoned by Addshore:
Introducing TermCache

https://gerrit.wikimedia.org/r/177525