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

Repurpose Registry to be a named registry of agents #9

Open
ysbaddaden opened this issue Mar 21, 2023 · 0 comments
Open

Repurpose Registry to be a named registry of agents #9

ysbaddaden opened this issue Mar 21, 2023 · 0 comments
Labels
breaking change A change that breaks the SPEC registry Related to Earl::Registry supervisor Related to Earl::Supervisor

Comments

@ysbaddaden
Copy link
Owner

Registry should be re-purposed to become a named registry of agents.

Agents would be able to register themselves with an unique name across the application. Supervisors might be able do it for them (especially useful for Dynamic Supervisors, see #7).

Agents would then be capable to communicate with an Agent by name, without holding an actual reference. Ideally, agents could even be (re)started on demand.

This would overcome the current limit that we must hold a reference to an agent, and that all agents must always be running all the time.

Related: #8 and #7

@ysbaddaden ysbaddaden added registry Related to Earl::Registry breaking change A change that breaks the SPEC labels Mar 21, 2023
@ysbaddaden ysbaddaden changed the title Repurpose Registry as a registry of agents Repurpose Registry to be a named registry of agents Mar 21, 2023
@ysbaddaden ysbaddaden added the supervisor Related to Earl::Supervisor label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change A change that breaks the SPEC registry Related to Earl::Registry supervisor Related to Earl::Supervisor
Projects
Status: Todo
Development

No branches or pull requests

1 participant