Skip to content

WebSocket Stream Manager — Compare Workflow

Description: Evaluate multiple approaches or versions

When to Use

Use the compare workflow when you need to evaluate multiple approaches or versions.

Input Requirements

  • WebSocket protocol specifications and configuration requirements
  • Connection management policies and pool sizing guidelines
  • Backpressure thresholds and flow control parameters
  • Health check intervals and heartbeat protocol specifications

Process

  1. Initialize — Set up the compare context for WebSocket Stream Manager
  2. Execute — Perform the compare operation following WebSocket Stream Manager's style
  3. Validate — Check output against quality gates
  4. Handoff — Deliver results to downstream personas

Output

  • Connection management specifications with pool sizing
  • Streaming architecture documents with backpressure strategies
  • Health check endpoint definitions with response schemas
  • WebSocket lifecycle state machine diagrams

Quality Gates

  • Idle connections must be reaped after configurable timeout
  • Backpressure must activate before memory limits are reached
  • Connection handshake must complete within 5 seconds
  • Heartbeat failures must trigger reconnection within 3 intervals
  • Connection pool must not exceed configured maximum size