The Knot, Inc. Cache Architecture

2,123
-1

Published on

A description of our implementation and architecture about using Membase for caching.

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

No Downloads
Views
Total Views
2,123
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

The Knot, Inc. Cache Architecture

  1. 1. Cache ArchitectureJanuary 2011<br />
  2. 2. Jason Sirota<br />Director, Application Architecture<br />The Knot, Inc.<br />jsirota@theknot.com<br />http://jasonsirota.com/<br />Twitter: @jasonsirota<br />
  3. 3. Who is The Knot?<br />
  4. 4. The Knot, Inc.<br />Weddings, Pregnancy, everything in between<br />Began in 1996 with a channel on AOL<br />Now has multiple brands including <br />The Knot<br />The Nest<br />The Bump<br />
  5. 5. But what you really want to know is…<br />
  6. 6. How much traffic do we get?<br />150 million pageviews/month<br />5 million unique visitors<br />40 web servers running Windows <br />10 web server instances running *nix <br />
  7. 7. And what technology do we use?<br />ASP.NET <br />SQL Server<br />Nhibernate<br />Struts2<br />Spring<br />Grails<br />MySQL<br />Oracle<br />PHP<br />SiteCore CMS<br />jQuery / custom JS<br />Castle ActiveRecord<br />WCF Services<br />PostGres<br />Endeca Search<br />Lucene Search<br />
  8. 8. CacheImplementation<br />
  9. 9. Naked Memcached<br />A programmer and a sysadmin walk into a bar<br />1 Bare Metal box, 16x1gb Nodes<br />Single point of failure<br />
  10. 10. Reasons for switching to Membase<br />Memcached paid support<br />Out of the box instrumentation<br />Low cost for large capacity<br />Logical bucketing<br />Vertical or horizontal expansion<br />Made for many, distributed nodes<br />
  11. 11. Membase hardware<br />5xBare metal boxes<br />HP DL165 – AMD 6172<br />2x16GB RAM (32GB)<br />2x300GB SAS 10K HD<br />
  12. 12. Total Cluster<br />140 GB RAM<br />~700GB Disk Space allocated<br />
  13. 13. Bucket Configuration<br />10 Buckets<br />1 per app<br />10 GB -20 GB<br />Up to 1.5mm keys<br />Up to 7000 o/s<br />
  14. 14. Overall Statistics<br />10k-15k ops/sec overall cluster <br />5k-10k for largest node<br />
  15. 15. Demo<br />

×