February 2018
Intermediate to advanced
382 pages
11h 33m
English
Since Redis is an in-memory data storage system, using Redis as a cache in front of an RDBMS usually expedites the database query process. Here is a simple use case: Before querying the RDBMS, we first look up the record in Redis. If the record does not exist in Redis, we query the RDBMS and put the record into Redis. When writing to the RDBMS, we also write the record to Redis. Records in the cache are associated with a timeout or eviction policy such as Least Recently Used (LRU) in order to limit the cache usage.
Read now
Unlock full access