Skip to content

Writable and Readable QueuingStrategies #20

Open
@jasnell

Description

@jasnell

Because the socket API builds on the streams spec, it would be helpful for performance tuning to be able to specify the readable and writable queuing strategies. For example,

const socket = connect('https://example.org', {
  writableStrategy: { highWaterMark: 4096 },
  readableStrategy: { highWaterMark: 4096 },
});

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