New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pylon-balancer

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pylon-balancer

balancer for pylon

  • 0.0.40
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

pylon-balancer

build status

this is a pylon-client which queries/subscribes the pylon-server for keys holding arrays containing proxy-informations. these proxy-informations will be used to create a proxy-table for http-proxy.

  • apps can report for duty by telling the pylon-server the proxy-informations
  • one or more pylon-balancers can connect to the pylon-server and proxy requests according to the proxy-informations
  • pylon-balancer implements sticky-sessions per ip (idea shamelessly stolen from https://github.com/indutny/sticky-session)

cli

TBA

api

TBA

example

balancer-server (pylon-client + http-server):

var pb = require('pylon-balancer')({namespace:'balancer'})
pb.connect(3000) // a pylon-server
pb.listen(80) // balancer-server

application (pylon-client):

var p = require('pylon')()
p.connect(3000) // a pylon-server
p.set
( 'balancer'
, { routes : ['foo.bar.com']  // routes which should be proxied to the app
  , port   : 3434             // the port on which the app is listening
  , host   : ''               // optional, per default it will use the
                              // ip-prefix of the pylon-key
  } )

FAQs

Package last updated on 01 Dec 2013

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc