> Mongita is to MongoDB as SQLite is to SQL it really isn't if it's written in python
I don't think it is whatever it's written in, because I can't imagine what it would mean? Unless there's a DBMS implementation called simply 'SQL' that I'm not aware of? (Or if Mongo calls its query language 'MongoDB'?) Seems like '.. to (My|Postgre)SQL' would be a better fit?
Show HN: Mongita is to MongoDB as SQLite is to SQL
11–20 of 95 posts
Re: Show HN: Mongita is to MongoDB as SQLite is to SQL
#12So, by their own benchmarks, unless you are doing totally random lookups of documents by identifier--and mostly reads, with very few writes--you should absolutely use SQLite with JSON values, which absolutely destroy this project in performance?...
Re: Show HN: Mongita is to MongoDB as SQLite is to SQL
#13> Mongita is to MongoDB as SQLite is to SQL it really isn't if it's written in python
Re: Show HN: Mongita is to MongoDB as SQLite is to SQL
#14> Mongita is to MongoDB as SQLite is to SQL it really isn't if it's written in python
Yeah, but, at least, with python, devs can prototype and verify, early and fast. Imagine implementing this in C/C++ or even Rust. You get extra layers of problems to handle in your brain.
Re: Show HN: Mongita is to MongoDB as SQLite is to SQL
#15In memory, how does perf compare to https://github.com/nodkz/mongodb-memory-server ?
Re: Show HN: Mongita is to MongoDB as SQLite is to SQL
#16So, by their own benchmarks, unless you are doing totally random lookups of documents by identifier--and mostly reads, with very few writes--you should absolutely use SQLite with JSON values, which absolutely destroy this project in performance?...
The project isn't about performance, it's about providing an embedded version of MongoDB - it clearly states that if you grow too large, then you can easily migrate to the full MongoDB. It also clearly states not to use it if you want a relational database.
SQLite is a production-grade DBMS: though it has fewer features compared to e.g. PostgreSQL, if those feature suffice, you can throw very sizable workloads at it.
Re: Show HN: Mongita is to MongoDB as SQLite is to SQL
#17There used to be something similar called NeDB
Re: Show HN: Mongita is to MongoDB as SQLite is to SQL
#18Earlier quoted context omitted.
Yeah, but, at least, with python, devs can prototype and verify, early and fast. Imagine implementing this in C/C++ or even Rust. You get extra layers of problems to handle in your brain.
Isn't it easy to prototype with MongoDB?
Re: Show HN: Mongita is to MongoDB as SQLite is to SQL
#19So, by their own benchmarks, unless you are doing totally random lookups of documents by identifier--and mostly reads, with very few writes--you should absolutely use SQLite with JSON values, which absolutely destroy this project in performance?...
The project isn't about performance, it's about providing an embedded version of MongoDB - it clearly states that if you grow too large, then you can easily migrate to the full MongoDB. It also clearly states not to use it if you want a relational database.
I think it would be very difficult to completely beat SQLite with a Python library. My goal wasn't to beat it but to have performance that's within an order of magnitude which I think I've achieved.
In my opinion, the MongoDB interface has a lot of advantages over SQL that make sense in a lot of use cases. Certainly, there are times when a traditional relational database is the right choice. But I do think Mongita fills a niche.
Separately, the JSON1 extension, which the top-level comment refers to, is nice technically but has a challenging interface IMHO https://www.sqlite.org/json1.html
Re: Show HN: Mongita is to MongoDB as SQLite is to SQL
#20> Mongita is to MongoDB as SQLite is to SQL it really isn't if it's written in python
I don't think it is whatever it's written in, because I can't imagine what it would mean? Unless there's a DBMS implementation called simply 'SQL' that I'm not aware of? (Or if Mongo calls its query language 'MongoDB'?) Seems like '.. to (My|Postgre)SQL' would be a better fit?
Mongita is only useful for Python developers.