Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I was (am) using https://github.com/garyburd/redigo. We had to evaluate upgrading redis to master slave clusters and found that the above library does not support that and never intends to. That was a huge disappointment.
Hi u/jasonbx, thanks for sharing! I took this library into account to write a post about the adapter design pattern: https://www.hildeberto.com/2021/02/adapter-design-pattern-golang.html. I'm planning to write another post to show how easy it is to adopt another library with minimal changes in the code. Have you considered another library to solve your problem or are you still using Redigo? Btw, someone wrote this: https://github.com/wuxibin89/redis-go-cluster to work with clusters. Have you consider that?
After experimenting with Redigo, I'm now trying https://github.com/go-redis/redis, which is equally popular, but better documented.