errbit/errbit — pull request #113 by martinciu (2011-10-20 09:27:41+00:00)
Title: Performance tweaks

My app sometimes produces a lot of errors and I have performance issues then. To make it work I had to do some performance tweaks.

This is what I did in this fork:
* replace will_paginate with amatsuda/kaminari - it creates mongodb queries with limit and skip
* add chache for notice attriburtes (hosts, messages, user agents) on Problem
* add comments counter cache on Problem
* add newrelic_rpm for developemnt

Before it tooke 10-15 seconds to load a notice, now it loads in 300ms.

You need to run migrations after update the code.

I hope I didn't break anything :)