Amazon ElastiCache

Amazon ElastiCache
Developer(s)Amazon.com
Initial releaseAugust 22, 2011; 13 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

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

Performance acceleration

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

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

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

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

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

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

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

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

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

  • Client metrics (measure the volume of client connections and requests): Number of current client connections to the cache, Get and Set commands received by the cache
  • Cache performance: Hits, misses, Replication Lag, Latency
  • Memory metrics: Memory usage, Evictions, Amount of free memory available on the host, Swap Usage, Memory fragmentation ratio
  • Other host-level metrics: CPU utilization, Number of bytes read from the network by the host, Number of bytes written to the network by the host

Metric collection

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.

  • Monitoring tool integrated with CloudWatch

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

Notable customers

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

Limitations

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

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

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

Read other articles:

Strada statale 131 bis Carlo FeliceLocalizzazioneStato Italia Regioni Sardegna Province Sassari DatiClassificazionestrada statale InizioTorralba FineUri Lunghezza37,018 km Data apertura1935 Provvedimento di istituzioneRegio decreto 18 aprile 1935, n. XIII, in materia di Riordinamento, numerazione e denominazione delle strade statali della Sardegna GestoreAnas PercorsoLocalità serviteThiesi, Ittiri Principali intersezioni strada statale 131 Carlo Felice (Torralba) strada statal...

 

 

Mexico–United States geological fault A United States Geological Survey map showing the Laguna Salada Fault outlined in red The Laguna Salada Fault is a geological fault between the United States and Mexico. About 64–80 kilometers (40–50 mi) long, it straddles the Imperial County-California–Baja California border.[1] Earthquakes 1892 Main article: 1892 Laguna Salada earthquake According to some seismologists the 1892 Laguna Salada earthquake ranks among the largest ea...

 

 

Pour l’article ayant un titre homophone, voir Jean-Louis Tourenne. Pour les articles homonymes, voir Touraine (homonymie). Jean-Louis Touraine Jean-Louis Touraine en 2017. Fonctions Député français 20 juin 2007 – 21 juin 2022(15 ans et 1 jour) Élection 17 juin 2007 Réélection 17 juin 201218 juin 2017 Circonscription 3e du Rhône Législature XIIIe, XIVe et XVe (Cinquième République) Groupe politique SRC (2007-2016)SER (2016-2017)LREM (2017-2022) Prédécesseur Jean-Mich...

16th governor of Washington (born 1925) Daniel J. EvansOfficial portrait c. 1965–1968United States Senatorfrom WashingtonIn officeSeptember 8, 1983 – January 3, 1989Preceded byHenry M. JacksonSucceeded bySlade Gorton2nd President of Evergreen State CollegeIn officeJune 6, 1977 – September 8, 1983Preceded byCharles J. McCannSucceeded byJoseph D. OlanderChair of the National Governors AssociationIn officeJune 3, 1973 – June 2, 1974Preceded byMarvin MandelSucce...

 

 

Pour les articles homonymes, voir Élection présidentielle de 2022. 2018 Élection présidentielle brésilienne de 2022 2 octobre 2022 (1er tour)30 octobre 2022 (2d tour) Corps électoral et résultats Inscrits 156 453 354 Votants au 1er tour 123 682 372   79,05 %  0,6 Votes exprimés au 1er tour 118 229 719 Blancs et nuls au 1er tour 5 452 653 Votants au 2d tour 124 252 796   79,42 %  0,7 Votes ex...

 

 

Carisolo komune di Italia Tempat Negara berdaulatItaliaDaerah otonom dengan status istimewaTrentino-Tirol SelatanProvinsi di ItaliaTrentino NegaraItalia Ibu kotaCarisolo PendudukTotal941  (2023 )GeografiLuas wilayah25,12 km² [convert: unit tak dikenal]Ketinggian801 m Berbatasan denganGiustino Ossana Pinzolo Vermiglio Caderzone SejarahSanto pelindungNikolas dari Myra Informasi tambahanKode pos38080 Zona waktuUTC+1 UTC+2 Kode telepon0465 ID ISTAT022042 Kode kadaster ItaliaB783 Lain-l...

American actor Scott GlennGlenn at the Tribeca Film Festival Vanity Fair party in April 2011BornTheodore Scott GlennJanuary 26[1]Pittsburgh, Pennsylvania, U.S.Alma materCollege of William and MaryOccupationActorYears active1965–presentSpouse Carol Schwartz ​(m. 1968)​Children2 Theodore Scott Glenn (born January 26 between 1938 and 1942)[1] is an American actor. His roles have included Pfc Glenn Kelly in Nashville (1975), Wes Hightower ...

 

 

此条目序言章节没有充分总结全文内容要点。 (2019年3月21日)请考虑扩充序言,清晰概述条目所有重點。请在条目的讨论页讨论此问题。 哈萨克斯坦總統哈薩克總統旗現任Қасым-Жомарт Кемелұлы Тоқаев卡瑟姆若马尔特·托卡耶夫自2019年3月20日在任任期7年首任努尔苏丹·纳扎尔巴耶夫设立1990年4月24日(哈薩克蘇維埃社會主義共和國總統) 哈萨克斯坦 哈萨克斯坦政府...

 

 

João Paulo de Oliveira João Paulo de Oliveira nel 2009 Nazionalità  Brasile Automobilismo Categoria Super GT, WEC Ruolo Pilota Squadra Kondō Racing (SGT) Floyd Vanwall Racing Team (WEC)   Modifica dati su Wikidata · Manuale João Paulo de Oliveira (San Paolo, 13 luglio 1981) è un pilota automobilistico brasiliano, vincitore della Formula Nippon nel 2010 e due volte campione nella Super GT300 nel 2020 e 2022. È considerato uno dei piloti di maggior successo a correre in ...

