Hacker News new | ask | show | jobs
by Rajiv_N 5310 days ago
I especially like the logging feature. Haven't had the chance to look at the code yet but how tightly coupled to mongodb is this? Would it be relatively easy to replace the store with redis?
1 comments

It was Redis once :) But Redis is not a good database for storing Rails exceptions, that's why I replaced it with Mongo.
:) Thanks for sharing your work. If you have the time could you elaborate on why Redis is not good for Rails exceptions?
Because at its best Redis is an in-memory database. That means saving log information to it ( the exceptions are log information after all ) will take RAM. And at some point you will have to migrate to bigger VPS just because of that. You can manage that with the expiring keys, but some people prefer to keep their logs for long time.
Got it! Thanks for the explanation. Makes sense.