A high-performance Redis client for Go, inspired by Jedis, supporting clusters, pipelines, transactions, and distributed locks.
godis is a feature-rich Redis client library written in Go, designed to provide a familiar and efficient interface for Go developers working with Redis. It implements most Redis commands, including support for cluster, sentinel, pipeline, and transaction modes, and offers performance-optimized distributed locking. The library solves the need for a robust, Jedis-like Redis client in the Go ecosystem with built-in connection pooling and pub/sub functionality.
Go developers who need a comprehensive Redis client, especially those transitioning from Java's Jedis or requiring distributed locking with high performance. It is also suitable for developers working with Redis clusters, sentinels, or pub/sub patterns.
Developers choose godis for its Jedis-like API, which eases adoption for those familiar with the Java client, and its benchmarked performance advantages in distributed locking compared to alternatives like Redisson. It provides a stable, tested implementation with comprehensive Redis command support and efficient resource management through connection pooling.
redis client implement by golang, inspired by jedis.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implements most Redis commands including cluster, sentinel, pipeline, and transaction modes, as stated in the README, covering a wide range of use cases.
Benchmarked to be faster than Redisson—7 seconds vs. 18-20 seconds for 100,000 loops—with support for both single and cluster Redis modes, offering a performance edge.
Provides a similar method structure to Jedis, easing adoption for developers transitioning from Java, as highlighted in the description and quick start examples.
Includes efficient resource management through connection pools, demonstrated in the pool example, reducing overhead in high-concurrency scenarios.
The README explicitly notes 'other feature under development', indicating missing commands or functionalities that might be critical for some projects.
Documentation is primarily API references via godoc with no detailed tutorials or guides, which could slow down onboarding beyond basic usage.
Relies on third-party libraries like go-commons-pool, adding potential complexity and bloat compared to more lightweight or self-contained alternatives.
Has a smaller community and fewer integrations than competitors like go-redis/redis, which might affect long-term support and bug fixes.
godis is an open-source alternative to the following products: