Big Data/Redis DataBase

From Wikiversity
Jump to navigation Jump to search

Redis is an open-source in-memory database project implementing a distributed, in-memory key-value store with optional durability. Redis supports different kinds of abstract data structures, such as strings, lists, maps, sets, sorted sets, hyperloglogs, bitmaps and spatial indexes.

Redis is also provided as a service in different Cloud providers ElastiCache from Amazon Web Services and Azure Cache from Microsoft Azure.

Basic commands[edit | edit source]

  • Connect to Redis database:
$ redis-cli
127.0.0.1:6379> ping
PONG
  • Get a list of keys: redis-cli --scan
  • Get redis information:
redis-cli
$127.0.0.1:6379> info

Redis Enterprise[edit | edit source]

Redis Enterprise is a commercial version of Redis including replication capabilities.

K8s operator for Redis Enterprise was released in October 2018.

CRDB (Conflict-free Replicated Redis Database) allows to run an application in a distributed manner across cloud and on-prem.

Activities[edit | edit source]

See also[edit | edit source]