Redis

From wikinotes

Redis is a very fast in-memory key-value store.

key features:

  • get/set to the same key are blocking
  • supports complex datatypes for values
  • smarter polling (select w/ timeout on server)
  • partitioning to enable very large datasets
  • replication

sample use cases:

  • distributed system queue
  • distributed lock management
  • message queue
  • rolling log
  • LRU cache
  • quick access to transient data, where some loss is forgivable

Documentation

homepage https://redis.io/
intro docs https://redis.io/topics/introduction
official docs https://redis.io/documentation
redis protocol spec https://www.iana.org/assignments/uri-schemes/prov/redis
commands reference https://redis.io/commands

Locations

6379 default port
/usr/local/etc/redis/redis.conf config

Notes

redis usage
redis datatypes
redis syntax
redis scripting
redis configuration