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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Benchmarking BDB, CDB and Tokyo Cabinet on large datasets

41 点作者 anuraggoel将近 16 年前

5 条评论

vicaya将近 16 年前
Sorry, but 500MB DB size is a tiny dataset these days (anything < 1GB is tiny, < 4GB is small, < RAM on a single node (~8GB-64GB) is medium, < Disks on a single node (~128GB to a few TB) is large, huge dataset requires multiple nodes and typically above 128TBs.)
评论 #622430 未加载
asb将近 16 年前
It would be nice if DJB would release CDB under the public domain like he has now done with most of his other software. However, there's a great public domain implementation by Michael Tokarev I'd recommend: <a href="http://www.corpit.ru/mjt/tinycdb.html" rel="nofollow">http://www.corpit.ru/mjt/tinycdb.html</a>
评论 #622595 未加载
评论 #623360 未加载
smanek将近 16 年前
In my experience, the downside of BDB is simply the license. There is no way for me to use it in my program (and distribute my program) without opening up my source. I can't simply 'query' a BDB server - by using BDB at all I have to link to it and also open source my own code as part of the Sleepycat License (or so I've been told - IANAL).
评论 #622466 未加载
评论 #622871 未加载
rcoder将近 16 年前
I'm a bit surprised at the poor showing of Tokyo Cabinet in this test, given the amount of buzz it's gathered in the last few months, but the CDB results honestly don't surprise me in the least -- it's a special-purpose datastructure wrapped in a thin library that just <i>smokes</i> any other DB type if your workload allows for a complete rebuild of the database on each update.
评论 #622691 未加载
评论 #622471 未加载
antirez将近 16 年前
It's a shame there is not Redis among the tested KV DBs. I guess the networking layer is not an option in this specific use case.