Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Uses  



1.1  Performance acceleration  





1.2  Cost reduction  





1.3  Processing time series data  





1.4  Leaderboards  





1.5  Rate limitation  





1.6  Atomic counter  





1.7  Chat rooms and message boards  







2 Deployment options  





3 Performance  



3.1  Key performance metrics  





3.2  Metric collection  







4 Notable customers  





5 Limitations  





6 Alternatives  





7 References  





8 External links  














Amazon ElastiCache






Deutsch
Español

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Amazon ElastiCache
Developer(s)Amazon.com
Initial releaseAugust 22, 2011; 12 years ago (2011-08-22).[1]
Available inEnglish
TypeCloud Storage
Websiteaws.amazon.com/elasticache/

Amazon ElastiCache is a fully managed in-memory data store and cache service by Amazon Web Services (AWS). The service improves the performance of web applications by retrieving information from managed in-memory caches, instead of relying entirely on slower disk-based databases. ElastiCache supports two open-source in-memory caching engines: Memcached and Redis (also called "ElastiCache for Redis").[2]

As a web service running in the computing cloud, Amazon ElastiCache is designed to simplify the setup, operation, and scaling of memcached and Redis deployments. Complex administration processes like patching software, backing up and restoring data sets and dynamically adding or removing capabilities are managed automatically. Scaling ElastiCache resources can be performed by a single API call.[3]

Amazon ElastiCache was first released on August 22, 2011,[4] supporting memcached. This was followed by support for reserved instances on April 5, 2012[5] and Redis on September 4, 2013.[6]

Uses

[edit]

As a managed database service with multiple supported engines, Amazon ElastiCache has a wide range of uses, including

Performance acceleration

[edit]

Database limitations are often a bottleneck for application performance. By placing Amazon ElastiCache between an application and its database tier, database operations can be accelerated.[7]

Cost reduction

[edit]

Using ElastiCache for database performance acceleration can significantly reduce the infrastructure needed to support the database. In many cases, the cost savings outweigh the cache costs. Expedia was able to use ElastiCache to reduce provisioned DynamoDB capacity by 90%, reducing total database cost by 6x.[8][9]

Processing time series data

[edit]

Using the Redis engine, ElastiCache can rapidly process time-series data, quickly selecting newest or oldest records or events within range of a point-in-time.[10]

Leaderboards

[edit]

Leaderboards are an effective way to show a user quickly where they currently stand within a gamified system. For systems with large numbers of gamers, calculating and publishing player ranks can be challenging. Using Amazon ElastiCache with the Redis engine can enable high-speed at scale for leaderboards.[11]

Rate limitation

[edit]

Some APIs only allow a limited number of requests per time period. Amazon ElastiCache for Redis engine can use incremental counters and other tools to throttle API access to meet restrictions.[12]

Atomic counter

[edit]

Programs can use incremental counters to limit allowed quantities, such as the maximum number of students enrolled in a course or ensuring a game has at least 2 but not more than 8 players. Using counters can create a race condition where an operation is allowed because a counter was not updated promptly. Using the ElastiCache for Redis atomic counter functions, where a single operation both checks and increments the counter's value, prevents race conditions.[13]

Chat rooms and message boards

[edit]

ElastiCache for Redis supports publish-subscribe patterns, which enable the creation of chat rooms and message boards where messages are automatically distributed to interested users.[14]

Deployment options

[edit]

Amazon ElastiCache can use on-demand cache nodes or reserved cache nodes.

On-demand nodes provide cache capacity by the hour, with resources in the AWS cloud assigned when a cache node is provisioned. An on-demand node can be removed from service by its owner at any time. Each month, the owner will be billed for the hours used.[15]

Reserved nodes require a 1-year or 3-year commitment, which dedicates cache resources to the owner. The hourly cost of reserved nodes is significantly lower than the hourly cost of on-demand nodes.[16]

Performance

[edit]

An efficient cache can significantly increase application's performance and user navigation speed. Amazon CloudWatch exposes ElastiCache performance metrics that can be tracked.[17]

Key performance metrics

[edit]

Metric collection

[edit]

Many ElastiCache metrics can be collected from AWS via CloudWatch or directly from the cache engine, whether Redis or Memcached, with a monitoring tool integrating with it:[18]

Using the online management console is the simplest way to monitor ElastiCache with CloudWatch. It allows to set up basic automated alerts and to get a visual picture of recent changes in individual metrics.

Metrics related to ElastiCache can also be retrieved using command lines. It can be used for spot checks and ad hoc investigations.

