Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Clusterable load-balancer for Amino services

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
etc
test
.gitignore
Makefile
README.md
index.js
package.json

README.md

amino-gateway

Clusterable http proxy for amino services

Usage

  • First, use amino's respond() API to create an "app" service.
  • Start one or more of those servers.
  • Start one or more amino-gateway servers.
  • HTTP requests to your gateway servers will pipe to your app servers, auto-loadbalancing between them without any further configuration. Easy!

Start a gateway with default settings:

$ ./bin/gateway.js

Start a gateway on port 8000:

$ ./bin/gateway.js -p 8000

Start a gateway to proxy to "foo" service:

$ ./bin/gateway.js --service foo

Specify a conf file:

$ ./bin/gateway.js --conf ../path/to/my/conf.json
Something went wrong with that request. Please try again.