Knowledge (XXG)

:Don't worry about performance - Knowledge (XXG)

Source 📝

24: 109: 388:
performance, where the purpose of the servers is to support the wiki contents, not the other way around. The purpose of the wiki content is to serve the reader; and performance considerations can certainly play a part in that process. Using thumbnails with a large size in bytes instead of a smaller
243:
System administrators have access to a wealth of profiling, logging and administration data which allow them to easily identify performance bottlenecks. If a feature of the MediaWiki software is causing unacceptable performance on the cluster, MediaWiki developers or sysadmins will take appropriate
143:
Site operations and keep-alive stuff is our concern. "Our" refers to the development team and the system administration team, but I lump it all together for this. If something is *needed* in order to get on with the encyclopedia-writing, or the dictionary-making, then do it. If it's unclean, let us
348:
Particularly in the area of template design, optimising server performance is important, and it's frequently done by users with a great amount of impact. It's not very hard. I've done it myself from time to time, but it's best done by people with a knowledge of the templates in question and the
329:
be possible to do something which will result in permanent data loss or unfixable breakage. On the rare occasion something spectacular occurs, follow instructions from the sysadmins who come in to pick up the pieces, and everything will be fine. Obviously you shouldn't do exactly the same thing
334:
and crashing the site, don't try to delete the same page again, but also don't fearfully count the revisions of every page you want to delete. This damages Knowledge (XXG) far more than a minor temporary slowdown. If you're unsure about something, you can ask a sysadmin on the
376:
In some areas the developers have provided tools with which you can more accurately measure performance, such as the template expansion limits, the parser report (present in a comment at the end of page content and on the edit preview page) or the profiling data in the
187:. The whole architecture, and the MediaWiki software which runs on it, has been designed to minimise editors' ability to affect the performance of the site. More importantly, running MediaWiki to host the Wikimedia wikis is what the cluster is 179:; these staff members are responsible for providing a stable and responsive platform on which to run the wikis hosted by the Wikimedia Foundation. That platform forms a cluster of over four hundred servers, with over five terabytes of 373:, then it is useful to edit it or templates and modules to make it perform better. This should be based on significant, measurable characteristics like load time, not hunches or efforts to simply save a few bytes here and there. 216:
As a technical matter, it's our responsibility to keep the system running well enough for what the sites require. In other words: it's not a policy issue. If and when we need to restrict certain things, we'll do so with technical
212:
Generally, you should not worry much about little things like templates and "server load" at a policy level. If they're expensive, we'll either fix it or restrict it at a technical level; that's our responsibility...
147:
Adopt common sense, of course. If it's plain something could cause drastic problems, hold fire and check. But don't go running around screaming "teh servers, teh servers!!!" as an excuse to not do stuff, that's
369:
Nothing in this page is to say that editors should not be mindful of performance, only that it should not limit project development. If a page is particularly slow to render, or coming up against
192: 471: 397:) can definitely slow down the loading of pages; but whether that's acceptable is an editorial choice, not something the developers or sysadmins will either prevent or encourage. 325:
the site. These are rare and not generally worth worrying about; although there are a few things admins can do maliciously which are very difficult to clean up, it should
200: 196: 220:"Policy" shouldn't really concern itself with server load except in the most extreme of cases; keeping things tuned to provide what the user base needs is our job. 255:
Some remedies made by sysadmins are not technical blocks, but 'ordinary' wiki edits. If a sysadmin makes an on-wiki change because of performance considerations,
47:; rather, its purpose is to explain certain aspects of Knowledge (XXG)'s norms, customs, technicalities, or practices. It may reflect differing levels of 460: 322: 502: 191:; so editors should do whatever they feel they need to with the software in order to further the project's goals. Performance is not a reason to 164: 44: 203:. The servers would 'perform' best if there were no content on Knowledge (XXG) at all, but they would not be achieving their purpose. 172: 40: 32: 249: 370: 245: 318: 285: 121:, who know what they're doing. Try not to make policy decisions based on your understanding of performance issues. 390: 447:
This would also eliminate most vandalism, edit-warring, POV-pushing, and personal attacks, but probably not all.
381:. In these cases, editors can certainly make use of these tools to improve the performance they can measure. 378: 431:
measure; the Wikimedia Foundation employs system administrators who will worry about site-wide performance.
184: 52: 48: 481: 306: 232: 62: 303: 229: 180: 331: 176: 118: 486: 358: 299: 225: 134:. The software is, on the whole, designed to prohibit users' actions from slowing it down much. 354: 465: 412: 362: 310: 330:
again, but don't be afraid to do similar things. If you get chastised for trying to delete
427:
a performance impact. Do not worry about the performance implications of things that you
244:
action to fix it. Examples of limitations introduced to avoid performance issues are the
153: 496: 138:
The Wikimedia Foundation pays people to worry about performance, so you don't have to
132:
there is little you can do to appreciably speed up or slow down the site's servers
160: 291:
That doesn't mean that AN ACTUAL PROBLEM, WHEN DISCOVERED, SHOULD BE IGNORED.
157: 339:
IRC channel if it makes you feel better, but generally it's not necessary.
144:
know, and if there's an easier method we can implement to help, we will.
489:, in case you want to be one of the people worrying about performance 294:
WHEN THERE IS AN ACTUAL, REAL, MEASURABLE PROBLEM, THEN IT MATTERS.
207:
If the sysadmins identify a performance problem, they will fix it
394: 284:
I made a general recommendation not to go running around saying
117:
Server performance is very important, but it's taken care of by
103: 18: 250:
restrictions on deleting pages with more than 5,000 revisions
272: 268: 264: 236: 128:
You, as a user, should not worry about site performance
91: 84: 77: 70: 279:
Editors cannot break the site, only admins can do that
288:about templates BASED ON SUPPOSITION AND PARANOIA. 259:; equally if a sysadmin tells you to make a change, 419:Be proactive in optimising things where you can 404: 346: 282: 210: 141: 263:. Past examples of such actions have included 8: 406:Optimize through science, not superstition. 389:size in bytes (e.g., a high-fidelity 50 kB 461:Knowledge (XXG):Don't delete the main page 384:"Don't worry about performance" refers to 45:Knowledge (XXG)'s policies or guidelines 440: 252:, and the 2 MB maximum size of pages. 286:THE SKY IS FALLING THE SKY IS FALLING 7: 175:numerous IT professionals to act as 14: 503:Knowledge (XXG) information pages 343:Editors still have a role to play 317:In a few cases, there are things 246:limitations on template inclusion 472:MediaWiki performance guidelines 257:do not reverse it nor block them 107: 22: 16:Knowledge (XXG) information page 321:can do that will slow down or 1: 237:Village Pump, 21 January 2006 413:wikitech-l, 13 January 2011 393:instead of an uglier 20 kB 363:wikitech-l, 12 January 2011 311:wikitech-l, 16 January 2007 273:altering high-use templates 519: 197:stop linking between pages 60: 171:The Wikimedia Foundation 201:avoid editing altogether 115:This page in a nutshell: 478:worry about performance 332:Knowledge (XXG):Sandbox 307:Chief Technical Officer 265:editing system messages 233:Chief Technical Officer 137: 417: 367: 315: 241: 169: 466:Wikitech robot policy 193:avoid using redirects 177:system administrators 165:wikitech-l, 27 Jun 06 482:The Maxlag parameter 349:articles they serve. 304:Wikimedia Foundation 230:Wikimedia Foundation 41:encyclopedic article 426: 422: 262: 258: 133: 424: 420: 260: 256: 131: 130:. In most cases, 125: 124: 102: 101: 510: 448: 445: 415: 365: 338: 313: 239: 167: 111: 110: 104: 94: 87: 80: 73: 33:information page 26: 25: 19: 518: 517: 513: 512: 511: 509: 508: 507: 493: 492: 457: 452: 451: 446: 442: 437: 416: 411:Brooke Vibber, 410: 403: 366: 359:Release Manager 353: 345: 337:#wikimedia-tech 336: 314: 298: 281: 240: 224: 209: 185:processor cores 183:and over 2,400 168: 152: 140: 108: 98: 97: 90: 83: 76: 69: 65: 57: 56: 23: 17: 12: 11: 5: 516: 514: 506: 505: 495: 494: 491: 490: 484: 479: 477: 468: 463: 456: 453: 450: 449: 439: 438: 436: 433: 430: 408: 402: 399: 387: 351: 344: 341: 328: 296: 280: 277: 269:blocking users 261:listen to them 222: 208: 205: 190: 150: 139: 136: 123: 122: 112: 100: 99: 96: 95: 88: 81: 74: 66: 61: 58: 38: 37: 29: 27: 15: 13: 10: 9: 6: 4: 3: 2: 515: 504: 501: 500: 498: 488: 485: 483: 480: 475: 474:describe how 473: 469: 467: 464: 462: 459: 458: 454: 444: 441: 434: 432: 428: 414: 407: 400: 398: 396: 392: 385: 382: 380: 374: 372: 364: 360: 356: 350: 342: 340: 333: 326: 324: 320: 312: 308: 305: 301: 300:Brooke Vibber 295: 292: 289: 287: 278: 276: 274: 270: 266: 253: 251: 247: 238: 234: 231: 227: 226:Brooke Vibber 221: 218: 214: 206: 204: 202: 198: 194: 188: 186: 182: 178: 174: 166: 162: 159: 155: 149: 145: 135: 129: 120: 119:the sysadmins 116: 113: 106: 105: 93: 89: 86: 82: 79: 75: 72: 68: 67: 64: 59: 54: 50: 46: 43:, nor one of 42: 39:It is not an 36: 34: 28: 21: 20: 487:Job openings 443: 418: 405: 383: 375: 371:other limits 368: 357:, MediaWiki 355:Tim Starling 347: 316: 293: 290: 283: 254: 242: 219: 215: 211: 170: 146: 142: 127: 126: 114: 30: 379:Edit filter 217:measures... 31:This is an 476:developers 154:Rob Church 386:site-wide 161:developer 158:MediaWiki 63:Shortcuts 49:consensus 497:Category 455:See also 425:quantify 401:In short 421:measure 173:employs 148:stupid. 92:WP:FAST 85:WP:SLOW 78:WP:PERF 71:WP:DWAP 53:vetting 429:cannot 319:sysops 302:(then 248:, the 228:(then 435:Notes 327:never 323:crash 470:The 423:and 395:JPEG 271:and 51:and 391:PNG 309:), 235:), 199:or 189:for 181:RAM 163:), 499:: 409:— 361:, 352:— 297:— 275:. 267:, 223:— 195:, 151:— 156:( 55:. 35:.

Index

information page
encyclopedic article
Knowledge (XXG)'s policies or guidelines
consensus
vetting
Shortcuts
WP:DWAP
WP:PERF
WP:SLOW
WP:FAST
the sysadmins
Rob Church
MediaWiki
developer
wikitech-l, 27 Jun 06
employs
system administrators
RAM
processor cores
avoid using redirects
stop linking between pages
avoid editing altogether
Brooke Vibber
Wikimedia Foundation
Chief Technical Officer
Village Pump, 21 January 2006
limitations on template inclusion
restrictions on deleting pages with more than 5,000 revisions
editing system messages
blocking users

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.