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.

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

2 pointsby losfairalmost 3 years ago

1 comment

mumoshualmost 3 years ago
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 未加载