Redis: choosing data structures for real problems
A hash or a JSON string for an object, a shopping cart as a hash, a queue as a list or a stream, sets for likes and mutual friends, sorted sets for leaderboards, and a case study of a ZSET delay queue that auto-cancels ride requests: why read-then-delete processed 784 duplicates out of 2,000 rides.