Skip to content

Support field level expire/TTL for hash, set and sorted set #640

Open
@xingbowang

Description

@xingbowang

The problem/use-case that the feature addresses
My customer has a use case where each element within a Hash/Set/Sorted Set data type would have different TTL. Right now, it is done by manually write client side logic or lua script. It would be great if Valkey could support element level TTL, so the element get expired independently.

Description of the feature

Valkey would allow client to specific different TTL value at element level.

Alternatives you've considered

None.

Additional information

None.

Metadata

Metadata

Assignees

Labels

client-changes-neededClient changes may be required for this featureenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions