Skip to content
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

set field ttl on Pika hashtable/zset field #1485

Closed
chejinge opened this issue May 11, 2023 · 2 comments
Closed

set field ttl on Pika hashtable/zset field #1485

chejinge opened this issue May 11, 2023 · 2 comments

Comments

@chejinge
Copy link
Collaborator

chejinge commented May 11, 2023

针对 hash 类型数据结构 field 字段设置过期时间,要求:

1 field 支持单独设置过期时间;
2 field过期后支持高效删除;
3 保持使用语法和原生 redis setnx 命令类似

@chejinge chejinge changed the title pika支持feild级别超时处理 pika 支持ehash数据类型,可设置feild过期时间 May 11, 2023
@OpenAtomFoundation OpenAtomFoundation deleted a comment from chejinge May 11, 2023
@OpenAtomFoundation OpenAtomFoundation deleted a comment from chejinge May 11, 2023
@chejinge chejinge changed the title pika 支持ehash数据类型,可设置feild过期时间 pika 支持ehash数据类型,可设置field过期时间 May 11, 2023
@AlexStocks AlexStocks changed the title pika 支持ehash数据类型,可设置field过期时间 set field ttl on Pika hashtable field May 11, 2023
@ForestLH
Copy link
Contributor

assign me
@ForestLH

@AlexStocks
Copy link
Collaborator

AlexStocks commented May 13, 2023

cl 觉得工作意义很大,redis 最新实现已经支持该功能。

秒删问题是每次删除都得读取 key 和 data 两次。

@Mixficsol Mixficsol assigned Mixficsol and unassigned ForestLH and Mixficsol Jul 31, 2023
@OpenAtomFoundation OpenAtomFoundation deleted a comment from yaoyinnan Sep 14, 2023
@AlexStocks AlexStocks changed the title set field ttl on Pika hashtable field set field ttl on Pika hashtable/zset field Sep 14, 2023
@Mixficsol Mixficsol self-assigned this Sep 14, 2023
@Mixficsol Mixficsol removed their assignment Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants