Book Image

DynamoDB Cookbook

By : Tanmay Deshpande
Book Image

DynamoDB Cookbook

By: Tanmay Deshpande

Overview of this book

Table of Contents (18 chapters)
DynamoDB Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Using the AWS ElastiCache for frequently accessed items


In this recipe, we will do the same thing that we did in the previous recipe. The only thing that we will change is that we will use a cloud hosted distributed caching solution instead of saving it on the local standalone cache.

ElastiCache is a hosted caching solution provided by Amazon Web Services. We have two options to select which caching technology you will need. One option is Memcached, and another option is Redis. Depending upon your requirements, you can decide which one to use. Here are links that will help you with more information on the two options:

Getting ready

To get started with this recipe, we will need to have an ElastiCache cluster launched. If you are not aware of how to do it, you can refer to

http://aws.amazon.com/elasticache/.

How to do it…

Here, I am using the Memcached cluster. You can choose the size of the instance as you wish. We will need a Memcached client to access...