I have recently been looking for highly available distributed alternatives for the standalone MySQL and standalone Redis in my project. After testing, replacing my MySQL with TiDB went relatively smoothly. I think it would be best if there were middleware compatible with Redis based on TiKV. After some research, I couldn’t find a suitable one. I would like to ask everyone if you could share the solutions you are currently using, or if my approach is not very feasible? Thank you!
PS: For distributed Redis-compatible solutions not based on TiKV, it seems that kvrocks is still quite active, but it requires setting up another system, which feels similar to using Redis Sentinel or cluster mode.
Thank you! I’ve already read this and tried the solution mentioned in the article, but I encountered some problems that I can’t seem to solve on my own recently. That’s why I’m seeking help here, and I don’t dare to say that the solution I tried is correct ^_^.
@ffeenn Thank you! This is an article written by the author of Tidis, but in my scenario and when testing with Python alone to write more than 20,000 entries into a sorted set zset, I encountered issues where I couldn’t write and some errors that I couldn’t resolve.
The reason I didn’t mention this in the topic is that I failed in my attempts and wanted to see if anyone has used it in production or has other solutions. Sorry!
Hmm, I’ve been driven crazy by this problem these past few days ^_^, now I just want to dive in and figure out the issue I’m facing!
Additionally, regarding this alternative solution, is it feasible? For instance, if I really solve the current problem, will it be reliable in terms of performance and such?
Currently, TiDB is used to replace MySQL without any issues.
It is a middleware built on TiKV to be compatible with the Redis protocol, but I haven’t found a suitable solution.
Hmm, I know about Titan. It’s a similar project that’s no longer active. Plus, my understanding of it isn’t sufficient, so I’m not confident I can handle it.
If there are no other options, I’ll temporarily focus on resolving some issues that arise when using Tidis.