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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Chiselstore: an embeddable, distributed SQLite for Rust

58 点作者 patrickdevivo超过 3 年前

6 条评论

malkia超过 3 年前
I&#x27;ve looked at the <a href="https:&#x2F;&#x2F;github.com&#x2F;chiselstrike&#x2F;chiselstore&#x2F;blob&#x2F;main&#x2F;proto&#x2F;proto.proto" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chiselstrike&#x2F;chiselstore&#x2F;blob&#x2F;main&#x2F;proto&#x2F;...</a> - and calling the service &quot;RPC&quot; is not great if this is going to be bundled with other gRPC services - why not call it &quot;chiselStore&quot; or something more concrete?<p>on a 2nd note, each method should have it&#x27;s own Request Response, and ideally they should be suffixed same way. Returning same proto for multiple methods might break future compatibility - e.g. what if AppendEntries needs to return somehing else than Void? - ideally you make it from the start to return an empty AppendEntriesResponse, and then you can extend that proto.<p><a href="https:&#x2F;&#x2F;developers.google.com&#x2F;protocol-buffers&#x2F;docs&#x2F;proto3#updating" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;protocol-buffers&#x2F;docs&#x2F;proto3#u...</a><p>(edit again, also the package should not be called just &quot;proto&quot;)
评论 #29576732 未加载
ryanworl超过 3 年前
Am I correct that this orders and makes SQL statements durable via Raft and then executes them serially against a local SQLite database?<p>How would you use this to perform a transaction, or at minimum a compare-and-swap operation against a row? There doesn&#x27;t seem to be any binding between a client and a connection for you to implement transactions here.
评论 #29573222 未加载
评论 #29574378 未加载
quaffapint超过 3 年前
Same idea as <a href="https:&#x2F;&#x2F;github.com&#x2F;rqlite&#x2F;rqlite" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rqlite&#x2F;rqlite</a> I presume but in rust vs go?
评论 #29573353 未加载
评论 #29573745 未加载
评论 #29573184 未加载
评论 #29574336 未加载
评论 #29574244 未加载
dochtman超过 3 年前
The announcement here talks more about the context:<p><a href="https:&#x2F;&#x2F;glaubercosta-11125.medium.com&#x2F;728187331f53" rel="nofollow">https:&#x2F;&#x2F;glaubercosta-11125.medium.com&#x2F;728187331f53</a><p>It also mentions rqlite and dqlite.
fulafel超过 3 年前
How&#x27;s the security and security defaults and are these documented somewhere? Are the &quot;cargo run&quot; examples safe to run as is in a networked environment without random people on the internet pwning your cluster? Is there confidentiality &amp; authentication in the inter node communications?
DeepYogurt超过 3 年前
Isn&#x27;t the whole point of SQLite to not be distributed?
评论 #29573451 未加载