جبل المنطار (طولكرم) قمة جبل المنطار الموقع طولكرم الارتفاع 300–500 متر (980–1,640 قدم) السلسلة سلسلة جبال الشمال تعديل مصدري - تعديل   جبل المنطار، ويُلقب بـحارس طولكرم، وهو جبل يقع في مدينة طولكرم وتحديدًا عند مدخل المدينة من جهة الشرق، يحيط بالجبل كل من مدينة طولكرم وبلدت...

 

 

العلاقات الإسرائيلية اللوكسمبورغية إسرائيل لوكسمبورغ   إسرائيل   لوكسمبورغ تعديل مصدري - تعديل   العلاقات الإسرائيلية اللوكسمبورغية هي العلاقات الثنائية التي تجمع بين إسرائيل ولوكسمبورغ.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرج...

 

 

Athletics at the2000 Summer OlympicsTrack events100 mmenwomen200 mmenwomen400 mmenwomen800 mmenwomen1500 mmenwomen5000 mmenwomen10,000 mmenwomen100 m hurdleswomen110 m hurdlesmen400 m hurdlesmenwomen3000 msteeplechasemen4 × 100 m relaymenwomen4 × 400 m relaymenwomenRoad eventsMarathonmenwomen20 km walkmenwomen50 km walkmenField eventsLong jumpmenwomenTriple jumpmenwomenHigh jumpmenwomenPole vaultmenwomenShot putmenwomenDiscus throwmenwomenJavelin throwmenwomenHammer throwmenwomenCombined e...

أبو كبشة مولى النبي محمد معلومات شخصية تاريخ الوفاة 13 هـ الكنية أبو كبشة  [لغات أخرى]‏  الخدمة العسكرية المعارك والحروب غزوات النبي محمد تعديل مصدري - تعديل   أبو كبشة (المتوفي سنة 13 هـ) صحابي بدري، كان من موالي النبي محمد، وهو من مولدي أرض دوس، وقد هاجر وشهد مع ا�...

 

 

vteAmbergate–Pye Bridge Line Legend Erewash Valley Line Pye Bridge Erewash Valley Line Swanwick Colliery Swanwick Junction Butterley Hammersmith Ripley Branch Hartshay Colliery Midland Main Line Ambergate Derwent Valley Line Midland Main Line The Ambergate–Pye Bridge line is a partially opened and closed railway line in Derbyshire, England. It was a short east–west line linking the Midland Main Line with the Erewash Valley line. The line was opened by the Midland Railway to freight on ...

 

 

中國茶藝 中國茶藝須使用特有的茶具 茶艺指儀式化的泡茶與饮茶技艺在中国已经存在很长一段时间,目前,开设茶艺馆在东亚文化圈已经蔚为潮流。 歷史 茶藝萌芽於魏晉南北朝,但早於西漢就有文獻記載當時人已有較為講究的品茶方式,王褒的《僮約》就有提到當時人烹茶已有專門的一套用具,品茶完畢就會好好貯存,雖然沒有詳細的品茶程序,但對茶具的重視已反映出�...

Property of waves that can oscillate with more than one orientation For other uses, see Polarization. Circular polarization on rubber thread, converted to linear polarization Polarization (also polarisation) is a property of transverse waves which specifies the geometrical orientation of the oscillations.[1][2][3][4][5] In a transverse wave, the direction of the oscillation is perpendicular to the direction of motion of the wave.[4] A simple exa...

 

 

Disambiguazione – Se stai cercando il regista che utilizza Spike Jones come soprannome, vedi Spike Jonze. Questa voce o sezione sugli argomenti attori statunitensi e musicisti statunitensi non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti dei progetti di riferimento 1, 2. Spike JonesSpike Jones (a sinistra) con Marilyn Monroe e Ken M...

 

 

19th century political party This article is about the political party in the United States (1833–1856). For the 1678–1859 British political party, see Whigs (British political party). For the British political party founded in 2014, see Whig Party (British political party). Whig Party LeaderHenry ClayDaniel WebsterWilliam Henry HarrisonZachary TaylorFounderHenry ClayFounded1833; 191 years ago (1833)[1]Dissolved1856; 168 years ago (1856)[2&#...

Greek sophist and historian For the genus of sponges, see Eunapius (sponge). Title page of the Vitae sophistarum of Eunapius, in Greek and Latin, 1596 Eunapius (Greek: Εὐνάπιος; c. 347 - c. 420) was a Greek sophist, rhetorician, and historian from Sardis in the region of Lydia in Asia Minor. His principal surviving work is the Lives of Philosophers and Sophists (Greek: Βίοι Φιλοσόφων καὶ Σοφιστῶν; Latin: Vitae sophistarum), a collection of the biographies of...

 

 

Bloomberg L.P.Logo Stato Stati Uniti Fondazione1º ottobre 1981[1] a New York Fondata daMichael Bloomberg, Thomas Secunda, Duncan MacMillan, Charles Zegar[2] Sede principaleNew York Persone chiavePeter Grauer, Dan Doctoroff Settoreservizi finanziari, news, televisione, radio, agenzia stampa Fatturato9 miliardi di dollari (2014) Dipendenti15000[3] (2011) Sito webwww.bloomberg.com/ Modifica dati su Wikidata · Manuale La Bloomberg Tower, sede di Bloomberg a...