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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ordered Key-Value Stores

40 点作者 timhigins超过 4 年前

11 条评论

jfoutz超过 4 年前
It&#x27;s late and I must be missing something (or maybe a lot). ordered by key? ordered by value? ordered by insertion&#x2F;update time? Ordered for enumeration? or ordered where I can provide my own search? binary search is great, but I can think cases with better performance lookups with a bias in one direction.<p>I guess there are two main things. 1. what does ordered mean? I can think of lots of cases where having access to order would be super helpful. How do I tag the thing(s) I care about for lookup&gt; 2. I&#x27;m not a super fan of go, but randomizing enumeration of maps was a really good move for avoiding inadvertent dependence on order.<p>I checked again, and I still don&#x27;t see what order &quot;means&quot; (safari on OS X. maybe it&#x27;s not rendering right?)<p>_edit_<p>after digging a little deeper, I guess I want to add 3 How are ties broken? Fastest result? Highest memory address?<p>Ordered KV would be super handy. But the devil is in the details, and I can&#x27;t find any details.
评论 #25621161 未加载
评论 #25621257 未加载
ergl超过 4 年前
There&#x27;s almost no content in the linked article, but I&#x27;m confused at the sentence &quot;there is none that meets all those requirements&quot; taking into account the &quot;software&quot; link[0] at the end with plenty of examples. FoundationDB, TiKV, or any variation of RocksDB &#x2F; LevelDB tend to include these features.<p>[0]: <a href="https:&#x2F;&#x2F;hyper.dev&#x2F;81aabee4001a47bf9c8bdf4475201ba7.html" rel="nofollow">https:&#x2F;&#x2F;hyper.dev&#x2F;81aabee4001a47bf9c8bdf4475201ba7.html</a>
joosters超过 4 年前
A suggestion for the author: If you start a web page with &#x27;Please bookmark the following address: <a href="https:&#x2F;&#x2F;okvs.dev" rel="nofollow">https:&#x2F;&#x2F;okvs.dev</a>&#x27; then you should probably put an explanation of <i>why</i> I should do that pretty soon after, don&#x27;t just leave it at that!
jonluca超过 4 年前
How is this upvoted so highly? The web page has very little information, and isn&#x27;t even complete
评论 #25625243 未加载
qppo超过 4 年前
This page looks incomplete.<p>Tangent: I&#x27;m very interested in implementations details for ordered key-value stores. B trees and their variants like B+ trees are pretty straightforward conceptually but there seems to be scarce resources on the nitty gritty details past find&#x2F;insert&#x2F;delete.<p>For example I&#x27;m interested in redistribution algorithms, duplicate key semantics, and merging. The relative naivety of their implementation can have a large impact on performance&#x2F;storage depending on how the store is used.
sfvisser超过 4 年前
PostgreSQL can easily store ordered key&#x2F;value pairs.<p>It’s not the only thing it can do, but it’s still very good at it.
评论 #25620774 未加载
评论 #25621736 未加载
rossmohax超过 4 年前
FoundationDB is an ultimate KV
评论 #25621065 未加载
timhigins超过 4 年前
Hey all, I&#x27;ve been seeing confusion in the comments, so I&#x27;ll link to official FoundationDB docs that do a better job of explaining these concepts.<p>To get a high level overview and see what you can do: <a href="https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;features.html" rel="nofollow">https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;features.html</a> <a href="https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;design-recipes.html" rel="nofollow">https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;design-recipes.html</a><p>Then to dive in a bit: <a href="https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;data-modeling.html" rel="nofollow">https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;data-modeling.html</a> <a href="https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;developer-guide.html" rel="nofollow">https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;developer-guide.html</a> (Subspaces, Directories, and Transactions)<p>Also, the section on Anti-Features is interesting: <a href="https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;anti-features.html" rel="nofollow">https:&#x2F;&#x2F;apple.github.io&#x2F;foundationdb&#x2F;anti-features.html</a>
评论 #25622761 未加载
YankeeKiwi超过 4 年前
Isn’t this just a key value store with a seperate contiguous index?
shaicoleman超过 4 年前
Redis also has sorted sets<p><a href="https:&#x2F;&#x2F;redis.io&#x2F;topics&#x2F;data-types#sorted-sets" rel="nofollow">https:&#x2F;&#x2F;redis.io&#x2F;topics&#x2F;data-types#sorted-sets</a>
rapsey超过 4 年前
I did not see TIKV page mention anywhere about being ordered.
评论 #25621907 未加载