Skip to content

[TIME-TRAVEL] [FEAT] Implement chunked transfer for large snapshot arrays #995

@dotandev

Description

@dotandev

Description

Massive transactions can generate 50MB+ of snapshot data, which exceeds standard IPC message limits.

Requirements

  • Bridge should split the snapshot list into 1MB chunks.
  • Implement a 'Streaming Reader' on the Go side to reassemble the chunks.
  • Add timeout and retry logic for chunk delivery.

Acceptance Criteria

  • Large simulation responses are successfully delivered without truncation.
  • Memory usage during transfer is optimized (no full buffering of the 50MB).

Estimated File Changes: 3 (internal/bridge/client.go, internal/bridge/stream.go, internal/bridge/types.go)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions