In your experience, what is the best and the worse Redis library available in Go? I need these two examples to write a blog post. Thanks.

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • redigo

  • 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.

  • redis-go-cluster

    redis cluster client implementation in Go

  • 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?

  • 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.

    InfluxDB logo
  • Redis

    Redis Go client

  • After experimenting with Redigo, I'm now trying https://github.com/go-redis/redis, which is equally popular, but better documented.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts