Skip to content

A registry for resilient mid-tier load balancing and failover.

License

Notifications You must be signed in to change notification settings

l-qing/discovery

This branch is 6 commits behind bilibili/discovery:master.

Folders and files

NameName
Last commit message
Last commit date
Oct 22, 2019
Oct 22, 2019
Oct 23, 2019
Aug 27, 2019
Oct 22, 2019
Sep 4, 2020
Mar 29, 2020
Oct 23, 2019
Aug 23, 2019
Dec 20, 2018
Jul 2, 2019
Oct 22, 2019
Mar 9, 2020
Apr 20, 2018
Mar 9, 2020
Sep 11, 2019
Jun 8, 2018
Feb 25, 2019
Feb 18, 2020
Feb 18, 2020
Jan 14, 2019

Repository files navigation

Discovery

Build Status Go Report Card codecov

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-example.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-example.toml to understand the meaning of the config.

Client

Intro/Arch/Practice

Feedback

Please report bugs, concerns, suggestions by issues, or join QQ-group 716486124 to discuss problems around source code.

About

A registry for resilient mid-tier load balancing and failover.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 91.6%
  • Shell 7.7%
  • Other 0.7%