Answer the question
In order to leave comments, you need to log in
When to use - redis or memory in mysql?
1) When would you use redis to store cache data (or not cache), and when would storage engine = MEMORY (in MySQL) ?
----
2) there is another curious crutch - InnoDB on RAMdisk , who thinks about this?
Answer the question
In order to leave comments, you need to log in
In which cases would you use redis to store cache data (or not cache), and in which storage engine = MEMORYPersonally, I - probably in all cases in which Redis is suitable for this. Partly due to the fact that projects that require caching of this level are mainly (* specifically in my practice, in fact - this does not mean anything) are completed with Postgres.
2) there is another curious crutch - InnoDB on RAMdisk , who thinks about this?In my opinion, the decision level "so-so". I don't like this idiom.
redis is probably faster.
memory mysql - you can work not only as a key-value, but also make different selections / sorting / grouping, etc.
radish also has some data structures besides key-value, but others, far from those that relational databases provide (they still need to be studied and used to).
so the choice is either simplicity and speed or sql functionality.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question