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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Mvsqlite – Distributed, MVCC SQLite That Runs on FoundationDB

2 点作者 losfair将近 3 年前

1 comment

mumoshu将近 3 年前
Awesome! I&#x27;ve been wishing something like FDB&#x27;s record-layer w&#x2F;o Java&#x2F;JVM and this has a lot of potential.<p>I have a question though- How does it handle conflicts within a sqlite DB and among multiple sqlite DBs?<p>I believe FDB maintains strict serializability by detecting conflicts among concurrent transactions by checking conflict ranges.<p>I read the doc and the mvstore code and perhaps it&#x27;s working by writing the deltas of changed pages with the read version obtained at the sqlite transaction creation?<p>If that&#x27;s the case, I&#x27;m still unsure what you added to the conflict ranges other than the deltas of the pages. To make it actually serializable, you&#x27;d need to add conflict ranges for all the pages that are `select`ed within the sqlite transaction?
评论 #32286108 未加载