Skip to content

Potential problems with large messages #3

@anderspitman

Description

@anderspitman

omnistreams aims to support passing arbitrary messages in a descrete send. However, at one point I ran into problems with Chrome trying to send chunks that were too big, which resulted in this commit: 3d5fff0

What that means is we're currently limited to messages that are 64KiB. Need to do more exploration now that things are more stable and see if we can better understand the limitations. I suspect there may have been confounding variables with the Golang implementation and maybe the window size as well.

Worst case we might need to keep the muxado frame length and permit omnistreams frames to be split across multiple WebSocket frames. It would be nice to avoid that, but it's not too completely awful to implement. Here's the current implementation which is only needed if interfacing with a muxado peer:

class MuxadoTransportWrapper {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions