Socket
Book a DemoInstallSign in
Socket

bottleneck-proxy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bottleneck-proxy

Reverse proxy to limit concurrent HTTP requests to a target endpoint

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

bottleneck-proxy

License Dependencies npm version Buy me a coffee

Reverse proxy to limit concurrent HTTP requests to a target endpoint

Built to deal with backends that don't fully support concurrent requests such as running AWS SAM sam local start-api --warm-containers EAGER

Quick Start

npx bottleneck-proxy http://localhost:3000
# proxy listening at http://0.0.0.0:5000
# forwarding to http://localhost:3000 at max 1 concurrent request

Usage

bottleneck-proxy - Reverse proxy to limit concurrent HTTP requests to a target endpoint

  USAGE

      $ bottleneck-proxy --help
      $ bottleneck-proxy --version
      $ bottleneck-proxy [-c max_concurrency] [target_url]

      By default, bottleneck-proxy will listen on 0.0.0.0:5000 and set max
      concurrency to 1.

  OPTIONS

      --help             Shows this help message

      -v, --version      Displays the current version of bottleneck-proxy

      -d, --debug        Show debugging information

      -c, --concurrency  Max number of concurrent requests (default: 1)

      -p, --port         Port to listen on (default: 5000)

      -h, --host         Host to bind to (default: 0.0.0.0)

Keywords

bottleneck

FAQs

Package last updated on 03 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts