Skip to content

[M2] Scale — the graph as system of record at 100k nodes #25

Backlog

Description

@h45sh

Goal

The graph is the system of record at 100k nodes.

Why now

At 10k nodes the engine spends +52 MB and 17.4 s on a snapshot; at 50k it does not finish in 180 s. The graph is the load-bearing bottleneck.

Exit criteria

  • p95 query < 100 ms, diff < 250 ms, snapshot < 1 s at 100k nodes.
  • Ingest >= 2k/s and RSS delta < 50 MB at 100k nodes.
  • No full-session loads remain in hot paths.
  • Replay reconstructs state bit-for-bit.
  • 10 concurrent sessions show no leakage.

Work (in order)

Delivered in ADR 0020 (issues #15–#21 closed 2026-11-29):

Activity

  1. added this to the M2 Scale milestone on Nov 29, 2026
  2. added
    type:epic
    area:graph
    priority:P1
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:graphpriority:P1type:epic

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions