From Wikitech
< WMDE‎ | Wikidata
Jump to navigation Jump to search

Current & Future


Needed for: Increased edit rate. Increased WDQS queries

Ticket: https://phabricator.wikimedia.org/T209201

Also Wikidata_query_service/ScalingStrategy

Abuse filter

Needed for: Larger entity sizes.

Ticket : https://phabricator.wikimedia.org/T204109

Entity size / serialization

Needed for: Larger entity sizes.


Revision table?

Needed for: More revisions

In 3 years time we will likely have 2 billion rows in the mediawiki revision table. Is this actually an issue? Do we just need some bigger hardware? Sharding?

Dump generation

Weekly dump generation: https://phabricator.wikimedia.org/T206535

All revisions: https://phabricator.wikimedia.org/T221504

Recent Changes

MediaWiki is not optimized for having so many changes and also for having so many changes in a single NS and not many in the others..

On a social side RC is also quite unweildy.



Removed: https://phabricator.wikimedia.org/T208425


Needed for

  • Increased property count. Increased request rate(/more app servers?)?
  • Continued stability



Rate of entity Id acquisition

Needed for: Increased entity creation rate

fname:"Wikibase\\SqlIdGenerator::generateNewId" AND db_name:"wikidatawiki" AND channel:"DBQuery" AND error:"Lock wait timeout exceeded; try restarting transaction"


Change dispatching

Needed for: Edit rate

Change dispatching was slow and often backlogged. This limits the rate of editing that can happen on wikidata.

Fix: https://phabricator.wikimedia.org/T205865

With the fix in place, we managed to switch the number of dispatchers from 4 to 2. We switched back to 3 a while later when turning on data access to a bunch of wiktionaries.