extra/

directory
v0.0.0-...-de4f82a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: MIT

README

radix-extra

Extra functionality built around the radix redis client. Here's the doc api links to available sub-packages:

  • pool - a simple, automatically expanding/cleaning connection pool.

  • pubsub - a simple wrapper providing convenient access to Redis Pub/Sub functionality.

  • sentinel - a client for redis sentinel which acts as a connection pool for a cluster of redis nodes. A sentinel client connects to a sentinel instance and any master redis instances that instance is monitoring. If a master becomes unavailable, the sentinel client will automatically start distributing connections from the slave chosen by the sentinel instance.

  • cluster - a client for a redis cluster which automatically handles interacting with a redis cluster, transparently handling redirects and pooling. This client keeps a mapping of slots to nodes internally, and automatically keeps it up-to-date.

Directories

Path Synopsis
Package cluster implements an almost drop-in replacement for a normal Client which accounts for a redis cluster setup.
Package cluster implements an almost drop-in replacement for a normal Client which accounts for a redis cluster setup.
The pool package implements a connection pool for redis connections which is thread-safe
The pool package implements a connection pool for redis connections which is thread-safe
The pubsub package provides a wrapper around a normal redis client which makes interacting with subscribe commands much easier
The pubsub package provides a wrapper around a normal redis client which makes interacting with subscribe commands much easier
The sentinel package provides a convenient interface with a redis sentinel which will automatically handle pooling connections and automatic failover.
The sentinel package provides a convenient interface with a redis sentinel which will automatically handle pooling connections and automatic failover.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL