Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation,...

17
Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Brion Vibber Wikimedia Foundation, Inc. Wikimedia Foundation, Inc. MySQL Users Conference MySQL Users Conference Santa Clara, CA Santa Clara, CA April 26, 2006 April 26, 2006
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    228
  • download

    0

Transcript of Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation,...

Page 1: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Upcoming MediaWiki goodies

Upcoming MediaWiki goodies

(aka, Wikipedia takes over everything)(aka, Wikipedia takes over everything)

Brion VibberBrion VibberWikimedia Foundation, Inc.Wikimedia Foundation, Inc.

MySQL Users ConferenceMySQL Users ConferenceSanta Clara, CASanta Clara, CAApril 26, 2006April 26, 2006

Page 2: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

•Continuous integration: code is always ready to run Wikipedia

•Switched CVS -> SubversionEasier branch management for work on big changes

•Quarterly releases of MediaWiki:1.6 - April 20061.7 - July 20061.8? - October 2006...

•Continuous integration: code is always ready to run Wikipedia

•Switched CVS -> SubversionEasier branch management for work on big changes

•Quarterly releases of MediaWiki:1.6 - April 20061.7 - July 20061.8? - October 2006...

Page 3: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Where do we go from here?

Where do we go from here?

•Share the love!You know, all that Web 2.0 crap

•Make it work!Friendlier failure modes

•Make it fast!Avoid click-n-wait

•Share the love!You know, all that Web 2.0 crap

•Make it work!Friendlier failure modes

•Make it fast!Avoid click-n-wait

Page 4: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Integration and OutreachIntegration and Outreach

Beta bubble buzzword bingo!Beta bubble buzzword bingo!

Page 5: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Identity is theftIdentity is theft

•Signing up for accounts everywhere sucks!

•Wikipedia and its sister projects to merge user accounts soon

•OpenID, Yadis etc will allow consistent identity on wikis and blogs run by different operators

•Signing up for accounts everywhere sucks!

•Wikipedia and its sister projects to merge user accounts soon

•OpenID, Yadis etc will allow consistent identity on wikis and blogs run by different operators

Page 6: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Web services APIWeb services API

•Screen-scraping sucks

•Many fun uses for querying data from Wikipedia, Wiktionary, or Wikimedia Commons

•Current work targeting maintenance tools, but content is coming...

•Screen-scraping sucks

•Many fun uses for querying data from Wikipedia, Wiktionary, or Wikimedia Commons

•Current work targeting maintenance tools, but content is coming...

Page 7: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Put the Media in MediaWiki

Put the Media in MediaWiki

•Wikimedia Commons stores photos, sound, and video clips for Wikipedia & friends

•GNU FDL, Creative Commons, Public Domain

•Planning a handy service for remote use in off-site wikis and blogs etc

•(Psst... maybe steal flickr’s API?)

•Wikimedia Commons stores photos, sound, and video clips for Wikipedia & friends

•GNU FDL, Creative Commons, Public Domain

•Planning a handy service for remote use in off-site wikis and blogs etc

•(Psst... maybe steal flickr’s API?)

Page 8: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Failing gracefullyFailing gracefully

On our budget, two nines sound pretty goodOn our budget, two nines sound pretty good

Page 9: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Some failures are hardSome failures are hard

•Meteor strike

•Nuclear war

•Flaky circuit breaker between the UPS and all your machines

•Meteor strike

•Nuclear war

•Flaky circuit breaker between the UPS and all your machines

Page 10: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

But it can be easy on the eyes

But it can be easy on the eyes

•Our proxy caches in Europe and Asia can serve read-only data to some visitors, some of the time

•Smarter proxy caches should be able to serve read-only data to everyone, transparently, if core servers are unreachable

•With a DNS update on failover we could do this for North America too

•Our proxy caches in Europe and Asia can serve read-only data to some visitors, some of the time

•Smarter proxy caches should be able to serve read-only data to everyone, transparently, if core servers are unreachable

•With a DNS update on failover we could do this for North America too

Page 11: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

186,000 miles per second

186,000 miles per second

It’s not just a good idea, it’s the law!It’s not just a good idea, it’s the law!

Page 12: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

War on Latency: NetworkWar on Latency: Network

•Very fast for static, public page views

•Geographically distributed caches reduce network latency

•Very fast for static, public page views

•Geographically distributed caches reduce network latency

FrankfurtFrankfurt

TampaTampa

AmsterdamAmsterdam

15ms15ms

Caching proxies are awesome!Caching proxies are awesome!

Page 13: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

War on Latency: NetworkWar on Latency: Network

•Login cookie? Page changed since last view?

•Requests now cross an ocean...

•100-400ms of dead time, depending on continent. Yuck!

•Login cookie? Page changed since last view?

•Requests now cross an ocean...

•100-400ms of dead time, depending on continent. Yuck!

FrankfurtFrankfurt

TampaTampa

AmsterdamAmsterdam

15ms15ms90ms90ms

BUT proxies are dumb...BUT proxies are dumb...

Page 14: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Vertical partitioning?Vertical partitioning?

•Low-latency access to local read-only database slaves

•Transparently pass write operations up the chain

•Provides read-only view if core servers unreachable

•Low-latency access to local read-only database slaves

•Transparently pass write operations up the chain

•Provides read-only view if core servers unreachable

BUT...

Freakin’ hard to do right.

Internal caches need to be kept properly in sync too...

Page 15: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

Aggressive AJAX?Aggressive AJAX?

•Run most user login / customization through JavaScript

•Keep most real data in cache-friendly static responses

•Run most user login / customization through JavaScript

•Keep most real data in cache-friendly static responses

BUT...

Harms accessibility

Page 16: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

•Either way, keep working on improving code modularity

•Which helps with an integrated services API too...

•Either way, keep working on improving code modularity

•Which helps with an integrated services API too...

Page 17: Upcoming MediaWiki goodies (aka, Wikipedia takes over everything) Brion Vibber Wikimedia Foundation, Inc. MySQL Users Conference Santa Clara, CA April.

?>?>Brion VibberBrion VibberWikimedia Foundation, Inc.Wikimedia Foundation, Inc.

MySQL Users ConferenceMySQL Users ConferenceSanta Clara, CASanta Clara, CAApril 26, 2006April 26, 2006