Oct 14, 2021
Redis will be used as a caching layer between the database and our server. The requests that we plan to cache are very simple single entry lookups. Redis works extremely well as a cache because it provides sub millisecond response times and is extremely simple to use. We want to use a cache because it should reduce the requests to the database, which should reduce both cost of operation and latency. Another popular alternative to Redis is Memcached, which can provide similar benefits. We chose Redis because Amazon provides a fully managed service for Redis which can reduce the work needed to manage and set up the Redis cache and also provides replication that is unavailable with managed Memcached service. This will provide an edge as we scale our infrastructure and focus on reliably delivering fast performance.