Chibuike 19/add redis contents (#7186)
* added content to 10 redis topics --------- Co-authored-by: dsh <daniel.s.holdsworth@gmail.com> Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>feat/public-profile
parent
1a5baf814c
commit
0660b81dfc
11 changed files with 80 additions and 11 deletions
@ -1 +1,8 @@ |
||||
# Active-Active geo Distribution |
||||
# Active-Active geo Distribution |
||||
|
||||
An Active-Active architecture is a data resiliency architecture that distributes the database information over multiple data centers via independent and geographically distributed clusters and nodes. It is a network of separate processing nodes, each having access to a common replicated database such that all nodes can participate in a common application ensuring local low latency with each region being able to run in isolation. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@Active-Active geo-distribution](https://redis.io/active-active/) |
||||
- [@video@What is active active geo-distribution](https://youtu.be/x5iHPPZIlQg?si=ZZCwU-tDCIVDboXc) |
||||
|
@ -1 +1,8 @@ |
||||
# AOF rewrite & compaction |
||||
# AOF rewrite & compaction |
||||
|
||||
Persistence refers to the writing of data to durable storage, such as a solid-state disk (SSD). Redis provides a range of persistence options of which AOF (Append Only File) is one of the options. AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset.The rewrite will create a small optimized version of the current Append Only File. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@Persistence in redis](https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/) |
||||
- [@video@Enabling redis persistence](https://youtu.be/qBKnUeR0p10?si=TPvcFtpFMcTZB-Be) |
@ -1 +1,8 @@ |
||||
# APPEND |
||||
# APPEND |
||||
|
||||
Redis APPEND command is used to add some value in a key. If the key already exists and is a string, this command appends the value at the end of the string. If key does not exist it is created and set as an empty string, |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@APPEND Docs](https://redis.io/docs/latest/commands/append/) |
||||
- [@article@Redis - String Append Command](https://www.tutorialspoint.com/redis/strings_append.htm) |
||||
|
@ -1 +1,8 @@ |
||||
# Atomicity in Redis |
||||
# Atomicity in Redis |
||||
|
||||
Atomicity in Redis refers to the property that ensures a set of operations is executed as a single, indivisible unit. This means that either all the operations are executed successfully or none of them are. Atomicity is crucial in Redis to maintain consistency, especially when multiple operations need to be performed together. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@Atomicity with Lua](https://redis.io/learn/develop/java/spring/rate-limiting/fixed-window/reactive-lua) |
||||
-[@article@Atomicity in Redis operations](https://lucaspin.medium.com/atomicity-in-redis-operations-a1d7bc9f4a90) |
||||
|
@ -1 +1,7 @@ |
||||
# Authentication |
||||
# Authentication |
||||
|
||||
Authentication in Redis is a security feature used to restrict access to the server by requiring clients to authenticate themselves with a password before performing any commands. This helps prevent unauthorized users from connecting to your Redis instance and performing operations. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@AUTH](https://redis.io/docs/latest/commands/auth/) |
||||
|
@ -1 +1,8 @@ |
||||
# Backup and Recovery |
||||
# Backup and Recovery |
||||
|
||||
Backing up and recovering Redis data is crucial for ensuring data persistence and reliability. Redis, by default, stores its data in memory for fast access, but it provides mechanisms to persist data to disk to allow for recovery in case of failure or system restarts. The primary methods for backup and recovery in Redis are RDB snapshots and AOF (Append-Only File). These methods can be used individually or in combination, depending on the specific use case. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@Backup and recovery](https://redis.io/redis-enterprise/technology/backup-disaster-recovery/) |
||||
- [@video@Backup & Restore Redis Cluster with Stash](https://youtu.be/Py_Ivv-2dcQ?si=z8gAAmhlpUBce4jY) |
||||
|
@ -1 +1,9 @@ |
||||
# Basic Commands / SET, GET |
||||
# Basic Commands / SET, GET |
||||
|
||||
In Redis, the SET and GET commands are fundamental operations used to store and retrieve key-value pairs. Redis is an in-memory key-value store, and these commands form the basis for working with data in Redis. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@SET Docs](https://redis.io/docs/latest/commands/set/) |
||||
- [@official@GET Docs](https://redis.io/docs/latest/commands/get/) |
||||
- [@official@Redis command cheat sheet](https://redis.io/learn/howtos/quick-start/cheat-sheet) |
||||
|
@ -1 +1,7 @@ |
||||
# Batch Operations |
||||
# Batch Operations |
||||
|
||||
Batch operations in Redis allow you to execute multiple commands efficiently in a single network round-trip. While Redis does not have true batching like some databases (where a set of operations are sent together and processed atomically), it provides ways to send multiple commands together to reduce the overhead of individual network requests. These include Pipelining, Transactions (MULTI/EXEC), and Lua Scripting. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@article@Using pipelining to batch issue commands](https://www.alibabacloud.com/help/en/redis/use-cases/use-pipelining-to-batch-issue-commands#:~:text=You%20can%20use%20the%20Redis,network%20latency%20and%20improving%20performance.) |
@ -1 +1,8 @@ |
||||
# BITCOUNT |
||||
# BITCOUNT |
||||
|
||||
The BITCOUNT command in Redis is used to count the number of bits set to 1 (i.e., the number of binary 1s) in the value stored at a specific key. Since Redis allows string values to be stored as binary data, the BITCOUNT command becomes useful for operations involving bits, like efficiently tracking and counting bits in binary-encoded data. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@BITCOUNT - Docs](https://redis.io/docs/latest/commands/bitcount/) |
||||
- [@article@BITCOUNT](https://upstash.com/docs/redis/sdks/ts/commands/bitmap/bitcount) |
||||
|
@ -1 +1,8 @@ |
||||
# Bitmaps |
||||
# Bitmaps |
||||
|
||||
In Redis, Bitmaps are a data structure that allows you to manipulate individual bits within a string value. While Redis doesn't have a native "bitmap" data type, it uses strings to represent bitmaps. The power of bitmaps comes from their ability to perform operations on binary data at the bit level, making them extremely memory-efficient for certain types of applications, like tracking the presence/absence of elements (such as daily active users, features, etc.). |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@Redis Bitmap docs](https://redis.io/docs/latest/develop/data-types/bitmaps/) |
||||
- [@video@Redis bitmap explained](https://youtu.be/oj8LdJQjhJo?si=jem54LfPbZtrpnEP) |
||||
|
Loading…
Reference in new issue