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

Changes to how DeviceLinks are supervised #1187

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

oestrich
Copy link
Contributor

  • Partition supervisor for the DynamicSupervisor, with thousands of devices connected the single DynamicSupervisor could get overloaded, partition it to help reduce processing changing state quickly
  • Start a DeviceLink with the ID only, to help reduce state inside the supervisor, only store the device's ID in the supervisor state (since it's part of the child_spec that's stored in the supervisor state)
  • Remove the supervisor module to simplify, put the one function that matters in the DeviceLink module directly
  • Set to transient for restart since we do want the DeviceLink to terminate and get cleared out of the child_spec state

@oestrich oestrich requested a review from jjcarstens January 16, 2024 21:10
@oestrich oestrich force-pushed the device-link-supervision-changes branch 2 times, most recently from 816a512 to 9122c1a Compare January 16, 2024 21:37
- Partition supervisor for the DynamicSupervisor, with thousands of
  devices connected the single DynamicSupervisor could get overloaded,
  partition it to help reduce processing changing state quickly
- Start a DeviceLink with the ID only, to help reduce state inside the
  supervisor, only store the device's ID in the supervisor state (since
  it's part of the child_spec that's stored in the supervisor state)
- Remove the supervisor module to simplify, put the one function that
  matters in the DeviceLink module directly
- Set to transient for restart since we do want the DeviceLink to
  terminate and get cleared out of the child_spec state
@oestrich oestrich force-pushed the device-link-supervision-changes branch from 9122c1a to 7204eb4 Compare January 16, 2024 21:38
@oestrich oestrich merged commit e298351 into main Jan 16, 2024
2 checks passed
@oestrich oestrich deleted the device-link-supervision-changes branch January 16, 2024 21:42
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

Successfully merging this pull request may close these issues.

2 participants