apple / apple/swift-distributed-actors
Optimize singleton hand-over/take-over
- Dominant language
- Swift
- Stars
- 677
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
When we move the singleton from one node to another, the two nodes involved can notify each other so there is a more graceful transition. This is to minimize the time between stopping/starting the singleton.
https://github.com/apple/swift-distributed-actors/pull/311#discussion_r355751825
https://github.com/apple/swift-distributed-actors/pull/311#discussion_r355747113
Contributor guide
Research direction
Start by reading the two discussion comments on pull request #311, then trace the singleton hand-over/take-over behavior they describe. Define how the two nodes should notify each other and how the transition should minimize the gap between stopping and starting the singleton; done requires validating that graceful transition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100