pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
102 stars 17 forks source link

Stand alone `ahabd` service tree #492

Open goodboy opened 1 year ago

goodboy commented 1 year ago

As part of pikerd dev and test, we need to often stop and restart the service tree a lot to run new code in various backend layers of our stack (eg. data feeds, history mgmt, clearing, and even for UI stuff) which means we stop and start ahabd supervised containers just as often. This is generally slower and unnecessary since we aren't (as often) testing new code inside the managed containers' images.

This proposes creating a separate actor tree with ahabd as the root actor which allows for long lived container run lifetimes despite pikerd being restarted more frequently during dev.

Some arch and design ideas, and questions:


ToDos for first draft: