I'm not an expert on Redis, but from what I have compiled, both are quite different. Redis:
- It is not a relational database (no fancy data organization).
- Saves everything in memory (faster, less space, maybe less safe in case of failure)
- Less commonly used on different web hosts (unless you accept yourself)
I think that you can use Redis for those cases when you have a small amount of data that does not need the relational structure that MySQL offers and requires quick access. This can be, for example, session data in a dynamic web interface, which must be accessed frequently and quickly.
Redis can also be used as a cache for some MySQL data that it will access very often (i.e., load it when the user logs in).
I think that you are asking the question incorrectly, you should ask yourself which one is more suitable for the application, and not which application is suitable for the system;)
Thomas Oct 19 '10 at 9:16 2010-10-19 09:16
source share