From 0660b81dfc6a3e743f21b53d7ce9d6389ba06224 Mon Sep 17 00:00:00 2001 From: Obiechina Emmanuel <94564639+chibuike-19@users.noreply.github.com> Date: Mon, 23 Sep 2024 10:28:42 +0100 Subject: [PATCH] Chibuike 19/add redis contents (#7186) * added content to 10 redis topics --------- Co-authored-by: dsh Co-authored-by: Kamran Ahmed --- .../content/pull-requests@s3MzDYFPMASqiS8UnvWzW.md | 2 +- ...ve-active-geo-distribution@cybF72wlJyJbHLUjitLvn.md | 9 ++++++++- .../aof-rewrite--compaction@ibaZ34-laQtUyxAsERi7o.md | 9 ++++++++- .../redis/content/append@cPWd53BO6tm-uy4gqLdtZ.md | 9 ++++++++- .../atomicity-in-redis@jrgaoDnt_RxTu79hk4hCD.md | 9 ++++++++- .../content/authentication@Qy42paiTUsO8HIwbWTMui.md | 8 +++++++- .../backup-and-recovery@wXRDsNGFckXV_CSiit5sN.md | 9 ++++++++- .../basic-commands--set-get@NhcZM4nUQoSBBf_1qXi6l.md | 10 +++++++++- .../content/batch-operations@7JzeyTrkZ_1_yxMVrqvZU.md | 8 +++++++- .../redis/content/bitcount@jpcyXSSib7q4WBPmpgnXA.md | 9 ++++++++- .../redis/content/bitmaps@0Q3AkE8leWAyYsww3-BHX.md | 9 ++++++++- 11 files changed, 80 insertions(+), 11 deletions(-) diff --git a/src/data/roadmaps/git-github/content/pull-requests@s3MzDYFPMASqiS8UnvWzW.md b/src/data/roadmaps/git-github/content/pull-requests@s3MzDYFPMASqiS8UnvWzW.md index eb87347ab..80056b5fd 100644 --- a/src/data/roadmaps/git-github/content/pull-requests@s3MzDYFPMASqiS8UnvWzW.md +++ b/src/data/roadmaps/git-github/content/pull-requests@s3MzDYFPMASqiS8UnvWzW.md @@ -10,4 +10,4 @@ You can use GitHub CLI to manage pull requests with the following commands: Visit the following resources to learn more: - [@official@gh pr](https://cli.github.com/manual/gh_pr) -- [@video@Use GitHub CLI For Command Line Pull Request Management](https://www.youtube.com/watch?v=Ku9_0Mftiic) \ No newline at end of file +- [@video@Use GitHub CLI For Command Line Pull Request Management](https://www.youtube.com/watch?v=Ku9_0Mftiic) diff --git a/src/data/roadmaps/redis/content/active-active-geo-distribution@cybF72wlJyJbHLUjitLvn.md b/src/data/roadmaps/redis/content/active-active-geo-distribution@cybF72wlJyJbHLUjitLvn.md index 165dac53e..c0e21bc8a 100644 --- a/src/data/roadmaps/redis/content/active-active-geo-distribution@cybF72wlJyJbHLUjitLvn.md +++ b/src/data/roadmaps/redis/content/active-active-geo-distribution@cybF72wlJyJbHLUjitLvn.md @@ -1 +1,8 @@ -# Active-Active geo Distribution \ No newline at end of file +# 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) diff --git a/src/data/roadmaps/redis/content/aof-rewrite--compaction@ibaZ34-laQtUyxAsERi7o.md b/src/data/roadmaps/redis/content/aof-rewrite--compaction@ibaZ34-laQtUyxAsERi7o.md index dfceafb58..89fcc0017 100644 --- a/src/data/roadmaps/redis/content/aof-rewrite--compaction@ibaZ34-laQtUyxAsERi7o.md +++ b/src/data/roadmaps/redis/content/aof-rewrite--compaction@ibaZ34-laQtUyxAsERi7o.md @@ -1 +1,8 @@ -# AOF rewrite & compaction \ No newline at end of file +# 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) \ No newline at end of file diff --git a/src/data/roadmaps/redis/content/append@cPWd53BO6tm-uy4gqLdtZ.md b/src/data/roadmaps/redis/content/append@cPWd53BO6tm-uy4gqLdtZ.md index 926574f73..0074ec8e2 100644 --- a/src/data/roadmaps/redis/content/append@cPWd53BO6tm-uy4gqLdtZ.md +++ b/src/data/roadmaps/redis/content/append@cPWd53BO6tm-uy4gqLdtZ.md @@ -1 +1,8 @@ -# APPEND \ No newline at end of file +# 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) diff --git a/src/data/roadmaps/redis/content/atomicity-in-redis@jrgaoDnt_RxTu79hk4hCD.md b/src/data/roadmaps/redis/content/atomicity-in-redis@jrgaoDnt_RxTu79hk4hCD.md index 0fb48fc68..dec8201d9 100644 --- a/src/data/roadmaps/redis/content/atomicity-in-redis@jrgaoDnt_RxTu79hk4hCD.md +++ b/src/data/roadmaps/redis/content/atomicity-in-redis@jrgaoDnt_RxTu79hk4hCD.md @@ -1 +1,8 @@ -# Atomicity in Redis \ No newline at end of file +# 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) diff --git a/src/data/roadmaps/redis/content/authentication@Qy42paiTUsO8HIwbWTMui.md b/src/data/roadmaps/redis/content/authentication@Qy42paiTUsO8HIwbWTMui.md index 66a783b30..ef4c0bad6 100644 --- a/src/data/roadmaps/redis/content/authentication@Qy42paiTUsO8HIwbWTMui.md +++ b/src/data/roadmaps/redis/content/authentication@Qy42paiTUsO8HIwbWTMui.md @@ -1 +1,7 @@ -# Authentication \ No newline at end of file +# 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/) diff --git a/src/data/roadmaps/redis/content/backup-and-recovery@wXRDsNGFckXV_CSiit5sN.md b/src/data/roadmaps/redis/content/backup-and-recovery@wXRDsNGFckXV_CSiit5sN.md index 2a97a700f..59797b4b1 100644 --- a/src/data/roadmaps/redis/content/backup-and-recovery@wXRDsNGFckXV_CSiit5sN.md +++ b/src/data/roadmaps/redis/content/backup-and-recovery@wXRDsNGFckXV_CSiit5sN.md @@ -1 +1,8 @@ -# Backup and Recovery \ No newline at end of file +# 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) diff --git a/src/data/roadmaps/redis/content/basic-commands--set-get@NhcZM4nUQoSBBf_1qXi6l.md b/src/data/roadmaps/redis/content/basic-commands--set-get@NhcZM4nUQoSBBf_1qXi6l.md index f6a5be25b..b3141c800 100644 --- a/src/data/roadmaps/redis/content/basic-commands--set-get@NhcZM4nUQoSBBf_1qXi6l.md +++ b/src/data/roadmaps/redis/content/basic-commands--set-get@NhcZM4nUQoSBBf_1qXi6l.md @@ -1 +1,9 @@ -# Basic Commands / SET, GET \ No newline at end of file +# 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) diff --git a/src/data/roadmaps/redis/content/batch-operations@7JzeyTrkZ_1_yxMVrqvZU.md b/src/data/roadmaps/redis/content/batch-operations@7JzeyTrkZ_1_yxMVrqvZU.md index df6da76c9..1b808364b 100644 --- a/src/data/roadmaps/redis/content/batch-operations@7JzeyTrkZ_1_yxMVrqvZU.md +++ b/src/data/roadmaps/redis/content/batch-operations@7JzeyTrkZ_1_yxMVrqvZU.md @@ -1 +1,7 @@ -# Batch Operations \ No newline at end of file +# 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.) \ No newline at end of file diff --git a/src/data/roadmaps/redis/content/bitcount@jpcyXSSib7q4WBPmpgnXA.md b/src/data/roadmaps/redis/content/bitcount@jpcyXSSib7q4WBPmpgnXA.md index b3526cdac..890746df7 100644 --- a/src/data/roadmaps/redis/content/bitcount@jpcyXSSib7q4WBPmpgnXA.md +++ b/src/data/roadmaps/redis/content/bitcount@jpcyXSSib7q4WBPmpgnXA.md @@ -1 +1,8 @@ -# BITCOUNT \ No newline at end of file +# 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) diff --git a/src/data/roadmaps/redis/content/bitmaps@0Q3AkE8leWAyYsww3-BHX.md b/src/data/roadmaps/redis/content/bitmaps@0Q3AkE8leWAyYsww3-BHX.md index 1d13352ac..397022bfb 100644 --- a/src/data/roadmaps/redis/content/bitmaps@0Q3AkE8leWAyYsww3-BHX.md +++ b/src/data/roadmaps/redis/content/bitmaps@0Q3AkE8leWAyYsww3-BHX.md @@ -1 +1,8 @@ -# Bitmaps \ No newline at end of file +# 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)