kquick / Thespian

Python Actor concurrency library
MIT License
189 stars 24 forks source link

[EXAMPLE] Thespian director - dockerized cluster working example #78

Open htarnacki opened 3 years ago

htarnacki commented 3 years ago

hi, during my personal work i prepared some example project that uses Thespian and has following features:

requirements:

description of steps which happen after running an example:

usage:

# unpack archive file
cd ./thespian/example
vim ./docker/worker-node/THESPIAN_DIRECTOR_DIR/convleader.cfg
# change string "x.x.x.x" to your real external ip adress (not local host!. Do not remove port from string!)
./gradlew install
./gradlew build
./start

# observe logs:
# ./docker/leader-node/logs/leader.log
# ./docker/worker-node/logs/worker.log

./stop

@kquick feel free to use it as an example in Thespian project if you find it usefull

thespian-example.zip