3 ms·
I'm one of those people who come in and comment about MongoDB, positively. My first "stack" was LAMP, in 2012 when I learnt how to use it, it was: - a JSON sto
by nevi-me 9y ago
I'm one of those people who come in and comment about MongoDB, positively. My first "stack" was LAMP, in 2012 when I learnt how to use it, it was:
- a JSON store that works well with NodeJS
- a geospatial database (yea, it has what I need) that was "easier" to work with
- a database that made it easier for me to change my schema (if you just throw data at it, garbage in, garbage out).
Over the years, I've followed development, and adopted new features to make my life easier.
- I was one of the people who were excited about full GeoJSON support in the 2.* days, because that's something I depended on.
- I've tailed the oplog for as long as I remember (never needed Redis), and have been learning about change streams (announced in 3.6) with the hope of submitting a PR to Apache Beam to support them.
- I adopted a lot of the aggregation framework (Asya Kamsky from MongoDB personally helped me a lot)
- The last time I migrated data from MongoDB was when I turned on WiredTiger in 3.0.*
My little replica has been up for as long as I remember, the only time I have downtime is when restarting my server.
When I start a new project these days, I still go to Mongo, because what held true in its early days still holds. It's quick to get something started. Yeah, there's $lookups, transactions in future; I've just leveraged features as they become available. I have Postgres in my stack, which runs TimescaleDB and is a backing store for my Gitlab instance.
Would I use MongoDB professionally? It depends on the use-case. Over the past 2 years I've worked with Oracle, SAP HANA, Teradata, Hive+Impala, etc. From OLTP to OLAP, but once in a while when I find it quick to, I still use MongoDB, and when I have it my way, I don't later migrate elsewhere.