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.
Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=0