redis_service_manager
Version, currently 3.0.019 versions
- 3.4.1latestMay 26, 2026
- 3.4.0not indexedMay 26, 2026
- 3.3.1not indexedMay 26, 2026
- 3.3.0not indexedMay 26, 2026
- 3.2.0not indexedMay 26, 2026
- 3.1.1not indexedMay 26, 2026
- 3.1.0not indexedMay 26, 2026
- 3.0.0not indexedMay 26, 2026
- 2.1.1not indexedMay 26, 2026
- 2.1.0not indexedMay 26, 2026
- 2.0.1not indexedMay 26, 2026
- 2.0.0not indexedMay 26, 2026
- 1.2.0not indexedMay 26, 2026
- 1.1.5not indexedMay 26, 2026
- 1.1.3not indexedMay 26, 2026
- 1.1.2not indexedMay 26, 2026
- 1.1.1not indexedMay 26, 2026
- 1.1.0not indexedMay 26, 2026
- 1.0.0not indexedMay 26, 2026
github.com/place-labs/redis_service_manager
service discovery using redis
2 stars
0 dependents
License: MIT
Nothing has been indexed for 3.0.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
redis_service_manager:
github: place-labs/redis_service_manager
version: ~> 3.0.0Then run:
shards installshard.yml
No shard.yml has been indexed for 3.0.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# Redis Service Manager
[](https://github.com/place-labs/redis_service_manager/actions/workflows/CI.yml)
Maintains a list of services in a cluster and tracks their ready state after a rebalance.
For use in crystal lang projects.
## Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
redis_service_manager:
github: place-labs/redis_service_manager
```
2. Run `shards install`
## Usage
```crystal
require "redis_service_manager"
# TTL should be number > 3 that is not divisible by 3 to account for process load
# the manager will check-in with the cluster every `ttl // 3` seconds
manager = RedisServiceManager.new("service_name", "http://service:1234/location", redis: "redis://localhost:6379", ttl: 4)
# a rebalancing event occurs when a change to the cluster is detected
# the cluster will only become ready once all nodes have marked themselves as ready
# so make sure you call ready (critical function)
manager.on_rebalance do |version, nodes|
puts "REBALANCING"
manager.ready(version)
end
# this callback is only fired on the cluster leader
manager.on_cluster_ready do |version|
puts "CLUSTER READY"
end
manager.start
```
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
3.0.0- Tagged
- May 26, 2026
- Commit
4aeea9bad153- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/place-labs/redis_service_manager
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 19