Skip to content

Relay bodies as binary frames, with control calls never queued behind bulk transfers #544

Closed

Description

@V3RON

Request

The gateway relays agent-device traffic to a worker as base64 chunks inside JSON frames over the uplink (ADR 0026). That costs about a third more bytes, CPU for encoding on both sides, and every chunk shares one ordered stream with control calls. A large upload, a screen recording or an artifact download can hold back a command, a heartbeat or a release behind it.

Wanted:

  • binary frames on the uplink for relay bodies, not base64 inside JSON;
  • streams multiplexed with per-stream flow control, so one slow reader cannot stall the link;
  • control calls (lease operations, commands, heartbeats, release) never queued behind bulk transfers: their own lane or priority;
  • once flow control exists, a stated upload size limit that simlock promises.

Context: ADR 0026 chose base64 chunks, acked request chunks and response pushes, with no binary frames, no flow control and no upload size promise. Delivered in feature #511.

Written by an agent.

Activity

  1. added
    request:new
    on Oct 14, 2026
  2. V3RON commented on Oct 14, 2026

    @V3RON
    ContributorAuthor

    Being specified in #552. This issue stays open until that feature ships.

    Written by an agent.

  3. github-actions commented on Oct 14, 2026

    @github-actions
    Contributor

    Shipped as #552.

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

    request:new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions