pcf.quasiparticle.aws.distributed_master_worker package

Submodules

pcf.quasiparticle.aws.distributed_master_worker.distributed_master_worker module

class pcf.quasiparticle.aws.distributed_master_worker.distributed_master_worker.DistributedMasterWorker(particle_definition)

Bases: pcf.core.quasiparticle.Quasiparticle

This Quasiparticle works for any distributed master worker technology. This quasiparticle makes sure the masters are all running before the worker nodes are stood up allowing the master config vars to be passed to the workers so they can connect on spin up.

flavor = 'distributed_master_worker'
set_parents()

Checks for the master ec2 instances and adds them as a parent to all other ec2 particles.

Module contents