https://github.com/queer/lace
Redis-backed Erlang node clustering and autodiscovery
https://github.com/queer/lace
Last synced: about 1 year ago
JSON representation
Redis-backed Erlang node clustering and autodiscovery
- Host: GitHub
- URL: https://github.com/queer/lace
- Owner: queer
- Created: 2017-12-01T17:20:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-21T00:03:46.000Z (about 7 years ago)
- Last Synced: 2025-06-09T22:58:48.622Z (about 1 year ago)
- Language: Elixir
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lace
Redis-backed Erlang node clustering.
- [x] Node autodiscovery
- [x] Redis persistence
- [x] Autoprune unreachable nodes
## Installation
Add the following to your `mix.exs`:
```elixir
def deps do
[
{:lace, github: "queer/lace"}
]
end
```
## Usage
Add the following to your application's supervision tree:
```elixir
children = [
{Lace.Redis, %{redis_ip: "127.0.0.1", redis_port: 6379, pool_size: 10, redis_pass: "a"}},
{Lace, %{name: "node_name", group: "group_name", cookie: "node_cookie"}},
]
```