Add Time-to-Live (TTL) Support to RedisVectorStore Index #7632
hatemalimam
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
Introduce Time-to-Live (TTL) support for vectors and their associated metadata in the RedisVectorStore index. This feature would allow developers to specify a TTL for data entries upon insertion, ensuring that outdated or irrelevant data is automatically cleaned up after a predefined time.
Motivation
Managing the lifecycle of vector data is crucial in dynamic use cases such as real-time recommendation systems, session-based personalization, and temporary data storage. Without TTL, developers must implement custom logic to periodically delete expired data, which increases complexity and overhead.
By providing TTL support directly in the RedisVectorStore index, users can:
Reduce the manual effort required to manage data expiration.
Improve the performance of queries by automatically purging stale data.
Ensure better resource utilization by preventing the accumulation of unused data.
This feature aligns with Redis's native capabilities of supporting TTL for keys and would extend this functionality to vector-based data management.
Proposal (If applicable)
Beta Was this translation helpful? Give feedback.
All reactions