Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

More robust network backend #30

@mcpherrinm

Description

@mcpherrinm

We'd like keysync to handle several server failure scenarios, so we need a more robust backend.

  • Retry support
    • During a sync, we should try to fetch the secret list multiple times if it fails
    • We should try to fetch each secret multiple times before moving on
  • Failover support
    • If there are too many consecutive failures talking to a server, we should try a second one
    • Probably an MX-record like weighted priority list.
  • backoff between failover/retries
  • Any one sync should occur against the same server
    • Avoids issues with lagging mysql replication and inconsistent server view-of-the-world
  • info on individual retries
  • warn on failover
  • error if all servers fail

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions