Answer the question
In order to leave comments, you need to log in
Is it worth storing data in Redis/Memcached in this case?
There was a need to write a bot for a social network, the bot has a huge number of all sorts of menus.
The question arose - where should I store the last selected menu / action? Should I use something like Memcached/Redis? If we take into account the fact that the user can end the correspondence at any time, and the data will still remain in RAM.
Or is there some more reasonable alternative?
Thanks for the replies.
Answer the question
In order to leave comments, you need to log in
Radish, namely its hash structure is quite suitable and convenient. And I would choose it if the radish is already used somewhere in other roles in the project. Memcache(ed) - no, if you don't want to lose data on reboot.
reasonable alternatives - relational databases
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question