daniel added a subscriber: daniel.
daniel added a comment.

Fetching SiteList from memcached does not seem to happen on the page view code 
path. It does happen once on the edit code path. So this is not a regression to 
the old behavior, it's just that wikidata is no used so much, even doing this 
on edit is an issue.

So it seems that we have to tackle T76706: Design caching infrastructure for 
SiteStore <https://phabricator.wikimedia.org/T76706>, probably going for 
T47532: Add file-based cached implementation of SiteStore 
<https://phabricator.wikimedia.org/T47532>.

This is going to take a while. I can't think of a good quick fix for this.

We could cache a separate SiteList for each wiki, with the members of the 
wiki's family plus sister wikis (that is, all the Site entries relevant for 
sidebars on that wiki). That would give us one cache entry per wiki, and just 
as many requests to memcached, but the SiteLists returned would be smaller 
(say, 300 entries instead of 800). Not sure if that's worth the trouble.


TASK DETAIL
  https://phabricator.wikimedia.org/T58602

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: daniel, Wikidata-bugs, ori, JanZerebecki, aude, faidon, Ricordisamoa, 
MZMcBride, csteipp, aaron, Lydia_Pintscher, jeremyb, hoo, GWicke, wikidata-bugs



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to