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

更多原創文章乾貨分享,請關注公眾號
  • Go實現了一個負載均衡器
  • 加微信實戰群請加微信(註明:實戰群):gocnio

相關文章