Answering the Database Scale Out Problem with PCI SSDs

752 views
720 views

Published on

Answering the Database Scale Out Problem:
SSDs in the Data Center

MySQL Conference 2010

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
752
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Answering the Database Scale Out Problem with PCI SSDs

  1. 1. Answering the Database Scale Out Problem:SSDs in the Data Center<br />April 14, 2010<br />Dan MarriottDirector - Production Operationsdanm@answers.com<br />
  2. 2. Answers.com<br />The world’s leading Q&A site<br />Rank in top Web properties<br />#18in the U.S. (02/2010)(1)<br />#31worldwide (02/2010) (1)<br />Unique monthly visitors<br />50 million in the U.S. (02/2010)(1)<br />72 million worldwide (02/2010) (1)<br />2<br />(1) Source: comScore – Hybrid Measurement Methodology (U.S. only) beginning August 2009<br />
  3. 3. ReferenceAnswers<br />3<br />
  4. 4. WikiAnswers: Q&A the Wiki Way<br />4<br />
  5. 5. Database layer<br />MySQL 5.0.87-b20-percona<br />MySQL 5.0.51a<br />5<br />
  6. 6. Challenges<br />Keep site fast<br />while site traffic and stored data are ever-increasing<br />Replication lag = 0<br />or users get stale data<br />Forever being forced to further optimize queries<br />constantly vying for dev resources to do this<br />Controlling hardware growth (Cap & OpEx $$$)<br />regularly adding servers to handle growth<br />6<br />
  7. 7. Handling high growth – database tier<br />Separate reads and writes<br />Add more read DB slaves<br />Use Memcached where possible<br />Optimize Queries<br />Partition large databases<br />_________<br />Started hitting a wall: Replication Lag even when servers handling modest # queries/sec<br />7<br />
  8. 8. Typical DB read cluster<br />8<br />
  9. 9. Fusion-io for HP Blade Servers<br />March ’09: HP announce IO Accelerator card for blades (manuf. by Fusion-io)<br />Sizes: <br />80 & 160GB SLC <br />320GB MLC<br />April ’09: received two cards – began testing<br />9<br />
  10. 10. Easy to install<br />One man job. Takes 60 secs.<br />10<br />
  11. 11. Performance Tests<br />11<br />Additionally, CPU load dropped from 30% to 18% (even with Fusion-io driver overhead)<br />
  12. 12. Typical DB read cluster<br />12<br />
  13. 13. Fusion-io Value Add for Answers.com<br />Scalability. >Twice the performance capacity on 1/4 servers<br />100% ROI on day of purchase (repurpose other 3/4)<br />75% reduction in operating costs:<br />Rack Space, Power and Cooling<br />Server Administration<br />Database Administration<br />75% fewer failure points<br />13<br />
  14. 14. Other SSD uses in the Data Center<br />Varnish (Web caching layer)<br />DB Backup Servers<br />Log Analysis<br />Data Warehouse<br />14<br />
  15. 15. 15<br />Thank you.<br />

×