Skip to content

mdeiters/heroku-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A really simple node.js round-robin proxy meant to run on Heroku to load balance AWS elastic search instances.

To configure, make sure the ELASTIC_SEARCH_SERVERS is set:
ELASTIC_SEARCH_SERVERS="SOME.IP.ADDRESS.compute-1.amazonaws.com,ANOTHER.IP.ADDRESS.compute-1.amazonaws.com"

To run locally:
ELASTIC_SEARCH_SERVERS="SOME.IP.ADDRESS.compute-1.amazonaws.com,ANOTHER.IP.ADDRESS.compute-1.amazonaws.com" node server.js 


Todo
Remove a dead server from the pool

About

A node.js proxy to run on heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages