Skip to content

[REQ] High Availability #13

@swalkerhppr

Description

@swalkerhppr

Feature Behavior

Stoke should be able to run in an HA manner, with multiple servers able to give out verifiable tokens.
Servers should be able to federate with each other to be able to have tokens issued and validated by other trusted servers.

Current Behavior

Stoke only supports running as a single server.

Benefits

  • Provides the benefits of High Availability

Extra Information

Stoke server HA federation requires that tokens:

  • issued by server A are verifiable by server B
  • include the same claims from server A as by server B

One way to accomplish this is to:

  1. Have servers share and/or store public keys for all federated servers
    • This allows the combination of all of the server's public key into a single available store
    • Will need to handle servers entering and leaving the federation
  2. Sync and/or share the claims/user database
  • While running an actia; db, this could be as simple as everyone pointing to a shared db
  • On immemory deployments, this could be a little more tricky

Research is needed to figure out the best way to do this.

Complexity

Calculus (High)

Level of Effort

Jason (Medium)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions