Utilizing ElastiCache for sub-second latency
Amazon ElastiCache is a fully managed service that supports both Redis and Memcached in-memory databases. In-memory databases and caches allow you to build near-real-time applications that require sub-millisecond latency. ElastiCache allows you to scale both your write and read capacity for near-real-time applications. In this recipe, we will explore how ElasticCache can serve as a database cache.
Getting ready
To complete this recipe, you will need the following:
- An IAM user with access to Amazon Redshift and Amazon ElastiCache.
- An Amazon Redshift cluster deployed in AWS region eu-west-1 with the retail sample dataset we set up in Chapter 3, Loading and Unloading Data.
- Amazon Redshift cluster master user credentials.
- An EC2 Linux instance. Launch this in the same VPC as Amazon Redshift with a security group by providing access to your Amazon Redshift cluster by following the instructions at https://docs.aws.amazon...