Go實現了一個負載均衡器

linus發表於2018-07-24

Github專案主頁

golb

Features

  • roundrobin: smooth weighted roundrobin method
  • chash: cosistent hashing method
  • balancer: multiple LB instances, passive health check, SSL offloading
  • controller: dynamic configuration, REST API to start/stop/add/remove LB at runtime
  • service discovery: autodiscover backend services with etcd
  • statistics: HTTP method/path/code/bytes

Examples

相關文章