From the course: AWS Essential Training for Developers

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

In-memory caches

In-memory caches

- When the database has to look up data, it can be slow, and if you need to keep looking up the same piece of data over and over again, it can really slow down your application. Some databases are used like scratch pads, where you can just look something up from your database and then you just write it down real fast on your scratch pad, and then you don't have to keep looking it up each time. In-memory caches can do this for you, and to help you deploy one of these, AWS has created ElastiCache. ElastiCache will help you manage and deploy two of the most common types of in-memory caches, Memcached and Redis. Redis is the more popular in-memory cache, but I've used Memcached because it's supported by a few PHP open source apps. Now, you can always install Redis or Memcached directly on some EC2 servers and set all this up yourself, but AWS has simplified a lot of the management of these services with ElastiCache. Not…

Contents