July 2019
Intermediate to advanced
502 pages
14h
English
Redis is often described as a data structure server. Since it keeps the entire data store in memory, it can perform many advanced operations on the data efficiently. The price you pay, of course, is that you have to keep all of the data in memory. This is possible only for small datasets and, even then, it's expensive. If you don't access most of your data, keeping it in memory is a huge waste. Redis can be used as a fast, distributed cache for hot data; so, even if you can't use it as a distributed cache for your entire dataset in memory, you can still use Redis for the hot data (which is frequently used). Redis also supports clusters where the data is shared across multiple nodes, so it's able to handle very large ...