Difference between revisions of "Redis"
Tags: Mobile web edit, Mobile edit |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[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 <code>[[strings]], [[lists]], [[maps]], [[sets]], [[sorted sets]], [[hyperloglogs]], [[bitmaps]] and [[spatial indexes]]</code>. | + | [[wikipedia:Redis|Redis]] (2009) 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 <code>[[strings]], [[lists]], [[maps]], [[sets]], [[sorted sets]], [[hyperloglogs]], [[bitmaps]] and [[spatial indexes]]</code>. |
+ | |||
+ | Redis is mostly [[single threaded]], or double-threaded when it rewrites the [[AOF]] log.<ref>http://antirez.com/news/111</ref> | ||
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]]. | 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]]. | ||
− | * Installation: <code>[[brew install redis]]</code> | + | * [[Redis installation|Installation]]: |
− | + | **<code>[[brew install redis]]</code> | |
+ | ** <code>[[helm install redis]], [[helm install myredis bitnami/redis]]</code> | ||
* Configuration: <code>[[redis.conf]]</code> | * Configuration: <code>[[redis.conf]]</code> | ||
+ | * [[Salvatore Sanfilippo]] | ||
== Binaries == | == Binaries == | ||
Line 56: | Line 60: | ||
* [[OOM command not allowed when used memory ...]] | * [[OOM command not allowed when used memory ...]] | ||
* [[Transparent huge pages (THP)]] | * [[Transparent huge pages (THP)]] | ||
+ | * [[Valkey]] | ||
== See also == | == See also == |
Latest revision as of 22:10, 17 October 2024
Redis (2009) 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.
- Installation:
- Configuration:
redis.conf
- Salvatore Sanfilippo
Binaries[edit]
Basic commands[edit]
- 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
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]
- Read Redis changelog release Notes
Related terms[edit]
- Hazelcast
- Sidekiq job scheduler
- AWS ElastiCache
- PHP sessions
- Redis Cluster
- SETEX
- Amazon ElastiCache
- OOM command not allowed when used memory ...
- Transparent huge pages (THP)
- Valkey
See also[edit]
- RedisInsight, a GUI management client for Windows, Linux and Mac announced in November 2019
- Redis, installation,
/etc/redis.conf, values.yml
, Redis Cluster, Redis Sentinel,/etc/redis-sentinel.conf
, Redis memory footprint,redis-cli, redis-benchmark, redis-check-aof, redis-check-rdb, redis-sentinel, redis-server
, Amazon MemoryDB for Redis, AOF, Redis changelog, Redis Database (RDB), Append Only File (AOF), Redis logs - Key-value databases: Berkeley DB, Redis,
etcd
, leveldb, RocksDB (MyRocks), Infinispan, Amazon DynamoDB, Apache Zookeeper, LevelDB, RocksDB, Pebble
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: