Addshore moved this task from Incoming to Needs Tech Work on the Wikidata-Campsite board. Addshore triaged this task as "High" priority. Addshore added a comment.
At one point we did also cache this for ~10-20s on machines. I both added and removed that last year. It was removed in https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Wikibase/+/498348/18/repo/includes/Store/Sql/SqlStore.php However that was to get around fetching the large amount of data (as the whole table is fetched) rather than stopping multiple calls. I see in that profile it says "WANObjectCache::fetchOrRegenerate 2059 calls" How many of them are for the property info? We should definitely do something about this. I guess our two options are wrap in another local cache as in the gerrit patch linked above. Or use the process cache functionality built into the WAN cache. Thoughts? TASK DETAIL https://phabricator.wikimedia.org/T243955 WORKBOARD https://phabricator.wikimedia.org/project/board/3402/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Addshore, Aklapper, Agabi10, Ladsgroup, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
