Beruflich Dokumente
Kultur Dokumente
•
operations or non-
Intro technical stuff
• Global architecture
• Application servers
• Persistent storage
• Wikipedia:
• ...managed by ~ 6 people
PHP
Users Linux
Apache
web
server MySQL
PHP
Squid
caching MediaWiki Core
layers databases
LVS
(MySQL)
Application
LVS servers
(Apache)
Invalidation notification
External
Search
HTTP
MySQL
Profiling storage
(Lucene)
NFS
Memcached
DNS
HTCP Logging
• Hit rates: 85% for Text, 98% for Media, since the use of
CARP
PowerDNS
(geo-distribution)
Primary datacenter
CARP Squid
LVS
Cache Squid
CARP Squid
Cache Squid
Application
LVS LVS
Clients
Amsterdam
...
knsq1 knsq2 knsq3
• Written in PHP
Primary interface
Parser cache MediaWiki
language cache
Secondary interface
Difference cache Revision text cache
language cache
PHP
Imagemagick
APC
Tex
MediaWiki
DjVu
rsvg
ploticus
Mark Bergsma, mark@wikimedia.org, Wikimedia Foundation Inc.
Wikimedia architecture
MediaWiki optimization
• We try to optimize by...
• Scaling by:
Text Restrictions
Page
Revision Pagelinks
• Not scalable
Clients