6 ms·
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
by Rajiv_N 15y 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?
- martin_rusev 15y agoIt was Redis once :) But Redis is not a good database for storing Rails exceptions, that's why I replaced it with Mongo.
- Rajiv_N 15y ago:) Thanks for sharing your work. If you have the time could you elaborate on why Redis is not good for Rails exceptions?
- martin_rusev 15y agoBecause 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.
- Rajiv_N 15y agoGot it! Thanks for the explanation. Makes sense.