Ladsgroup added a comment.

  In T243701#5880988 <https://phabricator.wikimedia.org/T243701#5880988>, 
@Bugreporter wrote:
  
  > The only way to resolve the issue is increase the rate of edit Query 
Updater can handle, or reduce the number of triple changes each edit.
  
  Yes and no. Yes, WDQS update is our current bottleneck in the infrastructure 
on handling the sheer amount of edits on Wikidata (which is a good thing) but 
if we fix this bottleneck and make scaling possible, we will sooner or later 
hit another bottleneck and maxlag is a not good way to help. We need to fix how 
we handle maxlag.
  
  I have been thinking about this and I think I have a suggestion. bots and 
tools, should respect maxlag **before** it reaches the threshold. We need to 
return the value of the maxlag in the API as well but tool developers should 
check the maxlag, even if it's 3 or 2 seconds, then wait for that amount and 
make the next edit after that (or just sleep exactly after the edit is made). 
This way they slow down before "they reach the threshold and then have to back 
off the let go back to normal and then they start the flood of edits again and 
so on and so forth."
  
  What do you think?

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

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

To: Ladsgroup
Cc: Bugreporter, Demian, Legoktm, Aschroet, ArielGlenn, Ladsgroup, 
Alicia_Fagerving_WMSE, JeanFred, Pasleim, Gehel, Lea_Lacroix_WMDE, 
ArthurPSmith, Albertvillanovadelmoral, Xqt, Lucas_Werkmeister_WMDE, Addshore, 
jcrespo, Dvorapa, Aklapper, Strainu, darthmon_wmde, ET4Eva, Legado_Shulgin, 
Nandana, Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, Darkminds3113, 
GoranSMilovanovic, Th3d3v1ls, Hfbn0, QZanden, EBjune, merbst, LawExplorer, 
Vali.matei, Avner, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, FloNight, 
Xmlizer, Volker_E, Wong128hk, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, GWicke, Dinoguy1000, Manybubbles, Lydia_Pintscher, faidon, Mbch331, 
Rxy, Jay8g, fgiunchedi
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to