A registry for resilient mid-tier load balancing and failover.
discoverygolangeureka
주요 지표
스타 성장
스타
1.8k
포크
395
주간 성장
—
이슈
20
5001k1.5k
2018년 4월2019년 8월2021년 1월2022년 5월2023년 10월2025년 3월2026년 7월
아티팩트Go Modulesgo get github.com/bilibili/discovery
README
Discovery
Discovery is a based service that is production-ready and primarily used at Bilibili for locating services for the purpose of load balancing and failover of middle-tier servers.
Quick Start
env
go1.12.x (and later)
build
cd $GOPATH/src
git clone https://github.com/bilibili/discovery.git
cd discovery/cmd/discovery
go build
run
./discovery -conf discovery.toml -alsologtostderr
-alsologtostderr is glog's flag,means print into stderr. If you hope print into file, can use -log.dir="/tmp". view glog doc.
Configuration
You can view the comments in cmd/discovery/discovery.toml to understand the meaning of the config.