Re: [Wikitech-l] Efficient caching of large data sets for wikidata

2014-11-29 Thread Aaron Schulz
A few things to note: * APC is not LRU, it just detects expired items on get() and clears everything when full (https://groups.drupal.org/node/397938) * APC has a low max keys config on production, so using key-per-item would require that to change * Implementing LRU groups for BagOStuff would

[Wikitech-l] Efficient caching of large data sets for wikidata

2014-11-28 Thread Daniel Kinzler
Hi all! I'd like to get some input on a tricky problem regarding caching in memcached (or accelerator cache). For Wikidata, we often need to look up the label (name) of an item in a given language - on wikidata itself, as well as on wikis that use wikidata. So, if something somewhere references