Skip to content
loading...

What are favorite features of MongoDB?

foresthoffman profile image Forest Hoffman twitter logo github logo ・1 min read

Hey y'all! 👋

If you use MongoDB, for work or side-projects, what are your favorite features? What makes it worth using, for you?

Likewise, what are you least favorite features? What's a real pain in your backside?

I'm curious how other folks experiences have been!

Cheers!

twitter logo DISCUSS (5)
Discussion
markdown guide
 

c# guy here. coming from a sql+entity framework background, the learning curve for mongodb was massive for me. but I'm never going back to that god-aweful tables+columns+rows nightmare again. my apps don't need an ORM layer anymore. thinking in objects/entities all the way down to the DB is a huge convenience. it's super fast for most use cases. the aggregation framework can run circles around sql queries imho. sharding/ replicating is easy enough. i developed my own library on top of the official mongo driver simplifying the API and adding some features such as migrations, fuzzy text search, gridfs alternative, easy relationships, etc. I've written a few articles about those here on DEV if anyone's interested.

 

I'll have to take a look at those articles!

 

I found a use case to replace a Postgres database of open data sources I was maintaining for my job. The data was being pulled from a few sources into Mongo, but it took a lot of time to process and create tables and load the data where I wanted it. I switched to mongo, mostly using the PyMongo API. It took me an afternoon to watch some videos get it installed, and rewrite a half dozen pipelines to load the data into MongoDB.

I loved that I was able to learn enough to get what I needed out of it in a few hours, and haven’t needed to go back into it since. I am also able to add new data sources faster than I used to, so I am way more productive.

 

That's great Peter! Finding a more efficient solution always feels amazing.

The lower barrier to entry is also very nice.

 

I like it cause it works well with Node/Express

Classic DEV Post from Aug 6 '19

What to put in your portfolio as a beginner web dev

Forest Hoffman profile image
Full Stack Engineer. Golang Engineer at The Home Depot. Musings about Go, TypeScript, Node.js. My thoughts are my own.