2e42020792
Hi hashicorp team, I work at eBay in Amsterdam and I have written a zero-conf consul aware HTTP(S) load-balancer in Go which can be used instead of consul-template + haproxy/varnish/apache/nginx. It builds its routing table from host/path prefixes the services publish via tags and the service status. Once a change is detected it switches the routing table dynamically without restart. It also supports canary testing by routing N% of traffic to a variable number of instances of a service. https://github.com/eBay/fabio We're using it to run all of marktplaats.nl (> 5-10k req/sec peak) through it and parts of kijiji.it which are eBay classifieds sites in the Netherlands and Italy. The code has been under development for the last 5 months and runs now in production and I was able to open-source it a couple of days ago. consul has quickly become our state and coordination backend for our micro services architecture for multiple different platforms in several countries. We're very happy with the quality and ease-of-use of your products and I'm personally looking forward to testing nomad. It would be cool if you could list the project on your consul tools page. Please let me know whether it meets your standards and/or expectations for tools to be listed there. Feel free to ask questions. |
||
---|---|---|
.. | ||
source | ||
.buildpacks | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.md | ||
Makefile | ||
Procfile | ||
README.md | ||
Vagrantfile | ||
config.rb | ||
config.ru |
README.md
Consul Website
This subdirectory contains the entire source for the Consul Website. This is a Middleman project, which builds a static site from these source files.
Contributions Welcome!
If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in.
Running the Site Locally
Running the site locally is simple. Clone this repo and run make dev
.
Then open up localhost:4567
. Note that some URLs you may need to append ".html" to make them work (in the navigation and such).
Building Site
Building the static version of the site and running it is simple. Clone this repo and run the following commands:
$ bundle
$ bundle exec middleman build
$ foreman start
Then open up localhost:5000
.
Alternately, the site can now be deployed to Heroku or Cloud Foundry.