How we use Redis at Bump
devblog.bu.mp
devblog.bu.mp
How much RAM? How many instances per server? How many servers?
I like Redis because it's simple enough that I feel I easily understand what's going on (i.e. performance is predictable), yet powerful enough to do pretty much everything I want.
From a productivity point of view, the only scenarios that come to mind in which I've found myself thinking a relation database would be better are:
1. Indices: In scenarios where you could use an index with a relational database you need to create and manage this by hand in Redis. This takes time, and increases application complexity.
2. Transactions: They are far less flexible in Redis. Effectively you must get/WATCH all your data before entering a MULTI/EXEC block for setting. I've found organizing code for this can sometimes be very constraining. Of course on the upside, Redis is forcing you to be efficient.
App node goes down? Meh. If it's important, it'll get submitted again.
""" [persistence] This is something that every database has trouble with and Redis is no exception. """
is supposed to mean. To me it seems that most databases deal with persistence just fine.
(We're still using Redis :-)