Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a rough system diagram from my notebook
The entities represented I believe are the bare minimum number of services necessary to make things roughly work. The idea being that everything effectively orients around the eventbus, and "extensibility" means tuning into or publishing events rather than in-memory anything. Fixes #20
- Loading branch information
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
digraph { | ||
label="Otto system design"; | ||
|
||
node[shape="box", style="rounded"] | ||
|
||
node[shape="box", style="square"] | ||
orchestrator; frontend; datastore; objectstore; webhooks; agents; | ||
node[shape="parallelogram", style=""] | ||
eventbus; | ||
|
||
webhooks -> eventbus[color="blue", label="write events"]; | ||
eventbus -> frontend[color="red", label="subscribe to live updates"]; | ||
|
||
orchestrator -> datastore[color="blue", label="create runs"]; | ||
orchestrator -> eventbus[color="purple", dir="both", label="read/write events"]; | ||
orchestrator -> agents[color="purple", dir="both", label="create and control agents"]; | ||
|
||
agents -> eventbus[color="blue", label="write events"]; | ||
agents -> datastore[color="blue", label="persist results"]; | ||
agents -> objectstore[color="blue", label="archive artifacts"]; | ||
|
||
datastore -> frontend[color="red", label="read runs"]; | ||
objectstore -> frontend[color="red", label="read artifacts"]; | ||
objectstore -> agents[color="red", label="fetch artifacts/stashes"]; | ||
|
||
//{rank=same; orchestrator agents eventbus} | ||
//{rank=same; message input} | ||
} | ||
|
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.