Skip to content

Support back-pressure #271

Closed
Closed

Description

@rogierschouten

There seems to be no way to tell a Request to pause emitting 'row' events. This makes it impossible to stream query data onward without causing a large buffer somewhere. The node-mysql adapter for instance has the capability to return a NodeJS ReadableStream which supports back-pressure.

Activity

  1. bretcope commented on Jun 12, 2015

    @bretcope
    Member

    The issue is that Tedious doesn't currently support real streaming. @arthurschreiber started a stream based conversion in a pull request which would likely enable Tedious to support what you're looking for. Until that's completed, there's not really a good way to do what you're asking.

    I'm going to close this, but feel free to continue discussion on the PR thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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