Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


> 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.


why not? Turso is a fully local database, you can just download the shell and use it as you would use sqlite.


More 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

neither the prerelease

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

The core/mvcc directory does have commits though, so maybe you can.

https://github.com/tursodatabase/turso/commits/main/core/mvc...


You just have to pass the experimental flag. I thought this was explained in the blog ?


I searched 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.


The 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.


There 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.


Ah there it is! Thanks, I'll play around with it tonight.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: