Last modified: 2014-05-14 13:41:32 UTC
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.
marius, can you look into this?
Change 133179 had a related patch set uploaded by Hoo man: Avoid SiteSQLStore::newInstance and the deprecated Sites class https://gerrit.wikimedia.org/r/133179
Change 133179 merged by jenkins-bot: Avoid SiteSQLStore::newInstance and the deprecated Sites class https://gerrit.wikimedia.org/r/133179