{"id":1654,"date":"2019-08-06T10:22:33","date_gmt":"2019-08-06T10:22:33","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=1654"},"modified":"2020-05-02T05:48:08","modified_gmt":"2020-05-02T05:48:08","slug":"amazon-elasticache","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/","title":{"rendered":"Amazon ElastiCache"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>ElastiCache is a web service<\/li><li>Used to set up, manage, and scale distributed\nin-memory cache environments in AWS. <\/li><li>Provides a high performance, resizable, and\ncost-effective in-memory cache <\/li><li>Removes complexity associated with deploying and\nmanaging a distributed cache environment. <\/li><li>Works with the Redis and Memcached engines<\/li><li>By default, the AWS SDKs, AWS CLI, ElastiCache\nAPI, and ElastiCache console reference the US-West (Oregon) region. <\/li><\/ul>\n\n\n\n<p><strong>ElastiCache Node<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Node is the smallest building block in\nElasticache<\/li><li>Node can exist in isolation from <\/li><li>Node can be in some relationship to other nodes.<\/li><li>It is a fixed-size chunk of secure,\nnetwork-attached RAM. <\/li><li>Each node runs an instance of the engine and\nversion that was chosen during cluster creation.<\/li><li>Scale the nodes in a cluster up or down to a\ndifferent instance type.<\/li><\/ul>\n\n\n\n<p>ElastiCache operations for clusters:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Creating a cluster<\/li><li>Modifying a cluster<\/li><li>Taking snapshots of a cluster (all versions of\nRedis)<\/li><li>Deleting a cluster<\/li><li>Viewing the elements in a cluster<\/li><li>Adding or removing cost allocation tags to and\nfrom a cluster<\/li><\/ul>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Redis<\/span><\/strong><\/p>\n\n\n\n<p>Redis, expands to Remote Dictionary Server<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It is a fast, open-source, in-memory key-value\ndata store <\/li><li>Can be used as <ul><li>a\ndatabase<\/li><\/ul><ul><li>cache<\/li><\/ul><ul><li>message\nbroker<\/li><\/ul><ul><li>queue<\/li><\/ul><\/li><li>The project started by Salvatore Sanfilippo, to\nimprove scalability of his Italian startup. <\/li><li>Redis delivers sub-millisecond response times <\/li><li>Enables millions of requests per second <\/li><li>Good for real-time applications in <ul><li>Gaming<\/li><\/ul><ul><li>Ad-Tech<\/li><\/ul><ul><li>Financial\nServices<\/li><\/ul><ul><li>Healthcare<\/li><\/ul><ul><li>IoT<\/li><\/ul><\/li><li>Popular choice for <ul><li>Caching<\/li><\/ul><ul><li>session\nmanagement<\/li><\/ul><ul><li>gaming<\/li><\/ul><ul><li>leaderboards<\/li><\/ul><ul><li>real-time\nanalytics<\/li><\/ul><ul><li>geospatial<\/li><\/ul><ul><li>ride-hailing<\/li><\/ul><ul><li>chat\/messaging<\/li><\/ul><ul><li>media\nstreaming<\/li><\/ul><ul><li>pub\/sub\napps.<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><strong>Redis in Brief<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>All Redis data resides in-memory<\/li><li>Hence, Redis avoid seek time delays <\/li><li>Can access data in microseconds. <\/li><li>Redis features <ul><li>versatile data structures<\/li><li>high availability<\/li><li>geospatial<\/li><li>Lua scripting<\/li><li>Transactions<\/li><li>on-disk persistence<\/li><li>cluster support <\/li><li>simpler to build real-time internet scale apps.<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><strong>Redis data types <\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Strings \u2013 text or binary data up to 512MB in\nsize<\/li><li>Lists \u2013 a collection of Strings in the order\nthey were added<\/li><li>Sets \u2013 an unordered collection of strings with\nthe ability to intersect, union, and diff other Set types<\/li><li>Sorted Sets \u2013 Sets ordered by a value<\/li><li>Hashes \u2013 a data structure for storing a list of\nfields and values<\/li><li>Bitmaps \u2013 a data type that offers bit level\noperations<\/li><li>HyperLogLogs \u2013 a probabilistic data structure to\nestimate the unique items in a data set<\/li><\/ul>\n\n\n\n<p><strong>Redis Cluster and Shard<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A Redis shard (or a node group in the API and CLI) is a grouping of 1 to 6 related nodes. <\/li><li>A Redis (cluster mode disabled) cluster always has one shard. <\/li><li>A Redis (cluster mode enabled) cluster can have 1\u201390 shards. <\/li><li>A multiple node shard implements replication by have one read\/write primary node and 1\u20135 replica nodes. <\/li><li>A Redis cluster is a logical grouping of one or more ElastiCache for Redis Shards. <\/li><li>Data is partitioned across the shards in a Redis (cluster mode enabled) cluster. <\/li><\/ul>\n\n\n\n<p><strong>AWS and&nbsp;Memcached<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Node is the smallest building block in\nElasticache<\/li><li>Each node runs an instance of Memcached. <\/li><li>Can scale the nodes in a cluster up or down to a\ndifferent instance type. <\/li><li>The Memcached engine supports Auto Discovery, in\nwhich, client programs automatically identify all nodes in cache cluster,\ninitiate and maintain connections to all of these nodes. No manual\nconfiguration.<\/li><li>Client application connects to a configuration\nendpoint having DNS entry with CNAME entries for each of the cache node\nendpoints.<\/li><li>Memcached is available in multiple AWS Regions\naround the world. <\/li><\/ul>\n\n\n\n<p>Choose Memcached if<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You need the simplest model possible.<\/li><li>You need to run large nodes with multiple cores\nor threads.<\/li><li>You need the ability to scale out and in, adding\nand removing nodes as demand on system increases and decreases.<\/li><li>You need to cache objects, such as a database. <\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>ElastiCache is a web service Used to set up, manage, and scale distributed in-memory cache environments in AWS. Provides a high performance, resizable, and cost-effective in-memory cache Removes complexity associated with deploying and managing a distributed cache environment. Works with the Redis and Memcached engines By default, the AWS SDKs, AWS CLI, ElastiCache API, and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":383,"menu_order":17,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[7],"class_list":["post-1654","page","type-page","status-publish","hentry","tag-aws"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Amazon ElastiCache - Testprep Training Tutorials<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Amazon ElastiCache - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"ElastiCache is a web service Used to set up, manage, and scale distributed in-memory cache environments in AWS. Provides a high performance, resizable, and cost-effective in-memory cache Removes complexity associated with deploying and managing a distributed cache environment. Works with the Redis and Memcached engines By default, the AWS SDKs, AWS CLI, ElastiCache API, and...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-02T05:48:08+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/\",\"name\":\"Amazon ElastiCache - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2019-08-06T10:22:33+00:00\",\"dateModified\":\"2020-05-02T05:48:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS Certified SysOps Administrator &#8211; Associate (SOA-C01)\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Amazon ElastiCache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Amazon ElastiCache - Testprep Training Tutorials","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/","og_locale":"en_US","og_type":"article","og_title":"Amazon ElastiCache - Testprep Training Tutorials","og_description":"ElastiCache is a web service Used to set up, manage, and scale distributed in-memory cache environments in AWS. Provides a high performance, resizable, and cost-effective in-memory cache Removes complexity associated with deploying and managing a distributed cache environment. Works with the Redis and Memcached engines By default, the AWS SDKs, AWS CLI, ElastiCache API, and...","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-05-02T05:48:08+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/","name":"Amazon ElastiCache - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2019-08-06T10:22:33+00:00","dateModified":"2020-05-02T05:48:08+00:00","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/amazon-elasticache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"AWS Certified SysOps Administrator &#8211; Associate (SOA-C01)","item":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/"},{"@type":"ListItem","position":3,"name":"Amazon ElastiCache"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/1654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=1654"}],"version-history":[{"count":3,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/1654\/revisions"}],"predecessor-version":[{"id":5229,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/1654\/revisions\/5229"}],"up":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/383"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=1654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=1654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=1654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}