3 ms·
Can't use it locally (yet?) but it's definitely an interesting move in the space. For my personal projects lately I've been defaulting to sqlite in dev, and hav
by fragmede 1y ago
Can't use it locally (yet?) but it's definitely an interesting move in the space. For my personal projects lately I've been defaulting to sqlite in dev, and having a database wrapper layer to use something else in prod.
- stronglikedan 1y ago> Can't use it locally I'm imagining some insane replication behind the scenes, where every write is happening concurrently on a different SQLite DB, and then merged together sequentially into some master DB.
- glommer 1y agowhy not? Turso is a fully local database, you can just download the shell and use it as you would use sqlite.
- fragmede 1y agoMore specifically, I didn't see any commits about multiple simultaneous writers having landed in main and it's not document as a feature in the release notes https://github.com/tursodatabase/turso/commits https://github.com/tursodatabase/turso/commits neither the prerelease https://github.com/tursodatabase/turso/releases/tag/v0.3.0-pre.1 https://github.com/tursodatabase/turso/releases/tag/v0.3.0-p... nor their latest release. https://github.com/tursodatabase/turso/releases/tag/v0.2.2 https://github.com/tursodatabase/turso/releases/tag/v0.2.2 The core/mvcc directory does have commits though, so maybe you can. https://github.com/tursodatabase/turso/commits/main/core/mvcc https://github.com/tursodatabase/turso/commits/main/core/mvc...
- glommer 1y agoYou just have to pass the experimental flag. I thought this was explained in the blog ?
- fragmede 1y agoI searched https://turso.tech/blog/beyond-the-single-writer-limitation-with-tursos-concurrent-writes https://turso.tech/blog/beyond-the-single-writer-limitation-... with ctrl-f for "download" and "--exp" and got no results for either. There was a link to a live demo webpage at the very end. Am I looking at the right blog? That's the one linked at the top of the page.
- glommer 1y agoThe flag is --experimental-mvcc, it is in the help for the shell. You are right that the blog failed to mention. I will get this fixed soon!! Thanks for noticing it.
- fragmede 1y agoAh there it is! Thanks, I'll play around with it tonight.
- glommer 1y agoThere is a lot of work that still needs to be done to make this production-ready, both from a performance and reliability point of view, as we did our best to convey on the blog. We truly appreciate you trying it out! Report any issues, please.