Category Archives: Ruby

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

Converting HTML to PDF

One of the common requirements we face across many Rails project is to convert HTML pages to PDF i.e. convert reports, tickets or any other page for that matter into the PDF format ‘as is’. What has made our job … Continue reading

Posted in Ruby | Tagged , | 6 Comments