The goal of this project is to demonstrate how to use Erlang distribution to build fault-tolerant applications.
- Given the pairs provided by user - track it's prices in fault-tolerant fashion.
- Do not use external tools
- Try not to process the update twice
iex --name tracker1@127.0.0.1 --cookie test -S mix
iex --name tracker2@127.0.0.1 --cookie test -S mix
iex --name tracker3@127.0.0.1 --cookie test -S mixIn docker:
docker build -t price_tracker:latest .Or pull it from ghcr:
docker pull ghcr.io/maslowalex/price_tracker:latestThen run the tracker:
```bash
docker run --rm -it \
-e RELEASE_DISTRIBUTION=name \
-e RELEASE_NODE=tracker1@127.0.0.1 \
-e RELEASE_COOKIE=test \
price_tracker:latest /app/bin/price_tracker start_iex