dchackett / taxi

Lightweight portable workflow management system for MCMC applications
MIT License
3 stars 1 forks source link

Taxi should only talk to Dispatch #26

Closed etneil closed 6 years ago

etneil commented 7 years ago

and Dispatch talks to Pool, to complete our Taxi analogy.

dchackett commented 6 years ago

This is now as enforced as it can be.

run_taxi still needs to instantiate a Dispatcher, a Pool, and a Queue, and to mediate their intercommunication. Otherwise, swapping out a Pool or a Queue requires editing the other two objects, which ruins the modularity.