-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate possible migration to github.com/go-redis/redis #210
Comments
Or to https://github.com/rueian/rueidis which seems great but need to check whether it fits well our use case (especially PUB/SUB part - we currently have nice re-subscription implementation, hope it's possible to replicate with rueidis). |
Migrated to rueidis in #262 - next days I'll proceed with release and blog post about the migration. The draft of blog post is here: centrifugal/centrifugal.dev#18 |
v0.28.0 contains new Redis Engine implementation based on https://github.com/rueian/rueidis |
My initial quick measurements for asking stream top showed that we can get ~25% performance boost in Redis benchmarks if migrating from Redigo to github.com/go-redis/redis/v8. But this requires more effort to measure in various scenarios.
github.com/go-redis/redis also supports Redis Cluster and Sentinel so I believe we can migrate related parts too. The good thing is that those are supported by github.com/go-redis/redis natively while currently with redigo we are using 2 additional libs for this: github.com/mna/redisc and github.com/FZambia/sentinel.
Since we have pretty big Redis related code base we may want to migrate step-by-step.
The text was updated successfully, but these errors were encountered: