18 points · by chocolatejs · 13y ago · 20 comments
I very much support NoSQL (schemaless, really) databases on SQLite, as it's a great RDBMS and schemaless databases are very handy for various things. I'd love an embedded Redis, but this is pretty much the second best thing.
This particular one is for Android ... but I had/have plans on creating a version for objective-c and C# (for Xamarin). The idea is to have a cross-platform and dead simple to use schemaless data-store for mobile devices at the ready :)
On a slow platform (ok, an iPhone!) serialization of a 20 field object to a file is approximately 50x faster than running an update statement against SQLite.
You are giving up a LOT of performance, even with a platform that's relatively fast, such as SQLite.
Dealing with performance, ChocoDB is currently fast enough for me (2x times slower that classic SQLite ; my first version was 8x slower!)
they implement couchdb's api and replication, but are implemented in localStorage / sqlite (respectively).
ChocoDB wants to (re)experiment new ways of dealing with database. It want to keep it simple and accessible.
I would say that my objective with ChocoDB is to make it accessible and useful to people who want to manage database structures and queries in a more natural way.
I want the database to help manage different types of relations: inclusion, group, structure, association...
Key/value is simple but it does not help to manage relations. Relational DB don't either help to manage different types of relations.
You can of course manage all those relations in a relational database but the job is done by you, not by the database.