Skip to content

SSE polls at 5 Hz per connection #289

Closed

Description

@thcp

Location: events.py:60
Severity: MED

Every open stream serializes the full job state to JSON 5×/second and compares strings. At the 200-connection cap that is ~1,000 json.dumps/s of pure overhead.
Bump a per-job version counter in _set and only serialize when it changes; or drop the poll to 3–4 Hz (imperceptible in the UI).

From the health report. Part of #274 (Phase 3 — Performance).

Activity

  1. added a commit that references this issue on Jul 17, 2026
    c896b9c
  2. self-assigned this
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

performanceSpeed, memory, and resource efficiency

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions