<p>I'm looking to get a better grasp on how boltdb works under the hood. Reading the source is great but I'm looking for something to help understand some of the concepts/rationale behind the code. </p>
<p>A walkthrough type piece is what I'm looking for - but any lower level explanations would be great too. </p>
<hr/>**评论:**<br/><br/>tv64738: <pre><p>I did a meetup talk about the big picture, it doesn't explain the low-level details but I tried to explain <em>why</em> things are the way they are. It might help. <a href="http://eagain.net/talks/go-nuts-and-bolts/" rel="nofollow">http://eagain.net/talks/go-nuts-and-bolts/</a></p>
<p>I do have a walkthrough of some code <em>using</em> Bolt, intended as a way to bootstrap understanding of Bolt and FUSE: <a href="http://eagain.net/talks/bolt-mount/" rel="nofollow">http://eagain.net/talks/bolt-mount/</a></p>
<p>Apart from those, if you have any specific questions, maybe try asking those instead? I don't think there exists any full write-up of the file format or such.</p></pre>PaluMacil: <pre><p>I'd be surprised too, but it would be a fantastic topic.</p></pre>worhttiyawa1: <pre><p>Thanks! I'll check these out. </p></pre>bettersignup: <pre><p>It started as a port of LMDB, so I suggest that you look into the literature <a href="https://symas.com/lmdb/technical/#pubs" rel="nofollow">https://symas.com/lmdb/technical/#pubs</a></p></pre>everdev: <pre><p>FYI, BoltDB (<a href="https://github.com/boltdb/bolt" rel="nofollow">https://github.com/boltdb/bolt</a>) is no longer maintained. The community started a new project called bbolt: <a href="https://github.com/coreos/bbolt" rel="nofollow">https://github.com/coreos/bbolt</a></p></pre>alasijia: <pre><p>No, BoltDB is still maintained, but only for bug fixing. It is just no new features.</p></pre>joncalhoun: <pre><p>Thank you for adding this. It bugs me when people act like the project is dead just because the creator decided it has accomplished the goals it set out to accomplish and no longer needs new features.</p></pre>everdev: <pre><p>In the README, he says:</p>
<blockquote>
<p>"even simple changes require hours and hours of careful testing and validation. Unfortunately I no longer have the time or energy to continue this work. ... I feel that leaving it in its current state is the most prudent course of action."</p>
</blockquote>
<p>If he wants to claim that the project isn't dead, it might be helpful to reword the README to that effect and who is maintaining it. It sounds like he doesn't want to maintain it and instead links to bbolt which is actively maintained.</p>
<p>And I don't think the two are mutually exclusive. A project can be complete and also no longer maintained which it sounds like is the case here.</p></pre>tv64738: <pre><p>If you find a bug, it's highly likely to get fixed. Worst case scenario, you can literally pay me to fix it ;)</p></pre>
Does anyone know of a resource that explains boltdb internals? A walkthrough of the code base?
blov · · 426 次点击这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传