Does ukv support TTL? #230
-
Can we set expirations for keys? This is also very useful feature for key/value store. There is an usecase to store session data in key/value store TTL is useful for eviction of this session data. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Not yet, but we are considering this feature for future releases. It is tricky to implement for some modalities, like Graphs. Our more significant priorities are replication and horizontal scaling, but we can prioritize TTL if there is sufficient user demand. |
Beta Was this translation helpful? Give feedback.
-
If there is no TTL then it's on caller's thing to make sure proper eviction of keys happen. I think it's a good thing to support as part of ukv. |
Beta Was this translation helpful? Give feedback.
Not yet, but we are considering this feature for future releases. It is tricky to implement for some modalities, like Graphs. Our more significant priorities are replication and horizontal scaling, but we can prioritize TTL if there is sufficient user demand.