RxDB – Local JavaScript-Database
github.com
github.com
sqlite (from their website) "SQLite is a self-contained, high-reliability, embedded, full-featured, public-domain, SQL database engine. SQLite is the most used database engine in the world."
When I click on a link I see a nodejs application with a bunch of info on how to use it. No justification or details on implementation, or how real problems were solved.
How portable is RxDB (PouchDB)? Can you run it on a embeded device without a browser? How full featured is it? Is it crash safe?
For instance see how sqlite is tested https://www.sqlite.org/testing.html
Finally how is this any better than simply using the databases built into the browsers, like html5 storage?
Server side rxjs db... I'm not sure what that would be.
I found the "key compression" feature to be an amusing micro-optimization. It truncates names of keys, making DB migrations tricky. There are better ways to save more bytes, namely by using an actual compression algorithm.
Does RxDB handle persistence to disk easily?
> corruptAlertThreshold (optional): between 0 and 1, defaults to 10%. NeDB will refuse to start if more than this percentage of the datafile is corrupt. 0 means you don't tolerate any corruption, 1 means you don't care.
I personally don't want a database that "allows" corruption at any level. I understand that there are going to be bugs, but this seems different to me.
Im not really very clued up in this area though. Does the way NeDB saves data (serialised json to plain text files) increase the chances of corruption?
I don't really know how I'd handle a corrupt data file
It doesn't appear to support SQL. The word "SQLite" isn't anywhere on the repo. And, this is a client side browser database...sqlite is not.
I do think there's a gap for a sqlite-like cross platform native "in a file" nosql-db however..
I should think it's referring to WebSQL, which I understand was just SQLite integrated into the browser.