Skip to content

ADR 006: WebSocket/SSE for epoch keys adds significant unspecified app server component #26

Closed

Description

@thiras

Category: Technical Feasibility

ADR 006 introduces a persistent WebSocket/SSE connection from the app server to the client for epoch key delivery. This is entirely outside the iroh/QUIC stack — it's a traditional web connection.

Implications:

  • The client needs two transport stacks: iroh QUIC (CDN protocol) + WebSocket (key delivery)
  • The app server is a significant new component with its own:
    • Scaling requirements (persistent connections from all active clients)
    • Authentication (session tokens, subscription validation)
    • Deployment infrastructure (load balancer with WebSocket support)
    • Monitoring and health checks
  • The app server is not part of the crate structure in architecture.md
  • No ADR specifies the app server's technology stack, deployment model, or API

Recommendation

  • Either add the app server to architecture.md's crate structure (even as "out of scope, external component")
  • Or create a brief ADR documenting the app server's role, API surface, and deployment model
  • Consider whether epoch keys could be delivered over iroh QUIC instead of WebSocket to avoid a second transport

ADRs affected

  • ADR 006 (E2E Encryption)
  • Architecture overview

Activity

  1. added 2 commits that reference this issue on Mar 30, 2026
    f11c0e0
    c22d315
  2. added 2 commits that reference this issue on May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions