Notes on Redis: Data Modeling, Hashes, and Namespaces
A good post showing the benefits of having data structures (like lists, sets, sorted sets, hashes[1]) and using “smart keys” (in the sense of using a namespace-like approach):
My first pass at the problem took advantage Redis’s sets. […] As I continued work on this feature, I realized that I wanted to link to the specific tweet where a Twitter user mentioned a fail. […] Thanks to Redis’s new hash data structure, there was a cleaner way.
As a side note, there still seems to be some confusion about the new Redis command: MULTI/EXEC/DISCARD which is confused for transactional support.