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

Add distributed Termination detection #53

Open
rcschrg opened this issue Apr 19, 2023 · 0 comments
Open

Add distributed Termination detection #53

rcschrg opened this issue Apr 19, 2023 · 0 comments
Assignees

Comments

@rcschrg
Copy link
Member

rcschrg commented Apr 19, 2023

In GitLab by @maurerle on Apr 19, 2023, 17:20

Running mango in a distributed way is part of the target functionality.

Therefore a reliable termination detection in distributed containers is needed too.
Currently this exists in the mango-library:
https://gitlab.com/mango-agents/mango-library/-/blob/96955e59b7f44295fa828752bbf5b4a17131baec/mango_library/negotiation/termination.py
Here, we need to add the role to every single agent in each container.

It would make sense to always use the termination detection if the Distributed Clock is used from mango/util/distributed_clock.py.
The distributed clock requires, that one agent per container exists to keep track of the time.
After the fix on single container termination detection is merged !69, the distributed termination is reduced to one per container so that we can use this in the same way - and add the termination detection directly to DistributedClockManager (NegotiationTerminationDetectorRole) and DistributedClockAgent (NegotiationTerminationParticipantRole).

@rcschrg rcschrg self-assigned this Jan 31, 2024
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

1 participant