Category Archives: MongoDB

A Simple Go Web App on Heroku with MongoDB on MongoHQ

Go is an extremely clean and fun language to work with and has a bunch of handy, modular, well documented packages out of the box. We can easily build a small web app using pure Go for handler functions, the … Continue reading

Posted in MongoDB, Tutorials | Tagged , , , | 5 Comments

Mongoid and the MongoDB Aggregation Framework

MongoDB introduced the aggregation framework since Version 2.2 but the power of the aggregation framework has only been tapped in Mongoid only since 3.1.0. Even today in the latest version (currently v4.0.0), the aggregation framework is used only for some … Continue reading

Posted in MongoDB, Ruby | Tagged , , | 2 Comments

MongoDB Map Re-Reduce and joins – performance tuning

“Why do we use map reduce in MongoDB? Cos it doesn’t support joins.” –  And everybody believes that now! I decided that it was time to try something different. I was amazed to see how little there is on the net … Continue reading

Posted in MongoDB, Ruby | Tagged , , | Leave a comment

Amazon EC2 and MongoDB configuration for great performance

Sometimes, we prefer using Amazon EC2 directly for our Rails stack. No offense  to Heroku but we need a more controlled environment; and no offense to EngineYard as they don’t support MongoDB on their environment as yet. We were faced … Continue reading

Posted in MongoDB, Ruby | Tagged , , , | 4 Comments