Skip to content

Consider SignalR Pull Model / Streaming for JavaScript and Java client #33859

@TanayParikh

Description

@TanayParikh

As a part of #30289 / #33491 we didn't leverage SignalR's native streaming capability as we wanted to delay sending additional data chunks until the ones sent had been consumed by the server. Without this, the client could queue the entire stream at once (via subject.next(nextData)) thereby blocking interactivity till the stream was transferred. This would in turn present a breaking change for certain functionality like file uploads. Instead we took a send/invoke based approach where we send X chunks, and then invoke every X+1 chunks to get a "heartbeat" for the stream, and allow other requests to interrupt the transfer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Blazor ♥ SignalRThis issue is related to the experience of Signal R and Blazor working togetherPriority:3Work that is nice to havearea-signalrIncludes: SignalR clients and serversenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-jsinteropThis issue is related to JSInterop in Blazor

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions