My Experience with mongoDB
I fell in love with MongoDB the first time I created a record. It was absurdly simple.
13 Oct 2023

I fell in love with MongoDB the first time I created a record. It was absurdly simple.
I was building a chat application to learn Node.js. MongoDB on Debian. RoboMongo for management. The whole stack felt lightweight and fast.
Why MongoDB clicked for me
Coming from relational databases, the freedom of a document store was refreshing. No rigid schemas. No complex joins. Just JSON-like documents that map naturally to how applications actually work.
Here's what makes it compelling:
- Schemaless design. One collection can hold documents with completely different structures. This flexibility is powerful when your data model is evolving.
- Clear object structure. What you see is what you get. No ORM translation layer needed.
- Deep query capabilities. The query language is nearly as powerful as SQL for most use cases.
- Easy to scale. Horizontal scaling with sharding is built into the architecture.
- Fast in-place updates. Working set stays in memory for quick access.
Where it shines
- Content management systems
- Real-time applications
- Mobile and social platforms
- Any domain where your data model changes frequently
The trade-off
MongoDB isn't a silver bullet. If you need strict relational integrity, complex transactions across collections, or your data is deeply relational by nature -- a traditional RDBMS might serve you better.
I've used MongoDB in production for years now. For the right use case, nothing else comes close in terms of developer velocity and flexibility. But choosing the right database is always about understanding your data and your access patterns first.
AI Transformation for Organisational Leaders
For directors, heads of function and founders: eight live evening sessions with Ehsan Gazar and Anoosh Zeighami, ending with a one-page 2027 AI plan for your organisation, built on a real workflow and ready for your leadership team.
$1,495, or $1,045 with code EARLYBIRD until 23 Oct.
View the live cohortKeep reading
- Your AI Pilot Saved Time. Why Didn't the Business Change?
- A Chatbot Answers. An Agent Does the Work. Here Is the Difference
- Why AI Can Crack a 90-Year-Old Maths Problem and Still Get Your Invoice Wrong
- I Use AI Every Day: Why I Built a Place to Practise the Old Problems
- How I Find Problems Worth Solving
- Notes on Software Quality