-
Notifications
You must be signed in to change notification settings - Fork 2
Adaptive cache docs #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Updates documentation to introduce adaptive caching, support Valkey alongside Redis, and prepare for a new slot cache expiry setting.
- Adds an adaptive caching guide.
- Updates menus and API docs to reference Valkey.
- Inserts placeholder for
slot_cache_expiry
in configuration.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
docs/1.x/index.md | Added Eviction and Ratios sections; reordered menu entries |
docs/1.x/connections.md | Expanded Redis connection notes to include Valkey |
docs/1.x/configuration.md | Updated invalidation endpoint note; added placeholder for expiry |
docs/1.x/api.md | Adjusted metadata bullets for Redis/Valkey commands |
docs/1.x/adaptive.md | New guide for adaptive caching setup |
Comments suppressed due to low confidence (4)
docs/1.x/index.md:12
- The
Ratios
link currently points to/docs/1.x/events
; it should target the correctratios
page (e.g.,/docs/1.x/ratios
).
- [Ratios](/docs/1.x/events)
docs/1.x/index.md:14
- There are two
Tables
entries in this section; consider removing the duplicate to keep the menu concise.
- [Tables](/docs/1.x/tables)
docs/1.x/configuration.md:51
- This entry has a placeholder (
???
); please provide a clear description of whatslot_cache_expiry
controls and its default behavior.
| `relay.cluster.slot_cache_expiry` | | ??? |
docs/1.x/api.md:26
- The
RedisCommand
bullet was removed when addingValkeyCommand
; you may want to retain both bullets to document the distinction between Redis and Valkey commands.
- `ValkeyCommand` indicates the method represents a [command](https://valkey.io/commands/)
| `relay.loglevel` | `off` | Whether Relay should log debug information. Supported levels: `debug`, `verbose`, `error`, `off` | | ||
| `relay.logfile` | | The path to the file in which information should be logged, if logging is enabled. | | ||
| `relay.cluster.seeds` | | The list of cluster nodes addresses grouped by cluster name, which will be used to initialize each cluster, encoded as URL query string, e.g. `cluster1[]=127.0.0.1:7000&cluster2[]=127.0.0.1:8000` | | ||
| `relay.cluster.auth` | | The list of credentials for each cluster, encoded as URL query string. Password string or username/password pairs may be used, e.g. `cluster1=secret&cluster2[]=username&cluster2[]=secret` | | ||
| `relay.cluster.timeout` | | The maximum number of seconds Relay will wait while establishing connection to a single cluster node. | | ||
| `relay.cluster.read_timeout` | | The maximum number of seconds Relay will wait while reading from a cluster node. | | ||
| `relay.cluster.slot_cache_expiry` | | ??? | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yatsukhnenko What does this do in simple words?
slot_cache_expiry
descriptionadaptive.md