daskos / mentos

Fresh Python Mesos Scheduler and Executor driver
Apache License 2.0
18 stars 3 forks source link

Adding Proper State Management akin to zoonado and aiozk #5

Closed Arttii closed 7 years ago

Arttii commented 7 years ago

Adding proper state transitions to transparently understand what state the driver is in at the moment.

https://github.com/wglass/zoonado/blob/master/zoonado/states.py

Come to think of it, there are a bunch of patterns, that could be stolen from zoonado, to make the code a bit cleaner, specifically the reconnect and discovery semantics.

Arttii commented 7 years ago

Decided to close this and initiate a proper refactor of the code. Moved to #6