21. Internet
store.farm
App
MySQL
SCGI
Master
Lighttpd Memcache Replicate
store.farmr
HTTP Proxy
WebDAV Web Service
Replicate
Lighttpd
(w/ mod_memcache)
MySQL write
Slave
Spiders
Lighttpd
WebDAV
Memcache
Static Files
!quot;#$%
read
Data
Mining
MySQL
Slave
22. • store farmr
• replicate delay
•
•
• cache
•
•
• ...... but it works
25. • Scale Up 1U
• 16G 147G SCSI *2 + 500G SATA
• SCSI RAID-0
• MySQL Slave
• memcached
• MyISAM InnoDB
•
• Sphinx
26. Internet
Sphinx
MySQL
Master
store.farm
Web Service
Replicate
Lighttpd
SCGI
App
HTTP Proxy
Memcache
Lighttpd
(w/ mod_memcache) WebDAV
store.farmr
Memcache
Lighttpd
Web Service
WebDAV
MySQL
Static Files
Slave
Spiders
Memcache
Memcache
46. Internet
upload.douban.com otho.douban.com
nginx
signed POST form Uploader
(w/ proxy_store)
HTTP redirect
FileStorage
Gateway
App
DoubanFS DoubanFS
Node Node