From Wikiversity - Reading time: 2 min

Redis is an in-memory data structure store, used as a distributed, in-memory key–value database, cache and message broker, with optional durability. Redis supports different kinds of abstract data structures, such as strings, lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indexes.[1]
Establish a Redis environment using one of the following:
Docker Playground is a free online Docker environment. It requires no installation or configuration.
docker run -d --name=redis-server redisdocker exec -it redis-server bashredis-cliYou can use your own Docker environment to run MongoDB.
docker run -d --name=redis-server redisdocker exec -it redis-server bashredis-cliInstall Redis on your own system.
redis-serverredis-cliSELECT 0MSET "Bulgaria" "45.2" "Canada" "45" "Federated States of Micronesia" "36.1" "Finland" "37.2" "Germany" "40.3" "Japan" "41" "Marshall Islands" "35.6" "Palau" "35" "Turkmenistan" "50.1"INFOKEYS *GET "Canada"SET "United States of America" "56.7"GET "United States of America"SET "United States of America" "56.5"GET "United States of America"DEL "United States of America"KEYS *FLUSHALLKEYS *