Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] The state of the state(s) #15

Closed
janitha09 opened this issue Jan 5, 2022 · 2 comments
Closed

[RFC] The state of the state(s) #15

janitha09 opened this issue Jan 5, 2022 · 2 comments

Comments

@janitha09
Copy link
Contributor

janitha09 commented Jan 5, 2022

https://mermaid.live
https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram
Looking through the code that has been written up this is my mental picture

erDiagram
          WASMCLOUD_HOST ||--|| State : has
          State }|..o{ Actor : has
          State }|..o{ Provider : has
          State }|..o{ Link_Definiton : has
          LATTICE_OBSERVER }|--|| Lattice : has
          Lattice ||--|| State: contains
          WADM ||--o| Deployment_State : has
          Deployment_State }|..o{ Actor : has
          Deployment_State }|..o{ Provider : has
          Deployment_State }|..o{ Link_Definiton : has

image

graph TD
    A[Updated OAM Spec] -->|Apply| B(HOST_CORE)
    B -->|Spin Up| C(Actor/Provider/Link)
    C --> |Reconcile| D{Diff}
    D -->|Yes/Apply/Backoff| B
    D -->|No| E[Done]
    F[WASHBOARD]-->|manual entry| B

image

How is the contention between the UI and OAM spec going to be handled - who wins? Last in?

Incomplete thoughts - Since Horde is involved WADM is a singleton? Haven't processed that. Redis will maintain....

@janitha09
Copy link
Contributor Author

@autodidaddict

@brooksmtownsend
Copy link
Member

Closing since we can continue discussion in #105 as we move forward with the Rust architecture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants