王雪飞 11debabe5e | 2 weeks ago | ||
---|---|---|---|
.github/workflows | 删除 | 2 weeks ago | |
benchmarks | 删除 | 2 weeks ago | |
cmake | 删除 | 2 weeks ago | |
db | 删除 | 2 weeks ago | |
doc | 删除 | 2 weeks ago | |
helpers/memenv | 删除 | 2 weeks ago | |
include/leveldb | 删除 | 2 weeks ago | |
issues | 删除 | 2 weeks ago | |
port | 删除 | 2 weeks ago | |
table | 删除 | 2 weeks ago | |
test | 删除 | 2 weeks ago | |
third_party | 删除 | 2 weeks ago | |
util | 删除 | 2 weeks ago | |
.clang-format | 2 weeks ago | ||
.gitignore | 2 weeks ago | ||
.gitmodules | 2 weeks ago | ||
AUTHORS | 2 weeks ago | ||
CMakeLists.txt | 2 weeks ago | ||
CONTRIBUTING.md | 2 weeks ago | ||
LICENSE | 2 weeks ago | ||
NEWS | 2 weeks ago | ||
README.md | 2 weeks ago | ||
TODO | 2 weeks ago |
小组成员:
王雪飞 10225501435
马也驰 10215501408
TTL(Time To Live),即生存时间,是指数据在存储系统中的有效期。设置TTL可以使得过期的数据自动失效,减少存储空间占用,提高系统性能。
为什么需要TTL功能:
在LevelDB中添加TTL功能的方案:
在Put操作中,将过期时间戳与值一起存储。