Skip to content

[Perf]: Complete wire-level streaming performance coverage #143

Closed

Description

@MisterVVP

Proposal

Follow-up: Complete wire-level streaming performance coverage

Background

Issue #112 has been narrowed to the first production-ready SDK performance test kit.

The remaining work depends on production HTTP+JSON and JSON-RPC streaming clients.

Prerequisite

Complete streaming client support for:

  • SendStreamingMessage
  • SubscribeToTask

over HTTP+JSON and JSON-RPC.

Scope

Enable the existing wire performance scenarios on all transports.

Scenarios

  • SendStreamingMessage_FiniteStream
  • SubscribeToTask_FirstEventLatency

Transport matrix

Scenario gRPC HTTP+JSON JSON-RPC
SendStreamingMessage_FiniteStream ✓ ✓ ✓
SubscribeToTask_FirstEventLatency ✓ ✓ ✓

Requirements

  • Remove temporary transport exclusions.
  • Use production default transports only.
  • Do not inject fake streaming requesters.
  • Measure first-event latency.
  • Measure stream completion latency.
  • Record streamed event count.
  • Fail on malformed SSE or JSON-RPC streaming.
  • Fail if no events arrive.
  • Fail if streams never complete.
  • Include all transports in generated reports.

Tests

Add deterministic end-to-end performance smoke tests against the real C++ SUT for:

  • gRPC
  • HTTP+JSON
  • JSON-RPC

Verify:

  • finite streams complete;
  • first event arrives;
  • completion is observed;
  • reports contain successful rows for every transport.

Acceptance criteria

  • HTTP+JSON streaming performance scenarios pass.
  • JSON-RPC streaming performance scenarios pass.
  • No transport exclusions remain.
  • All transports appear in reports.
  • First-event latency is measured.
  • Stream completion latency is measured.
  • Event counts are reported.
  • CI performance smoke tests pass.
  • Existing gRPC coverage is preserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions