Below is the list of 5 Redis data structures, along with an example of when they can be used:
String Hash List
Redis Data Structure Examples
String Data Structure
Using the String data structure in Redis is not limited to the traditional String data type. You can store any type of value, including numbers. It is a very popular choice for caching engines and is one of the most traditional key/value pair structures.
TODO
Hash Data Structure
Hashes allow developers to work with fields. This means that you're able to go beyond simple serialized data the way that we had to with the basic String structure. You are able to work with nested fields and have more control over the data you're inserting and querying.
TODO
List Data Structure
Lists work well with storing references to other keys and function like an Array collection.
TODO