apple / apple/swift-distributed-actors

Optimize singleton hand-over/take-over

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
1 - triaged t:cluster:singleton
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.