快速的负载均衡HTTP(S) 路由器:fabio

jopen 9年前

fabio是一个快速,现代,零配置的负载均衡HTTP(S) 路由器。用于部署由consul管理的微服务。

It provides a single-binary alternative to running consul- template together with haproxy/varnish/nginx/apache. Services provide one or more host/path prefixes they serve and fabio updates the routing table every time a service becomes (un-)available without restart.

fabio was developed at the eBay Classifieds Group in Amsterdam and is currently used to route traffic for marktplaats.nl and kijiji.it. Marktplaats is running all of its traffic through fabio which is several thousand requests per second distributed over several fabio instances.

特性

  • Single binary in Go. No external dependencies.
  • Zero-conf
  • Hot-reloading of routing table through backend watchers
  • Round robin and random distribution
  • Traffic Shaping (send 5% of traffic to new instances)
  • Graphite metrics
  • Request tracing
  • WebUI
  • Fast

项目主页:http://www.open-open.com/lib/view/home/1446473415326