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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

LMDB – First version of Redis written in Tcl

149 点作者 weeber大约 8 年前

6 条评论

dunkelheit大约 8 年前
This is really inspiring. Reminds me of the quote &quot;A complex system that works is invariably found to have evolved from a simple system that worked.&quot;<p>The interesting question of course is how to evolve a simple system into a successful complex system. One thing that seems important is nailing the right architecture early on - the simple system must contain all the right ideas in it and it is important to weed out bad ideas before they are entrenched in the code base. Still, planning the long-term evolution of a software system remains an arcane art to me. &quot;Listen to your users and do what is necessary at the moment&quot; is too simplistic.
评论 #14232019 未加载
评论 #14231583 未加载
评论 #14231685 未加载
评论 #14231742 未加载
user5994461大约 8 年前
This naming is so confusing.<p>For those not aware, LMDB is the memory mapped database that&#x27;s powering OpenLDAP. <a href="https:&#x2F;&#x2F;symas.com&#x2F;lightning-memory-mapped-database&#x2F;" rel="nofollow">https:&#x2F;&#x2F;symas.com&#x2F;lightning-memory-mapped-database&#x2F;</a>
评论 #14233031 未加载
评论 #14232454 未加载
unwttng大约 8 年前
As someone who worked for a company for a few years on a vast Tcl codebase, a company in which almost every engineer lamented the fact that they were working in an unused and unknown language, it warms my heart to see that it was used for this.
评论 #14232913 未加载
js2大约 8 年前
antirez mentions that this forks to save, but I&#x27;m not seeing that. The backgroundsave procedure makes a copy of db to dbcopy, but then never saves dbcopy. I wonder how much further the TCL implementation was extended before antirez switched to C.<p>BTW, I hadn&#x27;t heard of LLOOGG (the L in LMDB) before. It was this:<p>&quot;LLOGG was web service I (Salvatore Sanfilippo) and my co-founder Fabio Pitrola ran for seven years for free.&quot;<p><a href="https:&#x2F;&#x2F;github.com&#x2F;antirez&#x2F;lloogg&#x2F;blob&#x2F;master&#x2F;README.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;antirez&#x2F;lloogg&#x2F;blob&#x2F;master&#x2F;README.md</a>
评论 #14231629 未加载
SonOfLilit大约 8 年前
If you enjoyed reading this, you might enjoy reading git&#x27;s first self-hosted commit: <a href="https:&#x2F;&#x2F;github.com&#x2F;git&#x2F;git&#x2F;commit&#x2F;e83c5163316f89bfbde7d9ab23ca2e25604af290" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;git&#x2F;git&#x2F;commit&#x2F;e83c5163316f89bfbde7d9ab23...</a>
KasianFranks大约 8 年前
Nice to see Tcl used here.