The third way to collect ElastiCache metrics is via a dedicated monitoring tool integrating with Amazon CloudWatch.

Notable customers

[edit]

Users of Amazon ElastiCache include Airbnb,[19] Expedia,[20] Zynga,[21] Tinder,[22] FanDuel,[23] and Mapbox[24]

Limitations

[edit]

As an AWS service, ElastiCache is designed to be accessed exclusively from within AWS, though it is possible to connect the service to applications and databases that are not hosted by AWS.[25]

Alternatives

[edit]

Other vendors provide cloud data cache services comparable to Amazon ElastiCache, including Azure Cache for Redis, Redis Ltd (company behind open source Redis and Redis Enterprise), Redis To Go, IBM Compose, Oracle Application Container Cloud Service, and Rackspace ObjectRocket.

References

[edit]
  1. ^ "Amazon ElastiCache – Distributed In-Memory Caching". Amazon Web Services. 22 August 2011.
  • ^ "ElastiCache for Redis". Amazon Web Services. Retrieved 2016-08-29.
  • ^ "Scaling". AWS ElastiCache Documentation. Retrieved 2016-07-08.
  • ^ "Amazon ElastiCache – Distributed In-Memory Caching". amazon.com. 22 August 2011. Retrieved 2016-07-08.
  • ^ "Reserved Cache Nodes for Amazon ElastiCache". amazon.com. 5 April 2012. Retrieved 2016-07-08.
  • ^ "Amazon ElastiCache – Now With a Dash of Redis". amazon.com. 4 September 2013. Retrieved 2016-07-08.
  • ^ "Use Memcached to improve database performance". CloudVPS. Archived from the original on 2016-07-13. Retrieved 2016-07-08.
  • ^ "Customer Testimonials". amazon.com. Retrieved 2016-07-08.
  • ^ "AWS Building Scalable Applications on AWS NoSQL Services". youtube.com. Retrieved 2016-07-08.
  • ^ "Using Redis as a Time Series Database: Why and How". InfoQueue. Retrieved 2016-07-08.
  • ^ "USING REDIS TO BUILD YOUR GAME LEADERBOARD". Social Point. Archived from the original on 2018-09-14. Retrieved 2016-07-08.
  • ^ "DOWN BOY: HOW TO EASILY THROTTLE REQUESTS TO AN API USING REDIS". Collective Idea. 30 November 2012. Retrieved 2016-07-08.
  • ^ "An Atomic Rant". Nate Wigel vs Technology. 18 February 2010. Retrieved 2016-07-08.
  • ^ "Create a Simple Chat Room with Redis Pubsub". Program Every Day. Archived from the original on 2016-07-21. Retrieved 2016-07-08.
  • ^ "Amazon ElastiCache Pricing". amazon.com. Retrieved 2016-07-08.
  • ^ "ElastiCache Reserved Cache Nodes". amazon.com. Retrieved 2016-07-08.
  • ^ "Monitoring ElastiCache performance metrics with Redis or Memcached". 10 December 2015. Retrieved 2016-10-24.
  • ^ "Collecting ElastiCache metrics + its Redis/Memcached metrics". 10 December 2015. Retrieved 2016-10-24.
  • ^ "Airbnb Case Study". amazon.com. Retrieved 2016-07-08.
  • ^ "Building Scalable Applications on AWS NoSQL Services". youtube.com. Retrieved 2016-07-08.
  • ^ "AWS Case Study: Zynga". amazon.com. Retrieved 2016-07-08.
  • ^ "Building resiliency at scale at Tinder with Amazon ElastiCache". amazon.com. Retrieved 2024-03-28.
  • ^ "FanDuel Case Study". amazon.com. Retrieved 2016-07-08.
  • ^ "Building Scalable Applications on AWS NoSQL Services". youtube.com. Retrieved 2016-07-08.
  • ^ "Accessing ElastiCache Resources from Outside AWS". AWS Documentation. Retrieved 2016-07-08.
  • [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Amazon_ElastiCache&oldid=1219307176"

    Categories: 
    Cloud computing providers
    Cloud platforms
    2006 software
    Web hosting
    Amazon Web Services
    Cloud infrastructure
    Cloud storage
    Distributed data stores
    Structured storage
    NoSQL products
    Cloud databases
    Hidden categories: 
    Articles with short description
    Short description is different from Wikidata
    Articles lacking reliable references from July 2018
    All articles lacking reliable references
     



    This page was last edited on 16 April 2024, at 23:37 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki