Skip to content

High Availability Checkin [Internal API]#828

Merged
mattoni merged 4 commits into
mainfrom
mattoni/eng-4627-document-highly-available-instances
Jun 23, 2026
Merged

High Availability Checkin [Internal API]#828
mattoni merged 4 commits into
mainfrom
mattoni/eng-4627-document-highly-available-instances

Conversation

@mattoni

@mattoni mattoni commented Jun 23, 2026

Copy link
Copy Markdown
Member

Adding a new feature to the internal API: the ability to manage high available instances by having the platform determine and maintain a 'primary' instance from a pool of instances hitting this endpoint at a regular interval.

This is a lease-based leader election for active-passive failover. Instances will check in every 30 seconds or so, and the platform will maintain the primary until it either drops off for a couple minutes, or reports itself as unelectable. Then the platform will determine a new primary.

Applications can use this response to perform tasks only one instance should do while maintaining high availability, etc.

@mattoni mattoni self-assigned this Jun 23, 2026
@mattoni mattoni requested a review from blewisCycle June 23, 2026 12:05
@mattoni mattoni marked this pull request as ready for review June 23, 2026 12:05
@mattoni mattoni merged commit 1207ec0 into main Jun 23, 2026
1 check passed
@mattoni mattoni deleted the mattoni/eng-4627-document-highly-available-instances branch June 23, 2026 15:01
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