Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
rapathak@amazon.com
•   Caching Overview•   Memcached•   Amazon ElastiCache•   Use Cases & Design Patterns•   Upcoming Features
Example:First Time:Cache = {}Step 1: Look in the cache. It’s empty; ‘cache miss’Step 2: Get the value from the DB; update ...
Example:Second Time:Cache = {‘John Smith’ : ‘206-555-1212’}Step 1: Look in the cache. Return the result; ‘cache hit’Step 2...
Example:Cache Invalidation:Cache = {‘John Smith’ : ‘206-555-1212’} (out of date)Step 1: Update Database with John’s new nu...
ProsCons
•   Caching Overview•   Memcached•   Amazon ElastiCache•   Use Cases & Design Patterns•   Upcoming Features
Memcached
Source: http://architects.dzone.com/news/notes-memcached
•   Caching Overview•   Memcached•   Amazon ElastiCache•   Use Cases & Design Patterns•   Upcoming Features
Easy to           Easy to           Easy to           Easy to           Easy toDeploy            Migrate          Administ...
•   Caching Overview•   Memcached•   Amazon ElastiCache•   Use Cases & Design Patterns•   Upcoming Features
•   Caching Overview•   Memcached•   Amazon ElastiCache•   Use Cases & Design Patterns•   Upcoming Features
N   Y
We are sincerely eager tohear your FEEDBACK on thispresentation and on re:Invent. Please fill out an evaluation   form whe...
https://aws.amazon.com/elasticache
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012
Upcoming SlideShare
Loading in …5
×

DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012

5,810 views

Published on

Learn how you can use Amazon ElastiCache to easily deploy a Memcached-compatible, in-memory caching system to speed up your application performance. We show you how to use ElastiCache to improve your application latency and reduce the load on your database servers. We'll also show you how to build a caching layer that is easy to manage and scale as your application grows.

  • Be the first to comment

DAT301 Accelerating Amazon Relational Database Service Performance with Amazon ElastiCache - AWS re: Invent 2012

  1. 1. rapathak@amazon.com
  2. 2. • Caching Overview• Memcached• Amazon ElastiCache• Use Cases & Design Patterns• Upcoming Features
  3. 3. Example:First Time:Cache = {}Step 1: Look in the cache. It’s empty; ‘cache miss’Step 2: Get the value from the DB; update the cache
  4. 4. Example:Second Time:Cache = {‘John Smith’ : ‘206-555-1212’}Step 1: Look in the cache. Return the result; ‘cache hit’Step 2: Until John’s number changes, we don’t hit the DB
  5. 5. Example:Cache Invalidation:Cache = {‘John Smith’ : ‘206-555-1212’} (out of date)Step 1: Update Database with John’s new numberStep 2: Update the cache with John’s new numberCache = {‘John Smith’ : ‘415-555-1212’}
  6. 6. ProsCons
  7. 7. • Caching Overview• Memcached• Amazon ElastiCache• Use Cases & Design Patterns• Upcoming Features
  8. 8. Memcached
  9. 9. Source: http://architects.dzone.com/news/notes-memcached
  10. 10. • Caching Overview• Memcached• Amazon ElastiCache• Use Cases & Design Patterns• Upcoming Features
  11. 11. Easy to Easy to Easy to Easy to Easy toDeploy Migrate Administer Scale Secure Automatically 100% replaces failed Memcached nodes and compatible patches Works well Deploy multi- software Add or remove with EC2 and node cache cache nodes DB Securityclusters with a with a few groups which few button button clicks, means the clicks or API CloudWatch Existing code or API calls cache is calls enables you to will work when secure monitor cache you update performance server lists metrics
  12. 12. • Caching Overview• Memcached• Amazon ElastiCache• Use Cases & Design Patterns• Upcoming Features
  13. 13. • Caching Overview• Memcached• Amazon ElastiCache• Use Cases & Design Patterns• Upcoming Features
  14. 14. N Y
  15. 15. We are sincerely eager tohear your FEEDBACK on thispresentation and on re:Invent. Please fill out an evaluation form when you have a chance.
  16. 16. https://aws.amazon.com/elasticache

×