refractor(redis): cleanup redis db roadmap (#8518)
* refractor 45 topics * refractor remaining 46 topicspull/8523/head
parent
a822f00a70
commit
eb5d2fbc3a
91 changed files with 137 additions and 98 deletions
@ -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) |
@ -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/) |
@ -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/) |
@ -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/) |
@ -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/) |
@ -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. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@Sorted Sets](https://redis.io/docs/latest/develop/data-types/sorted-sets/) |
@ -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. |
||||
|
||||
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. |
||||
|
||||
Learn more from the following resources: |
||||
|
||||
- [@official@Redis Strings](https://redis.io/docs/latest/develop/data-types/strings/) |
Loading…
Reference in new issue