https://bugzilla.wikimedia.org/show_bug.cgi?id=64743
Bug ID: 64743
Summary: Re-use the same instance of SiteSQLStore everywhere.
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
Currently, SiteSQLStore::newInstance() is used in a lot of places that need to
look up Sites. This means we have to fetch the site list (~800 entries that
need to be uncompressed and deserialized) from memcached (via TCP) over and
over.
We should inject the SiteStore where possible, and rely on a application scope
singleton in WikibaseRepo resp WikibaseClient in static entry points.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l