Skip to content

Define the general shape of the new Connect protocol #31934

Description

@JurcakN

What needs to be done

Define the high-level architecture of the new Connect protocol: session model (does the app need a new session? what triggers one?), session lifetime, and the other structural decisions that determine how CoreApp and Connect are wired together. This is scoped to the shape of the protocol, not the final message definitions — those are expected to change, including a possible move to Hashbuffers before production.

Why it is needed

The architecture has to be built around the session/lifetime model now, because getting this wrong means rearchitecting later. Individual messages changing later is expected and cheap; the general shape changing later is not. A working prototype needs this decided so implementation can start against a stable architecture even while message details are still moving.

Acceptance criteria

  • Session model is documented: when a new session is created for an app, and what triggers it
  • Session lifetime is documented: when a session ends and what ends it
  • Document explicitly separates "shape" decisions (stable) from "building block" decisions (expected to change, e.g. Hashbuffers)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions