Skip to content

Backpressure and slow-consumer handling #559

Description

@codebestia

Write apps/backend/docs/concepts-backpressure.md for services/backpressure.ts: how per-socket buffer occupancy is monitored, the shed and disconnect thresholds, and what happens to a client that cannot keep up.

Acceptance criteria:

  • Documents both tiers with their env-configurable thresholds and current defaults
  • States accurately which tier actually changes emit behaviour today and which is currently only tracked — a reader must not infer protection that is not wired in
  • Explains the client-visible effect of a hard disconnect and how resume recovers from it
  • Cross-links the resume/replay mechanism

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programbackenddocumentationImprovements or additions to documentation

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions