refractor(redis): cleanup redis db roadmap (#8518)

* refractor 45 topics

* refractor remaining 46 topics
pull/8523/head
Vedansh 3 weeks ago committed by GitHub
parent a822f00a70
commit eb5d2fbc3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/roadmaps/redis/content/append@cPWd53BO6tm-uy4gqLdtZ.md
  2. 2
      src/data/roadmaps/redis/content/backup-and-recovery@wXRDsNGFckXV_CSiit5sN.md
  3. 2
      src/data/roadmaps/redis/content/basic-commands--set-get@NhcZM4nUQoSBBf_1qXi6l.md
  4. 3
      src/data/roadmaps/redis/content/batch-operations@7JzeyTrkZ_1_yxMVrqvZU.md
  5. 2
      src/data/roadmaps/redis/content/bitcount@jpcyXSSib7q4WBPmpgnXA.md
  6. 4
      src/data/roadmaps/redis/content/bitmaps@0Q3AkE8leWAyYsww3-BHX.md
  7. 2
      src/data/roadmaps/redis/content/bitop@tkrxArg_oYH0aQfM8NkD2.md
  8. 4
      src/data/roadmaps/redis/content/bitpos@Df1Eu7CuA-ARYii9JVvnm.md
  9. 2
      src/data/roadmaps/redis/content/cache@eHuBz_zSZK3rubn7nkd7g.md
  10. 2
      src/data/roadmaps/redis/content/caching@-TjnSOY8txYrhhxRV1OIl.md
  11. 2
      src/data/roadmaps/redis/content/del@lV_MnUNTB2h925idX0YWk.md
  12. 2
      src/data/roadmaps/redis/content/eval@rjeq3i9oX8IGyQzo--L3c.md
  13. 2
      src/data/roadmaps/redis/content/evalsha@3X0x_PcJGWBVPL-LSVAln.md
  14. 2
      src/data/roadmaps/redis/content/exec@Ljy-Mc0EBBX4_vXfYZ5-4.md
  15. 4
      src/data/roadmaps/redis/content/expiration@OSIYDYPGz8Vgo9SU9GGH9.md
  16. 2
      src/data/roadmaps/redis/content/expire@nS0DHhfy4wxHItgOFhulA.md
  17. 2
      src/data/roadmaps/redis/content/geoadd@U3N1EgHFs1-YUaB_VrJfw.md
  18. 2
      src/data/roadmaps/redis/content/geosearch@OWWDLuGTbdNwME7v2jxVP.md
  19. 5
      src/data/roadmaps/redis/content/geospatial-indexes@_NiUdVQ85qnvryI38k_vQ.md
  20. 2
      src/data/roadmaps/redis/content/get@mQc4H2ZMMSVjh33LJY8mK.md
  21. 2
      src/data/roadmaps/redis/content/getbit@0HFLJfcrcSnAVTecG3P8W.md
  22. 2
      src/data/roadmaps/redis/content/hdel@E7xFZkqqbzokD5KGTn9zJ.md
  23. 2
      src/data/roadmaps/redis/content/hexists@adhLMuSmfYMRyWTwIgnyE.md
  24. 2
      src/data/roadmaps/redis/content/hget@MsKg9m5jFwHM2Bzjf-vdu.md
  25. 2
      src/data/roadmaps/redis/content/hgetall@TpR33sJ-tAjeG3jpGTvYR.md
  26. 3
      src/data/roadmaps/redis/content/high-performance-and-scalability@5-3pd4rLDqRzMzSRVLdXh.md
  27. 1
      src/data/roadmaps/redis/content/how-rdb-works@D3pZdAjwPFMRxX1-iyu5-.md
  28. 2
      src/data/roadmaps/redis/content/hset@BOJzn9SWad9oRRdY_ub01.md
  29. 5
      src/data/roadmaps/redis/content/in-memory-data-structure-store@M-EXrTDeAEMz_IkEi-ab4.md
  30. 4
      src/data/roadmaps/redis/content/incr@5K9qyC4mrhXYWOC8WSq8C.md
  31. 4
      src/data/roadmaps/redis/content/info@q2Jw49QUWCUGIfcEC1bZI.md
  32. 4
      src/data/roadmaps/redis/content/leaderboards-and-counters@Fv1iGX22sApIEifM2IpJz.md
  33. 2
      src/data/roadmaps/redis/content/lindex@hBFEUXtuzUTzWZKp2qWaZ.md
  34. 2
      src/data/roadmaps/redis/content/llen@4oCcP9FxDJSDMHCEVBCNa.md
  35. 2
      src/data/roadmaps/redis/content/lmove@9KvHcS5F4Jj5ZXgIAdOQY.md
  36. 2
      src/data/roadmaps/redis/content/lpop@voa61RTWMJD3Sk8DNJoVQ.md
  37. 2
      src/data/roadmaps/redis/content/lpush@Kq7G89KaZZMFkrH-9WZoS.md
  38. 2
      src/data/roadmaps/redis/content/lrange@8JTtBy6oD2wFYDizVkcVa.md
  39. 2
      src/data/roadmaps/redis/content/max-memory-policy@Sd1ENOXSFCz1YqccXjr2A.md
  40. 2
      src/data/roadmaps/redis/content/memory-management@xF0wQYmtwXYkrzvWg5gOO.md
  41. 4
      src/data/roadmaps/redis/content/monitor@jBtEiylcedtaE6E20Uk4V.md
  42. 4
      src/data/roadmaps/redis/content/monitoring@2p5RF4lVYfRvYTo1Ofm-a.md
  43. 2
      src/data/roadmaps/redis/content/multi@U6hST1MkS16T2CHV3-Ise.md
  44. 4
      src/data/roadmaps/redis/content/network-security@wsuKH7YwGDV6GYQbdhA4o.md
  45. 2
      src/data/roadmaps/redis/content/no-persistence-option@80035BzcB-fKCvD_3N8zE.md
  46. 4
      src/data/roadmaps/redis/content/pfadd@8a4DmPZrX2xGZ7zdWxS63.md
  47. 2
      src/data/roadmaps/redis/content/pfcount@JWT30KIJQHVw0MXI5sGR6.md
  48. 2
      src/data/roadmaps/redis/content/pfmerge@s50jr_XOUcxh65-tGCKf5.md
  49. 2
      src/data/roadmaps/redis/content/publish@gIPo-2CNqE1BsOaDzmkCU.md
  50. 6
      src/data/roadmaps/redis/content/pubsub-messaging@ZCyId3aIoLv3duxoJdk2P.md
  51. 2
      src/data/roadmaps/redis/content/rdb-vs-aof-tradeoffs@3S-qqOlfr60HR4VvDr4He.md
  52. 2
      src/data/roadmaps/redis/content/redis-benchmark@kgHwK4N-sfh6dHjd_D_me.md
  53. 6
      src/data/roadmaps/redis/content/redis-enterprise@8lyXDuZJ-KHl4v2_8Ew1h.md
  54. 2
      src/data/roadmaps/redis/content/redis-sentinel@nci3OB1NE1zJHUPfZCOpT.md
  55. 2
      src/data/roadmaps/redis/content/redisbloom@GwVL5CvbnHsiWb1hVh7lK.md
  56. 2
      src/data/roadmaps/redis/content/rediscommander@y5FPSAi6T-5X9SUfR58_-.md
  57. 2
      src/data/roadmaps/redis/content/redisjson@jicsfYw56VrbRUt7M8c85.md
  58. 4
      src/data/roadmaps/redis/content/retrieval-by-pattern@UlQHqw1dbxZnAKbsWsOgU.md
  59. 2
      src/data/roadmaps/redis/content/rpop@brUGqWZ287EWtvl9uUbNt.md
  60. 2
      src/data/roadmaps/redis/content/rpush@jC8G1o7yFj7D_PGmOIgcD.md
  61. 2
      src/data/roadmaps/redis/content/sadd@xUKoQps69FFQrJeuhD1pz.md
  62. 2
      src/data/roadmaps/redis/content/scard@2gZL4a9aWGKWLa89iyHTc.md
  63. 2
      src/data/roadmaps/redis/content/sdiff@JX5ajmcUmkshTO-mLF8lH.md
  64. 2
      src/data/roadmaps/redis/content/set@ltF4vCT9ZA2XuUuHnuGnN.md
  65. 2
      src/data/roadmaps/redis/content/setbit@B-YUFhPQNdr1KZNupmR5N.md
  66. 2
      src/data/roadmaps/redis/content/setting-and-getting-keys@DOdNkTY1yIMipWA2CD9xH.md
  67. 2
      src/data/roadmaps/redis/content/sinter@5aLfNBewK4Dx017qVNO3T.md
  68. 2
      src/data/roadmaps/redis/content/smembers@mQ0ILns53n1By0Tq6xSZI.md
  69. 6
      src/data/roadmaps/redis/content/sorted-sets@QTbkWZ7BpqYmBhUivccPu.md
  70. 2
      src/data/roadmaps/redis/content/srem@WQWVL5GT_scHdgfCtI7WT.md
  71. 7
      src/data/roadmaps/redis/content/streams@zXs_9n2yEb_eVi0WuOQKH.md
  72. 6
      src/data/roadmaps/redis/content/strings@Wl23Jh-ASJOQ850yjaTIU.md
  73. 2
      src/data/roadmaps/redis/content/strlen@eJQW986HM4Wf1o1i2FnXs.md
  74. 2
      src/data/roadmaps/redis/content/subscribe@55BCntuWlaQiLPqNtb-2i.md
  75. 2
      src/data/roadmaps/redis/content/sunion@6QoYa-N2BKNBaRtvNeVNm.md
  76. 2
      src/data/roadmaps/redis/content/ttl@Vll7VMmGWSI5XGZ9JpHyl.md
  77. 2
      src/data/roadmaps/redis/content/unsubscribe@5gkZzm2F4vu6IxUoJLYbK.md
  78. 2
      src/data/roadmaps/redis/content/watch@c-y5Eck8VtSyIf8RAW9p7.md
  79. 5
      src/data/roadmaps/redis/content/what-is-redis@-3pADOHMDQ0H6ZKNjURyn.md
  80. 2
      src/data/roadmaps/redis/content/when-to-consider-enterprise@JlLwy69eQ1bPHAOOJNqjo.md
  81. 2
      src/data/roadmaps/redis/content/xadd@7isWhgrUA6M5IGM2U2tm4.md
  82. 2
      src/data/roadmaps/redis/content/xlen@DQJCMEw13lELcw_AwLfrT.md
  83. 2
      src/data/roadmaps/redis/content/xrange@CiYFuYE8XudZkR6AW2NQ7.md
  84. 2
      src/data/roadmaps/redis/content/xread@4sKiAtX5aIL4NDsQkilNC.md
  85. 2
      src/data/roadmaps/redis/content/zadd@0swsBD0sOY-o5lzibT999.md
  86. 2
      src/data/roadmaps/redis/content/zcount@O-fZM_U-tW0pYtNzN_8Ax.md
  87. 2
      src/data/roadmaps/redis/content/zincrby@W4v7FIQr2k-Vbm-HdfKog.md
  88. 2
      src/data/roadmaps/redis/content/zrange@3pFChX6YIItrBz9lxu4XM.md
  89. 2
      src/data/roadmaps/redis/content/zrangebyscore@OlbixGa5RmdqEt7snY04j.md
  90. 2
      src/data/roadmaps/redis/content/zrank@AF_kWM4V8n5Ux06IgEVTl.md
  91. 2
      src/data/roadmaps/redis/content/zrem@m0FZDPwNE71zcwM_gUwz0.md

@ -4,5 +4,5 @@ Redis APPEND command is used to add some value in a key. If the key already exis
Learn more from the following resources:
- [@official@APPEND Docs](https://redis.io/docs/latest/commands/append/)
- [@official@APPEND](https://redis.io/docs/latest/commands/append/)
- [@article@Redis - String Append Command](https://www.tutorialspoint.com/redis/strings_append.htm)

@ -4,5 +4,5 @@ Backing up and recovering Redis data is crucial for ensuring data persistence an
Learn more from the following resources:
- [@official@Backup and recovery](https://redis.io/redis-enterprise/technology/backup-disaster-recovery/)
- [@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)

@ -6,4 +6,4 @@ 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)
- [@official@Redis Cheat Sheet](https://redis.io/learn/howtos/quick-start/cheat-sheet)

@ -4,4 +4,5 @@ Batch operations in Redis allow you to execute multiple commands efficiently in
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.)
- [@article@Batch Operations in Redis](https://www.compilenrun.com/docs/middleware/redis/redis-operations/redis-batch-operations/)
- [@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.)

@ -4,5 +4,5 @@ The BITCOUNT command in Redis is used to count the number of bits set to 1 (i.e.
Learn more from the following resources:
- [@official@BITCOUNT - Docs](https://redis.io/docs/latest/commands/bitcount/)
- [@official@BITCOUNT](https://redis.io/docs/latest/commands/bitcount/)
- [@article@BITCOUNT](https://upstash.com/docs/redis/sdks/ts/commands/bitmap/bitcount)

@ -4,5 +4,5 @@ In Redis, Bitmaps are a data structure that allows you to manipulate individual
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)
- [@official@Bitmap](https://redis.io/docs/latest/develop/data-types/bitmaps/)
- [@video@Redis Bitmap Explained](https://youtu.be/oj8LdJQjhJo?si=jem54LfPbZtrpnEP)

@ -4,5 +4,5 @@ The `BITOP` command in Redis performs bitwise operations (AND, OR, XOR, and NOT)
Learn more from the following resources:
- [@official@BITOP Documentation](https://redis.io/docs/latest/commands/bitop/)
- [@official@BITOP](https://redis.io/docs/latest/commands/bitop/)
- [@article@BITOP Explained](https://www.dragonflydb.io/docs/command-reference/strings/bitop)

@ -4,5 +4,5 @@ The `BITPOS` command in Redis is used to find the position of the first bit set
Learn more from the following resources:
- [@official@BITPOS Documentation](https://redis.io/docs/latest/commands/bitpos/)
- [@article@BITPOS](https://upstash.com/docs/redis/sdks/py/commands/bitmap/bitpos)
- [@official@BITPOS](https://redis.io/docs/latest/commands/bitpos/)
- [@article@BITPOS Documentation](https://upstash.com/docs/redis/sdks/py/commands/bitmap/bitpos)

@ -5,4 +5,6 @@ Redis cache is an in-memory key-value store used to cache frequently accessed da
Learn more from the following resources:
- [@official@Redis Caching](https://redis.io/solutions/caching/)
- [@official@How to use Redis for Query Caching](https://redis.io/learn/howtos/solutions/microservices/caching)
- [@article@Understanding Redis Caching](https://medium.com/@devlexus/understanding-redis-caching-how-it-works-and-why-its-efficient-99afdbf1b8e0)
- [@video@How to use Redis Caching for incredible performance](https://www.youtube.com/watch?v=-5RTyEim384)

@ -5,4 +5,6 @@ Redis cache is an in-memory key-value store used to cache frequently accessed da
Learn more from the following resources:
- [@official@Redis Caching](https://redis.io/solutions/caching/)
- [@official@How to use Redis for Query Caching](https://redis.io/learn/howtos/solutions/microservices/caching)
- [@article@Understanding Redis Caching](https://medium.com/@devlexus/understanding-redis-caching-how-it-works-and-why-its-efficient-99afdbf1b8e0)
- [@video@How to use Redis Caching for incredible performance](https://www.youtube.com/watch?v=-5RTyEim384)

@ -4,5 +4,5 @@ The `DEL` command in Redis is used to delete one or more keys from the database.
Learn more from the following resources:
- [@official@DEL Documentation](https://redis.io/docs/latest/commands/del/)
- [@official@DEL](https://redis.io/docs/latest/commands/del/)
- [@article@Redis DEL Command](https://www.tutorialspoint.com/redis/keys_del.htm)

@ -4,5 +4,5 @@ The `EVAL` command in Redis allows the execution of Lua scripts directly on the
Learn more from the following resources:
- [@official@EVAL Documentation](https://redis.io/docs/latest/commands/eval/)
- [@official@EVAL](https://redis.io/docs/latest/commands/eval/)
- [@article@Redis EVAL Command](https://www.tutorialspoint.com/redis/scripting_eval.htm)

@ -4,5 +4,5 @@ The `EVALSHA` command in Redis is used to execute a Lua script that has already
Learn more from the following resources:
- [@official@EVALSHA Documentation](https://redis.io/docs/latest/commands/evalsha/)
- [@official@EVALSHA](https://redis.io/docs/latest/commands/evalsha/)
- [@article@Redis EVALSHA Command](https://www.tutorialspoint.com/redis/scripting_evalsha.htm)

@ -4,5 +4,5 @@ The `EXEC` command in Redis is used to execute a transaction that has been initi
Learn more from the following resources:
- [@official@EXEC Documentation](https://redis.io/docs/latest/commands/exec/)
- [@official@EXEC](https://redis.io/docs/latest/commands/exec/)
- [@article@Redis Transactions: EXEC](https://www.w3resource.com/redis/redis-exec.php)

@ -4,5 +4,5 @@ Redis key expiration allows you to set a time-to-live (TTL) for keys, automatica
Learn more from the following resources:
- [@official@PEXPIRE Documentation](https://redis.io/docs/latest/commands/pexpire/)
- [@official@EXPIRE Documentation](https://redis.io/docs/latest/commands/expire/)
- [@official@PEXPIRE](https://redis.io/docs/latest/commands/pexpire/)
- [@official@EXPIRE](https://redis.io/docs/latest/commands/expire/)

@ -5,4 +5,4 @@ The EXPIRE command is used to set a time-to-live (TTL) for a key in seconds, aft
Learn more from the following resources:
- [@official@Expiring Keys](https://redis.io/ebook/part-2-core-concepts/chapter-3-commands-in-redis/3-7-other-commands/3-7-3-expiring-keys/)
- [@official@EXPIRE Documentation](https://redis.io/docs/latest/commands/expire/)
- [@official@EXPIRE](https://redis.io/docs/latest/commands/expire/)

@ -4,4 +4,4 @@ The `GEOADD` command in Redis is used to add geospatial data to a sorted set, wh
Learn more from the following resources:
- [@official@GEOADD Documentation](https://redis.io/docs/latest/commands/geoadd/)
- [@official@GEOADD](https://redis.io/docs/latest/commands/geoadd/)

@ -4,5 +4,5 @@ The `GEOSEARCH` command in Redis is used to query geospatial data by finding mem
Learn more from the following resources:
- [@official@GEOADD Documentation](https://redis.io/docs/latest/commands/geoadd/)
- [@official@GEOADD](https://redis.io/docs/latest/commands/geoadd/)
- [@article@Getting Started with Geospatial Search in Redis](https://redis.io/learn/howtos/solutions/geo/getting-started)

@ -1,3 +1,8 @@
# Geospatial Indexes
Geospatial indexes in Redis are used to efficiently store and query location-based data, enabling fast geospatial operations. Redis uses a sorted set data structure to maintain these indexes, where each member represents a geographic location identified by longitude and latitude coordinates. The coordinates are encoded into a single value, allowing Redis to perform operations like adding locations (`GEOADD`), searching for nearby locations (`GEOSEARCH`), and calculating distances (`GEODIST`). This indexing mechanism allows for rapid retrieval of geospatial data, making it suitable for applications such as mapping services, location tracking, and proximity-based searches.
Learn more from the following resources:
- [@official@Geospatial Indexing](https://redis.io/docs/latest/develop/interact/search-and-query/indexing/geoindex/)
- [@article@Geospatial Indexes in Redis](https://codesignal.com/learn/courses/redis-data-structures-beyond-basics/lessons/introduction-to-geospatial-indexes-in-redis-using-java)

@ -4,5 +4,5 @@ The `GET` command in Redis is used to retrieve the value associated with a speci
Learn more from the following resources:
- [@official@GET Documentation](https://redis.io/docs/latest/commands/get/)
- [@official@GET](https://redis.io/docs/latest/commands/get/)
- [@article@How to get all keys in Redis](https://www.atlassian.com/data/admin/how-to-get-all-keys-in-redis)

@ -4,4 +4,4 @@ The `GETBIT` command in Redis retrieves the value of a specific bit at a given o
Learn more from the following resources:
- [@official@GETBIT Documentation](https://redis.io/docs/latest/commands/getbit/)
- [@official@GETBIT](https://redis.io/docs/latest/commands/getbit/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@HDEL Documentation](https://redis.io/docs/latest/commands/hdel/)
- [@official@HDEL](https://redis.io/docs/latest/commands/hdel/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@HEXISTS Documentation](https://redis.io/docs/latest/commands/hexists/)
- [@official@HEXISTS](https://redis.io/docs/latest/commands/hexists/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@HGET Documentation](https://redis.io/docs/latest/commands/hget/)
- [@official@HGET](https://redis.io/docs/latest/commands/hget/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@HGETALL Documentation](https://redis.io/docs/latest/commands/hgetall/)
- [@official@HGETALL](https://redis.io/docs/latest/commands/hgetall/)

@ -4,4 +4,5 @@ High performance and scalability in Redis are achieved through its in-memory dat
Learn more from the following resources:
- [@article@Optimizing Redis for High Performance](https://loadforge.com/guides/optimizing-redis-for-high-performance-essential-configuration-tweaks)
- [@article@Optimizing Redis for High Performance](https://loadforge.com/guides/optimizing-redis-for-high-performance-essential-configuration-tweaks)
- [@article@High-Performance and Scalable Architecture with Redis](https://medium.com/@emreemenekse/high-performance-and-scalable-architecture-with-redis-and-net-core-abde36074d26)

@ -4,4 +4,5 @@ The RDB (Redis Database Backup) mechanism in Redis creates snapshots of the data
Learn more from the following resources:
- [@official@Backup Data](https://redis.io/docs/latest/operate/rc/databases/back-up-data/)
- [@article@About RDB Snapshots](https://cloud.google.com/memorystore/docs/redis/about-rdb-snapshots)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@HSET Documentation](https://redis.io/docs/latest/commands/hset/)
- [@official@HSET](https://redis.io/docs/latest/commands/hset/)

@ -2,6 +2,7 @@
An in-memory database is a purpose-built database that relies primarily on internal memory for data storage. It enables minimal response times by eliminating the need to access standard disk drives (SSDs). In-memory databases are ideal for applications that require microsecond response times or have large spikes in traffic, such as gaming leaderboards, session stores, and real-time data analytics. The terms main memory database (MMDB), in-memory database system (IMDS), and real-time database system (RTDB) also refer to in-memory databases.
Learn more from the following resources:
Learn more from the following resources:
- [@article@Amazon MemoryDB](https://aws.amazon.com/memorydb/)
- [@official@Get Started with In-Memory Data Store](https://redis.io/docs/latest/develop/get-started/data-store/)
- [@article@Amazon MemoryDB](https://aws.amazon.com/memorydb/)

@ -1,7 +1,7 @@
# INCR
`INCR` is a Redis command used to increment the value of a string key by 1. If the key does not exist, it initializes the key with a value of 0 before performing the increment operation, resulting in a value of 1. If the key contains a non-integer value, the command will return an error. `INCR` is atomic, meaning it is safe to use in concurrent environments without race conditions, making it ideal for use cases like counters or tracking metrics.
`INCR` command used to increment the value of a string key by 1. If the key does not exist, it initializes the key with a value of 0 before performing the increment operation, resulting in a value of 1. If the key contains a non-integer value, the command will return an error. `INCR` is atomic, meaning it is safe to use in concurrent environments without race conditions, making it ideal for use cases like counters or tracking metrics.
Learn more from the following resources:
- [@official@INCR Documentation](https://redis.io/docs/latest/commands/incr/)
- [@official@INCR](https://redis.io/docs/latest/commands/incr/)

@ -1,7 +1,7 @@
# INFO
`INFO` is a Redis command that provides detailed information and statistics about the server, including memory usage, CPU load, connected clients, replication status, and more. It can be called without arguments to get a full overview or with specific sections (e.g., `INFO memory`) to retrieve targeted data. This command is useful for monitoring and debugging Redis instances, helping administrators understand the server's current state and performance metrics.
`INFO` command that provides detailed information and statistics about the server, including memory usage, CPU load, connected clients, replication status, and more. It can be called without arguments to get a full overview or with specific sections (e.g., `INFO memory`) to retrieve targeted data. This command is useful for monitoring and debugging Redis instances, helping administrators understand the server's current state and performance metrics.
Learn more from the following resources:
- [@official@INFO Documentation](https://redis.io/docs/latest/commands/info/)
- [@official@INFO](https://redis.io/docs/latest/commands/info/)

@ -4,5 +4,5 @@ Leaderboards and counters are common use cases for Redis, leveraging its sorted
Learn more from the following resources:
- [@official@ZADD Documentation](https://redis.io/docs/latest/commands/zadd/)
- [@official@ZRANGE Documentation](https://redis.io/docs/latest/commands/zrange/)
- [@official@ZADD](https://redis.io/docs/latest/commands/zadd/)
- [@official@ZRANGE](https://redis.io/docs/latest/commands/zrange/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@LINDEX Documentation](https://redis.io/docs/latest/commands/lindex/)
- [@official@LINDEX](https://redis.io/docs/latest/commands/lindex/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@LLEN Documentation](https://redis.io/docs/latest/commands/llen/)
- [@official@LLEN](https://redis.io/docs/latest/commands/llen/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@LMOVE Documentation](https://redis.io/docs/latest/commands/lmove/)
- [@official@LMOVE](https://redis.io/docs/latest/commands/lmove/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@LPOP Documentation](https://redis.io/docs/latest/commands/lpop/)
- [@official@LPOP](https://redis.io/docs/latest/commands/lpop/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@LPUSH Documentation](https://redis.io/docs/latest/commands/lpush/)
- [@official@LPUSH](https://redis.io/docs/latest/commands/lpush/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@LRANGE Documentation](https://redis.io/docs/latest/commands/lrange/)
- [@official@LRANGE](https://redis.io/docs/latest/commands/lrange/)

@ -4,3 +4,5 @@ The Max Memory Policy in Redis determines how the server handles data when it re
Learn more from the following resources:
- [@official@Database Memory Limits](https://redis.io/docs/latest/operate/rs/databases/memory-performance/memory-limit/)
- [@official@Eviction Policy](https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/)

@ -6,4 +6,4 @@ Learn more from the following resources:
- [@official@MEMORY USAGE Command](https://redis.io/docs/latest/commands/memory-usage/)
- [@official@MEMORY STATS Command](https://redis.io/docs/latest/commands/memory-stats/)
- [@article@Memory Management best practices](https://cloud.google.com/memorystore/docs/redis/memory-management-best-practices)
- [@article@Memory Management Best Practices](https://cloud.google.com/memorystore/docs/redis/memory-management-best-practices)

@ -4,5 +4,5 @@
Learn more from the following resources:
- [@official@MONITOR Documentation](https://redis.io/docs/latest/commands/monitor/)
- [@official@SLOWLOG Documentation](https://redis.io/docs/latest/commands/slowlog/)
- [@official@MONITOR](https://redis.io/docs/latest/commands/monitor/)
- [@official@SLOWLOG](https://redis.io/docs/latest/commands/slowlog/)

@ -4,5 +4,5 @@ Monitoring in Redis involves tracking the health, performance, and resource usag
Learn more from the following resources:
- [@official@Monitoring with metrics and alerts](https://redis.io/docs/latest/operate/rs/clusters/monitoring/)
- [@official@MONITOR Documentation](https://redis.io/docs/latest/commands/monitor/)
- [@official@Monitoring with Metrics and Alerts](https://redis.io/docs/latest/operate/rs/clusters/monitoring/)
- [@official@MONITOR](https://redis.io/docs/latest/commands/monitor/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@MULTI Command](https://redis.io/docs/latest/commands/multi/)
- [@official@MULTI](https://redis.io/docs/latest/commands/multi/)

@ -4,5 +4,5 @@ Network security in Redis involves implementing measures to protect the server f
Learn more from the following resources:
- [@official@Redis Authentication Documentation](https://redis.io/docs/latest/operate/oss_and_stack/management/security/#authentication)
- [@official@Redis Network Security Documentation](https://redis.io/docs/latest/operate/rc/security/database-security/network-security/)
- [@official@Redis Authentication](https://redis.io/docs/latest/operate/oss_and_stack/management/security/#authentication)
- [@official@Redis Network Security](https://redis.io/docs/latest/operate/rc/security/database-security/network-security/)

@ -4,4 +4,4 @@ The **No Persistence** option in Redis disables all data persistence mechanisms,
Learn more from the following resources:
- [@official@Redis Persistence Documentation](https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/)
- [@official@Redis Persistence](https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/)

@ -1,7 +1,7 @@
# PFADD
`PFADD` is a Redis command used to add elements to a HyperLogLog data structure, which is designed for estimating the cardinality (number of unique elements) of a dataset. When elements are added using `PFADD`, Redis updates the internal structure without storing the actual elements, ensuring low memory consumption. This command returns `1` if the HyperLogLog was modified (i.e., a new unique element was added) and `0` otherwise. `PFADD` is ideal for use cases like counting unique visits or tracking unique events in a highly memory-efficient manner.
`PFADD` command used to add elements to a HyperLogLog data structure, which is designed for estimating the cardinality (number of unique elements) of a dataset. When elements are added using `PFADD`, Redis updates the internal structure without storing the actual elements, ensuring low memory consumption. This command returns `1` if the HyperLogLog was modified (i.e., a new unique element was added) and `0` otherwise. `PFADD` is ideal for use cases like counting unique visits or tracking unique events in a highly memory-efficient manner.
Learn more from the following resources:
- [@official@PFADD Documentation](https://redis.io/docs/latest/commands/pfadd/)
- [@official@PFADD](https://redis.io/docs/latest/commands/pfadd/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@PFCOUNT Documentation](https://redis.io/docs/latest/commands/pfcount/)
- [@official@PFCOUNT](https://redis.io/docs/latest/commands/pfcount/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@PFMERGE Documentation](https://redis.io/docs/latest/commands/pfmerge/)
- [@official@PFMERGE](https://redis.io/docs/latest/commands/pfmerge/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@PUBLISH Documentation](https://redis.io/docs/latest/commands/publish/)
- [@official@PUBLISH](https://redis.io/docs/latest/commands/publish/)

@ -5,6 +5,6 @@ Pub/Sub messaging in Redis is a messaging pattern that allows clients to communi
Learn more from the following resources:
- [@official@Redis Pub/Sub](https://redis.io/docs/latest/develop/interact/pubsub/)
- [@official@PUBLISH Documentation](https://redis.io/docs/latest/commands/publish/)
- [@official@SUBSCRIBE Documentation](https://redis.io/docs/latest/commands/subscribe/)
- [@official@UNSUBSCRIBE Documentation](https://redis.io/docs/latest/commands/unsubscribe/)
- [@official@PUBLISH Command](https://redis.io/docs/latest/commands/publish/)
- [@official@SUBSCRIBE Command](https://redis.io/docs/latest/commands/subscribe/)
- [@official@UNSUBSCRIBE Command](https://redis.io/docs/latest/commands/unsubscribe/)

@ -1,6 +1,6 @@
# RDB vs AOF Tradeoffs
When comparing RDB (Redis Database Backup) and AOF (Append-Only File) for data persistence in Redis, several trade-offs must be considered.
When comparing RDB (Redis Database Backup) and AOF (Append-Only File) for data persistence in Redis, several trade-offs must be considered.
**RDB** is optimized for performance and efficient storage, creating point-in-time snapshots of the dataset at specified intervals. It is faster for startup since it loads a single file and consumes less disk I/O during normal operations. However, it may lead to data loss between snapshots if the server crashes, as changes made during that interval are not saved.

@ -4,5 +4,5 @@
Learn more from the following resources:
- [@official@Redis Benchmark Documentation](https://redis.io/docs/latest/operate/oss_and_stack/management/optimization/benchmarks/)
- [@official@Redis Benchmark](https://redis.io/docs/latest/operate/oss_and_stack/management/optimization/benchmarks/)
- [@article@How to benchmark the performance of a Redis server](https://www.digitalocean.com/community/tutorials/how-to-perform-redis-benchmark-tests)

@ -1,3 +1,9 @@
# Redis Enterprise
Redis Enterprise is a commercial offering that extends the capabilities of open-source Redis with advanced features designed for high availability, scalability, and performance in enterprise environments. It provides automatic sharding and replication, allowing for seamless horizontal scaling across multiple nodes and data centers. Redis Enterprise supports various deployment options, including on-premises, cloud, and hybrid environments, and offers enhanced data persistence options like active-active geo-distribution for global applications. Additionally, it includes advanced security features, such as role-based access control (RBAC), encryption, and audit logging, along with built-in monitoring and management tools. Redis Enterprise is particularly suited for mission-critical applications that require low-latency access to data and robust data management capabilities, making it ideal for use cases like real-time analytics, session management, and caching.
Learn more from the following resources:
- [@official@Redis Enterprise](https://redis.io/about/redis-enterprise/)
- [@official@Redis Enterprise Software](https://redis.io/docs/latest/operate/rs/)
- [@article@Redis Open Source vs. Enterprise](https://www.metricfire.com/blog/redis-open-source-vs-enterprise/)

@ -4,4 +4,4 @@ Redis Sentinel serves as a robust high-availability solution for Redis deploymen
Learn more from the following resources:
- [@official@High Availability with Redis Sentinal](https://redis.io/docs/latest/operate/oss_and_stack/management/sentinel/)
- [@official@High Availability with Redis Sentinel](https://redis.io/docs/latest/operate/oss_and_stack/management/sentinel/)

@ -5,4 +5,4 @@ RedisBloom is a Redis module that extends the capabilities of Redis by introduci
Learn more from the following resources:
- [@official@RedisBloom](https://redis.io/probabilistic/)
- [@opensource@RedisBloom/RedisBloom - RedisBloom on GitHub](https://github.com/RedisBloom/RedisBloom)
- [@opensource@RedisBloom/RedisBloom - GitHub](https://github.com/RedisBloom/RedisBloom)

@ -4,4 +4,4 @@ RedisCommander is a web-based GUI management tool for Redis that simplifies the
Learn more from the following resources:
- [@opensource@joeferner/redis-commander - RedisCommander Module on GitHub](https://github.com/joeferner/redis-commander)
- [@opensource@joeferner/redis-commander - GitHub](https://github.com/joeferner/redis-commander)

@ -5,4 +5,4 @@ RedisJSON is a Redis module that enables the storage, retrieval, and manipulatio
Learn more from the following resources:
- [@official@RedisJSON](https://redis.io/json/)
- [@opensource@RedisJSON/RedisJSON - RedisJSON Module on GitHub](https://github.com/RedisJSON/RedisJSON)
- [@opensource@RedisJSON/RedisJSON - GitHub](https://github.com/RedisJSON/RedisJSON)

@ -1,7 +1,7 @@
# Retrieval by Pattern
Redis offers powerful pattern-based key retrieval, allowing users to query multiple keys using wildcard patterns. This functionality primarily relies on the KEYS command, which supports glob-style patterns such as *, ?, and [] for flexible matching.
The SCAN command in Redis is a cursor-based iterator that does not guarantee to return all matching keys in one call, even if COUNT is specified. Instead, SCAN returns a small subset of keys that match the pattern, requiring subsequent calls to complete the iteration. Redis offers powerful pattern-based key retrieval, allowing users to query multiple keys using wildcard patterns. This functionality primarily relies on the KEYS command, which supports glob-style patterns such as *, ?, and [] for flexible matching.
Learn more from the following resources:
- [@official@SCAN Command](https://redis.io/docs/latest/commands/scan/)
- [@official@SCAN](https://redis.io/docs/latest/commands/scan/)

@ -4,4 +4,4 @@ The RPOP command removes and then returns the last elements of the list stored a
Learn more from the following resources:
- [@official@RPOP Documentation](https://redis.io/docs/latest/commands/rpop/)
- [@official@RPOP](https://redis.io/docs/latest/commands/rpop/)

@ -4,4 +4,4 @@ The RPUSH command will insert all the specified values at the tail end o the lis
Learn more from the following resources:
- [@official@RPUSH Documentation](https://redis.io/docs/latest/commands/rpush/)
- [@official@RPUSH](https://redis.io/docs/latest/commands/rpush/)

@ -4,4 +4,4 @@ The SADD command will add the specified members to the set which is stored and t
Learn more from the following resources:
- [@official@SADD Documentation](https://redis.io/docs/latest/commands/sadd/)
- [@official@SADD](https://redis.io/docs/latest/commands/sadd/)

@ -4,4 +4,4 @@
Learn more from the following resources:
- [@official@SCARD Documentation](https://redis.io/docs/latest/commands/scard/)
- [@official@SCARD](https://redis.io/docs/latest/commands/scard/)

@ -4,4 +4,4 @@ The SDIFF coimmand returns the members of a set resulting from the difference be
Learn more from the following resources:
- [@official@SDIFF Documentation](https://redis.io/docs/latest/commands/sdiff/)
- [@official@SDIFF](https://redis.io/docs/latest/commands/sdiff/)

@ -4,4 +4,4 @@ The SET command sets the defined key to hold a value, if the key already holds a
Learn more from the following resources:
- [@official@SET Command](https://redis.io/docs/latest/commands/set/)
- [@official@SET](https://redis.io/docs/latest/commands/set/)

@ -4,4 +4,4 @@ The SETBIT command sets or clearts the bit at the specified offset in the string
Learn more from the following resources:
- [@official@SETBIT command](https://redis.io/docs/latest/commands/setbit/)
- [@official@SETBIT](https://redis.io/docs/latest/commands/setbit/)

@ -4,4 +4,6 @@ In Redis, setting keys refers to the operation of storing keys by associating th
Learn more from the following resources:
- [@official@Keys](https://redis.io/docs/latest/commands/keys/)
- [@official@SET](https://redis.io/docs/latest/commands/set/)
- [@article@Set key values](https://www.w3resource.com/redis/redis-set-key-value.php)

@ -4,4 +4,4 @@ The SINTER command will return members of the set which will result in the inter
Learn more from the following resources:
- [@official@SINTER Documentation](https://redis.io/docs/latest/commands/sinter/)
- [@official@SINTER](https://redis.io/docs/latest/commands/sinter/)

@ -4,4 +4,4 @@ The SMEMBERS command returns all the members of the set that is defined at key.
Learn more from the following resources:
- [@official@SMEMBERS Documentation](https://redis.io/docs/latest/commands/smembers/)
- [@official@SMEMBERS](https://redis.io/docs/latest/commands/smembers/)

@ -1,3 +1,7 @@
# Sorted Sets
A sorted set in Redis is a collection of unique strings, or members, that are ordered by an associated score. When more than one string has the same score, the strings are ordered lexicographically.
A sorted set in Redis is a collection of unique strings, or members, that are ordered by an associated score. When more than one string has the same score, the strings are ordered lexicographically.
Learn more from the following resources:
- [@official@Sorted Sets](https://redis.io/docs/latest/develop/data-types/sorted-sets/)

@ -4,4 +4,4 @@ The SREM command will remove the specified members from the set stored at the de
Learn more from the following resources:
- [@official@SREM Documentation](https://redis.io/docs/latest/commands/srem/)
- [@official@SREM](https://redis.io/docs/latest/commands/srem/)

@ -1,3 +1,8 @@
# Streams
A Redis stream is a data structure that acts like an append-only log but can also implement multiple operations to overcome limits seen in typical append-only logs. These include random access in O(1) time and complex consumption strategies, such as consumer groups.
A Redis stream is a data structure that acts like an append-only log but can also implement multiple operations to overcome limits seen in typical append-only logs. These include random access in O(1) time and complex consumption strategies, such as consumer groups.
Learn more from the following resources:
- [@official@Redis Streams](https://redis.io/docs/latest/develop/data-types/streams/)
- [@official@Transport Layer Security Documentation](https://redis.io/docs/latest/operate/rc/security/database-security/tls-ssl/)

@ -1,3 +1,7 @@
# Strings
Strings in Redis are binary-safe, meaning they can contain any kind of data, including text, integers, floats, or even binary data like images and they can hold up to 512 MB of data per key. Redis strings support a wide range of operations, from basic CRUD (Create, Read, Update, Delete) to more complex manipulations like incrementing/decrementing numeric values, appending data, or extracting substrings.
Strings in Redis are binary-safe, meaning they can contain any kind of data, including text, integers, floats, or even binary data like images and they can hold up to 512 MB of data per key. Redis strings support a wide range of operations, from basic CRUD (Create, Read, Update, Delete) to more complex manipulations like incrementing/decrementing numeric values, appending data, or extracting substrings.
Learn more from the following resources:
- [@official@Redis Strings](https://redis.io/docs/latest/develop/data-types/strings/)

@ -4,4 +4,4 @@ The STRLEN command returns the length of a string value that is stored at the de
Learn more from the following resources:
- [@official@STRLEN Documentation](https://redis.io/docs/latest/commands/strlen/)
- [@official@STRLEN](https://redis.io/docs/latest/commands/strlen/)

@ -4,4 +4,4 @@ The SUBSCRIBE command subscribes the client to the channels specified, once subs
Learn more from the following resources:
- [@official@SUBSCRIBE Documentation](https://redis.io/docs/latest/commands/subscribe/)
- [@official@SUBSCRIBE](https://redis.io/docs/latest/commands/subscribe/)

@ -4,4 +4,4 @@ The SUNION command returns the members of a set resulting in a union of all the
Learn more from the following resources:
- [@official@SUNION Documentation](https://redis.io/docs/latest/commands/sunion/)
- [@official@SUNION](https://redis.io/docs/latest/commands/sunion/)

@ -4,4 +4,4 @@ The TTL command returns the remaining time left to live of a key that is specifi
Learn more from the following resources:
- [@official@TTL Documentation](https://redis.io/docs/latest/commands/ttl/)
- [@official@TTL](https://redis.io/docs/latest/commands/ttl/)

@ -4,4 +4,4 @@ The UNSUBSCRIBE command unsubscribes the client for the given channels, or all c
Learn more from the following resources:
- [@official@UNSUBSCRIBE Documentation](https://redis.io/docs/latest/commands/unsubscribe/)
- [@official@UNSUBSCRIBE](https://redis.io/docs/latest/commands/unsubscribe/)

@ -4,4 +4,4 @@ The WATCH command marks the given keys to be watched for conditional execution o
Learn more from the following resources:
- [@official@WATCH Documentation](https://redis.io/docs/latest/commands/watch/)
- [@official@WATCH](https://redis.io/docs/latest/commands/watch/)

@ -4,4 +4,7 @@ Redis is an open-source, in-memory data structure store, primarily used as a dat
Visit the following resources to learn more:
- [@official@What is redis?](https://redis.io/docs/latest/get-started/)
- [@official@What is Redis?](https://redis.io/docs/latest/get-started/)
- [@official@Introduction to Redis](https://redis.io/about/)
- [@article@Redis - Wikipedia](https://en.wikipedia.org/wiki/Redis)
- [@article@What is Redis Explained? - IBM](https://www.ibm.com/think/topics/redis)

@ -5,4 +5,4 @@ Redis Enterprise is typically considered when an organization requires enhanced
Learn more from the following resources:
- [@official@About Redis Enterprise](https://redis.io/about/redis-enterprise/)
- [@official@Redis Enterprise Website](https://redis.io/enterprise/)
- [@official@Redis Enterprise](https://redis.io/enterprise/)

@ -4,4 +4,4 @@ The XADD command used to append new entries to a stream data structure. It allow
Learn more from the following resources:
- [@official@XADD Documentation](https://redis.io/docs/latest/commands/xadd/)
- [@official@XADD](https://redis.io/docs/latest/commands/xadd/)

@ -4,4 +4,4 @@ The XLEN command used to get the length of a stream, returning the number of ent
Learn more from the following resources:
- [@official@XLEN Documentation](https://redis.io/docs/latest/commands/xlen/)
- [@official@XLEN](https://redis.io/docs/latest/commands/xlen/)

@ -4,4 +4,4 @@ The XRANGE command used for retrieving messages from a stream. It allows you to
Learn more from the following resources:
- [@official@XRANGE Documentation](https://redis.io/docs/latest/commands/xrange/)
- [@official@XRANGE](https://redis.io/docs/latest/commands/xrange/)

@ -4,4 +4,4 @@ The XREAD command reads data from one or more streams, only returning entired wi
Learn more from the following resources:
- [@official@XREAD Documentation](https://redis.io/docs/latest/commands/xread/)
- [@official@XREAD](https://redis.io/docs/latest/commands/xread/)

@ -4,4 +4,4 @@ The ZADD command adds all of the specified members with the specified scores to
Learn more from the following resources:
- [@official@ZADD Documentation](https://redis.io/docs/latest/commands/zadd/)
- [@official@ZADD](https://redis.io/docs/latest/commands/zadd/)

@ -4,4 +4,4 @@ ZCOUNT returns the number of elements in the sorted set at the targetted `key`,
Learn more from the following resources:
- [@official@ZCOUNT Documentation](https://redis.io/docs/latest/commands/zcount/)
- [@official@ZCOUNT](https://redis.io/docs/latest/commands/zcount/)

@ -4,4 +4,4 @@ ZINCRBY increments the score of a member in a sorted set by the defined incremen
Learn more from the following resources:
- [@official@ZINCRBY Documentation](https://redis.io/docs/latest/commands/zincrby/)
- [@official@ZINCRBY](https://redis.io/docs/latest/commands/zincrby/)

@ -4,4 +4,4 @@ The ZRANGE command can perform multiple range queries including by rank, by scor
Learn more from the following resources:
- [@official@ZRANGE Documentation](https://redis.io/docs/latest/commands/zrange/)
- [@official@ZRANGE](https://redis.io/docs/latest/commands/zrange/)

@ -4,4 +4,4 @@ This command retrieves elements from a sorted set stored at the specified key. I
Learn more from the following resources:
- [@official@ZRANGEBYSCORE Documentation](https://redis.io/docs/latest/commands/zrangebyscore/)
- [@official@ZRANGEBYSCORE](https://redis.io/docs/latest/commands/zrangebyscore/)

@ -4,4 +4,4 @@ ZRANK returns the rank of member in the sorted set stored at key, with the score
Learn more from the following resources:
- [@official@ZRANK Documentation](https://redis.io/docs/latest/commands/zrank/)
- [@official@ZRANK](https://redis.io/docs/latest/commands/zrank/)

@ -4,4 +4,4 @@ Removes the specified members from the sorted set stored at key. Non existing me
Learn more from the following resources:
- [@official@ZREM Documentation](https://redis.io/docs/latest/commands/zrem/)
- [@official@ZREM](https://redis.io/docs/latest/commands/zrem/)
Loading…
Cancel
Save