Skip to content

maslowalex/price_tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PriceTracker

The goal of this project is to demonstrate how to use Erlang distribution to build fault-tolerant applications.

Problem statement

  • 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

How to run

iex --name [email protected] --cookie test -S mix
iex --name [email protected] --cookie test -S mix
iex --name [email protected] --cookie test -S mix

In docker:

docker build -t price_tracker:latest .

Or pull it from ghcr:

docker pull ghcr.io/maslowalex/price_tracker:latest

Then run the tracker:


```bash
docker run --rm -it \
  -e RELEASE_DISTRIBUTION=name \
  -e [email protected] \
  -e RELEASE_COOKIE=test \
  price_tracker:latest /app/bin/price_tracker start_iex

About

Exercise in distributed Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published