Last modified: 2014-10-15 15:27:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47532, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45532 - Add file-based cached implementation of SiteStore
Add file-based cached implementation of SiteStore
Status: NEW
Product: MediaWiki
Classification: Unclassified
Sites (Other open bugs)
1.21.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 48932 (view as bug list)
Depends on: 45531
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-28 01:08 UTC by Daniel Kinzler
Modified: 2014-10-15 15:27 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-02-28 01:08:30 UTC

    
Comment 1 Daniel Kinzler 2013-02-28 01:11:15 UTC
For deployment on high traffic sites like Wikipedia, there should be an implementation of the SiteStore interface backed by CDB. This allows fast access to the sites information, simmilar to the way the interwiki mappings are currently stored using CDB.
Comment 2 Daniel Kinzler 2013-05-29 09:41:37 UTC
*** Bug 48932 has been marked as a duplicate of this bug. ***
Comment 3 Aude 2014-10-15 13:30:38 UTC
cdb is not really desired anymore, but instead recommend to cache the sites data in some static file, such as json (?), instead of loading from memcached.
Comment 4 Jeroen De Dauw 2014-10-15 15:27:47 UTC
Suggest this approach:

* SiteStore class remains as is
* CachingSiteStore decorator is added
* CachingSiteStore has a field of type "general caching interface", which might be an existing interface or a new one
* An implementation of this "general caching interface" is created (or re-used if it exists) that does the type of caching deemed best at this time for the site info on the WMF cluster

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links