February 2018
Intermediate to advanced
382 pages
11h 33m
English
Redis can also be used for analytical and statistical purposes. For example, if we want to count how many users have viewed a restaurant in our application, we can simply use the INCR command to increase the counter when the restaurant has been viewed. We don't need to worry about the race conditions because all Redis commands are atomic. More advanced counters or a statistical data capturing system can be built with Redis data types such as hash, Sorted Set, and HyperLoglog.
Read now
Unlock full access