Skip to content

aalness/go-redis-pubsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-redis-pubsub

Build Status

This library is a small specialized Go client for Redis pub/sub. I'm using it to support real-time high-throughput messaging between server instances when the expected channel count is large and the subscription pattern is very dynamic.

It's implemented using redigo.

Features

  • Manages a subscription pool on behalf of the user to allow for concurrent channel subscription processing and automatic reconnection with exponential backoff.
  • Attempts to mitigate SUBSCRIBE / UNSUBSCRIBE thrash by delaying unsubscription via a timer mechanism.
  • Manages a send buffer and worker pool with the help of the redis.Pool implementation.
  • Provides a handler callback interface for both subscribers and publishers.

About

Redis pub/sub client in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages