Skip to content
Exercise · Redis: Data Structures, TTL, Eviction · lesson 7 of 12

Exercise: the sales board

In the evening the coffee shop added up the day: the latte (item 4) sold 20 more times. The sales board is the sorted set menu:popular: an element is a menu item number, the score is how many were sold.