Open Lachstec opened 1 month ago
Interface Design:
I made a branch and added the interface as described here. Feel free to make changes to it as you see fit.
It could be useful to factor out the sibling creation into a separate module / class / whatever. The creation would get a bit more specific to the underlying message broker and it could get messy if that is implemented in the main file.
@Lachstec good point... that's somehow what I meant when I said, that it might be interesting to have both, a message queue (like Rabbit) for tasks (e.g., creation and control of siblings) and an event-streaming (like Kafka) for state updates and synchronization. However, this increases complexity and maybe we don't want/need that.
The current version uses basic python message queues as exchange medium between siblings. Although it was convenient for the proof of concept, a more robust event streaming platform would be valuable.
TODO