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

FIR-12: orchestrator per namespace #847

Closed
shorsher opened this issue Jun 1, 2022 · 1 comment
Closed

FIR-12: orchestrator per namespace #847

shorsher opened this issue Jun 1, 2022 · 1 comment
Assignees
Milestone

Comments

@shorsher
Copy link
Member

shorsher commented Jun 1, 2022

So far in the implementation of FIR-12, we have tried to avoid creating multiple instances of managers/plugins/etc. unless absolutely required. After some discussion with @peterbroadhurst, @awrichar and I are going to investigate introducing a orchestrator per namespace. The main catalyst for this change is HA firefly.

What the world would potentially look like:

  • One orchestrator per namespace
  • NamespaceManager handles parsing config and instantiating orchestrators
  • A global function to get orchestrators by namespace
  • Each orchestrator contains:
    • Singletons for each manager (broadcast, assets, batch, etc.)
    • The configured plugins for the orchestrator's namespace
@shorsher shorsher self-assigned this Jun 1, 2022
@shorsher shorsher added this to the v1.1.0 milestone Jun 1, 2022
@awrichar awrichar self-assigned this Jun 9, 2022
@awrichar
Copy link
Contributor

#855

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