TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Vettel – a tiny key value store that's faster than Redis (sort of)

2 点作者 japrozs超过 2 年前

1 comment

craig超过 2 年前
I had a quick look at the code to understand what (sort of) meant. It's appending to a file and then reading it back and looking for the key line by line so it's O(n). I'm not sure about redis internals but I imagine its using some search tree for saving to disk which will likely be O(log n). So in a benchmark with more data redis should win by exponential margins. Ofc if you are only storing 100s of keys then this is a good approach.