Erlang dockerized Producer-consumer

Presentation

This is a minimalistic example of an Erlang distributed Producer-consumer program. The purpose of this project is mainly the communication of Erlang processes through Docker container.

File structure

Each of the three actors has a dedicated folder, Erlang file and Dockerfile. The Docker images can be found on Docker hub.

Instructions

docker-compose up -d
  • When done, audit the logs of any of the three containers: <container_name> can be anything between producer.com, consumer.com or buffer.com
docker logs -f <container_name>
  • You should be able to see the state of the container.