| jeblad created this task. jeblad added a project: Wikibase-Lua. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. |
TASK DESCRIPTION
The Lua function mw.wikibase.lua.cacheEntity is supposed to implement a LRU but implements a FIFO. While this works it creates a lot of unnecessary cache misses.
It is pretty straight forward to fix it; simply recreate the cacheOrder with entityId as first item, remove all other references to this item, and drop the overflowing item.
Some of the Lua modules should get a much lower load, and I guess it should even be visible on the server load.
Perhaps I write a fix a little later.
TASK DETAIL
EMAIL PREFERENCES
To: jeblad
Cc: Aklapper, jeblad, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, Wikidata-bugs, aude, Mbch331
Cc: Aklapper, jeblad, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
