Skip to content

michalkaptur/rabbit_distributor

Repository files navigation

what's this all about

sandbox project, just to:

  • get a grasp about RabbitMQ
  • try pseudo-multi-host (docker-compose) setup on CircleCI
  • create a gist of basic pytest framework for component tests
  • develop a simplistic algorithm implementation, which scales horizontally (stateless workers)
  • get those python UTs running on CircleCI

setup

docker run -itd --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management
virtualenv vnev
source venv/bin/activate
pip3 install -r requirements.txt

dev

pip3 install -r requirements-dev.txt
pytest

run

./worker.py & ./worker.py & ./worker.py &
./rabbit_distr.py
kill $(jobs -p)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages