| 1 |
Source: golang-github-mna-redisc |
| 2 |
Section: golang |
| 3 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 4 |
Uploaders: |
| 5 |
Thorsten Alteholz <[email protected]>, |
| 6 |
Guillem Jover <[email protected]>, |
| 7 |
Build-Depends: |
| 8 |
debhelper-compat (= 13), |
| 9 |
dh-sequence-golang, |
| 10 |
golang-any, |
| 11 |
golang-github-gomodule-redigo-dev, |
| 12 |
golang-github-stretchr-testify-dev, |
| 13 |
Standards-Version: 4.7.4 |
| 14 |
Homepage: https://github.com/mna/redisc |
| 15 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-mna-redisc |
| 16 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-mna-redisc.git |
| 17 |
XS-Go-Import-Path: github.com/mna/redisc |
| 18 |
Testsuite: autopkgtest-pkg-go |
| 19 |
|
| 20 |
Package: golang-github-mna-redisc-dev |
| 21 |
Architecture: all |
| 22 |
Depends: |
| 23 |
golang-github-gomodule-redigo-dev, |
| 24 |
golang-github-stretchr-testify-dev, |
| 25 |
${misc:Depends}, |
| 26 |
Description: redis cluster client |
| 27 |
This package contains a redis cluster client built on top of the |
| 28 |
redigo package. |
| 29 |
. |
| 30 |
The design goal of redisc is to be as compatible as possible with |
| 31 |
the redigo. As such, the Cluster type can be used as a drop-in |
| 32 |
replacement to a redis.Pool, and the connections returned by the |
| 33 |
cluster implement the redis.Conn interface. The package offers |
| 34 |
additional features specific to dealing with a cluster that may |
| 35 |
be needed for more advanced scenarios. |
| 36 |
. |
| 37 |
The main features are: |
| 38 |
- Drop-in replacement for redis.Pool (the Cluster type implements |
| 39 |
the same Get and Close method signatures). |
| 40 |
- Connections are redis.Conn interfaces and use the redigo package |
| 41 |
to execute commands, redisc only handles the cluster part. |
| 42 |
- Support for all cluster-supported commands including scripting, |
| 43 |
transactions and pub-sub. |
| 44 |
- Support for READONLY/READWRITE commands to allow reading data |
| 45 |
from replicas. |
| 46 |
- Client-side smart routing, automatically keeps track of which |
| 47 |
node holds which key slots. |
| 48 |
- Automatic retry of MOVED, ASK and TRYAGAIN errors when desired, |
| 49 |
via RetryConn. |
| 50 |
- Manual handling of redirections and retries when desired, via |
| 51 |
IsTryAgain and ParseRedir. |
| 52 |
- Automatic detection of the node to call based on the command's |
| 53 |
first parameter (assumed to be the key). |
| 54 |
- Explicit selection of the node to call via BindConn when needed. |
| 55 |
- Support for optimal batch calls via SplitBySlot.Alternatives |
| 56 |
- redis-go-cluster |
| 57 |
- radix v1 and v2 |