Comments (3)
rl系列命令支持过期机制。
有两个配置来完成:
rl:ttl 10 //单位s , 强制设置所有key的过期时间为10ms (作用:淘汰冷数据)
rl:ttlcheck 5 //单位s , 配合上面的设置,如果一个key在 6~10s内被读取到,key的过期自动延期为10s (作用:热数据自动续期)
这两个参数,可跟据系统的具体需求来设置。
from redis-storage.
是否可以像redis一样,针对单个key设置ttl,过期后这个key的持久化数据会自动清理掉。
上面的命令是统一处理的命令,需要能够兼容redis的过期机制。
from redis-storage.
leveldb中的冷数据,有定期清理机制吗?譬如redis定时清理过期数据机制,没有的话,leveldb数据是否会膨胀。
from redis-storage.
Related Issues (20)
- rl_系列命令有问题 HOT 6
- ds_append 命令错误操作 HOT 4
- ds_keys_asc,ds_keys_desc 导致 redis-storage 崩溃 HOT 3
- 编译问题 HOT 13
- 启动运行出错 HOT 3
- 编译找不到libleveldb库 HOT 1
- ds.c补丁,修复ds_hgetall崩溃的问题,另外将一些返回值与redis保持一致 HOT 1
- 是否有必要重新规划hash和后面zset功能的key的组织方式 HOT 6
- 贡献一个python客户端 HOT 2
- 运行问题? HOT 2
- make init error HOT 1
- ds_set 可以代替 ds_update来用
- leveldb update 问题 HOT 1
- 主从的话一台机子行不 HOT 1
- 是否可以支持 redis 3
- 键删除问题 HOT 2
- 这个项目是不维护了吧,很久没有更新了
- 编译出错 ds.c HOT 2
- ds_mget返回格式变了 HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis-storage.