Difference between revisions of "Redis"

From wikieduonline
Jump to navigation Jump to search
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[wikipedia:Redis|Redis]] is an open-source [[in-memory database]] project released in [[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.
+
[[wikipedia:Redis|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 also provided as a service in different Cloud providers [[ElastiCache]] from [[Amazon Web Services]] and [[Azure Cache]] from Microsoft [[Azure]].
+
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]].
  
 
* <code>[[brew install redis]]</code>
 
* <code>[[brew install redis]]</code>
Line 8: Line 8:
 
== Binaries ==
 
== Binaries ==
 
* <code>[[redis-cli]]</code>
 
* <code>[[redis-cli]]</code>
 +
* <code>[[redis-server]]</code>
 
* <code>[[redis-benchmark]]</code>
 
* <code>[[redis-benchmark]]</code>
 
* <code>[[redis-check-aof]]</code>
 
* <code>[[redis-check-aof]]</code>
 
* <code>[[redis-check-rdb]]</code>
 
* <code>[[redis-check-rdb]]</code>
 
* <code>[[redis-sentinel]]</code>
 
* <code>[[redis-sentinel]]</code>
* <code>[[redis-server]]</code>
 
 
* <code>[[rladmin]]</code>
 
* <code>[[rladmin]]</code>
  
Line 51: Line 51:
 
* [[PHP sessions]]
 
* [[PHP sessions]]
 
* [[Redis Cluster]]
 
* [[Redis Cluster]]
 +
* [[SETEX]]
 +
* [[Amazon ElastiCache]]
 +
* [[OOM command not allowed when used memory ...]]
  
 
== See also ==
 
== See also ==
Line 56: Line 59:
 
* {{Redis}}
 
* {{Redis}}
 
* {{Key-value databases}}
 
* {{Key-value databases}}
* {{DBs}}
 
  
 
{{CC license}}
 
{{CC license}}

Revision as of 10:30, 30 September 2022

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 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

Basic commands

  • 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

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

Related terms

See also

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Source: https://en.wikiversity.org/wiki/Big_Data/Redis_DataBase

Advertising: