Addshore added a comment.

  I don't think we will be able to expose the bits of WANCache that we need in 
some places through an interface such as PSR6 or bagostuff.
  For the places where we do need such complex set get delete purge etc logic 
for caching for a multi DC situation we will have to write the code to use the 
WANCache interface, or something like it.
  As we already have to write that logic, I'm not sure I see the value in then 
also allowing either a regular bagostuff or psr6 thing here.
  At the end of the day one can create a WANObjectCache instance that just 
contains a single bagostuff as far as I know, rather than having code in 
wikibase do different types of caching based on the interface passed in.
  
  Another thing to note is that WANObjectCache and BagOStuff both live in a 
mediawiki libs dir, which might one day actually be split out into its own 
composer package 
https://github.com/wikimedia/mediawiki/tree/master/includes/libs/objectcache 
T146257 <https://phabricator.wikimedia.org/T146257>
  
  The objective described is "We want cache-aware services in Wikibase to 
depend again on either BagOfStuff or PSR-6 interfaces."
  I think this ticket aim could be clarified with the reason for that objective 
being desired to make it clearer why this should possibly be done.

TASK DETAIL
  https://phabricator.wikimedia.org/T221928

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: alaa_wmde, Addshore
Cc: Addshore, WMDE-leszek, Aklapper, alaa_wmde, darthmon_wmde, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, 
Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to