Redis

From wikieduonline
Jump to navigation Jump to search

Redis is an open-source in-memory database project released in May 2009 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 mostly single threaded, or double-threaded when it rewrites the AOF log.[1]

Redis is also provided as a service in different Cloud providers such as ElastiCache from Amazon Web Services, Azure Cache from Microsoft Azure, Alibaba Cloud offers ApsaraDB and Google Cloud Memorystore.

Binaries[edit]

Basic commands[edit]

  • Connect to Redis database:
$ redis-cli
127.0.0.1:6379> ping
PONG
  • Get redis information:
redis-cli
$127.0.0.1:6379> info


Windows:

  • redis-server --service-install redis.windows-service.conf --loglevel verbose

Redis Enterprise[edit]

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]

Related terms[edit]

See also[edit]

Advertising: