TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

LMDB – First version of Redis written in Tcl

149 pointsby weeberabout 8 years ago

6 comments

dunkelheitabout 8 years ago
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 未加载
user5994461about 8 years ago
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 未加载
unwttngabout 8 years ago
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 未加载
js2about 8 years ago
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 未加载
SonOfLilitabout 8 years ago
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>
KasianFranksabout 8 years ago
Nice to see Tcl used here.