When delivering ElastiCache clusters, the best practices will always depend on the type of data that needs to be stored. The best approach to choosing and scaling your caching solution is to ask yourself the following questions:
- What type of data am I storing?
- What is the volume, frequency, and concurrency of data coming in/out of the cache?
- Do I need support for transactions on the cache?
- Do I need high availability and high resilience of the caching cluster?
When choosing your cache, the first question will be the most important. The data type will determine which of the two services you can use: is it just values that I want to store, or is it complex datasets? We also need to ask ourselves what the data update volume is: do we need very high parallel performance, or is the application single-threaded? Is there any requirement to support transactions on the...