# bilibili/discovery

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

Repository: https://github.com/bilibili/discovery
Canonical: https://ross.abutalabs.com/products/discovery
Language: Go
License: MIT
License Family: permissive
Topics: discovery, golang, eureka
Last push: 2023-07-16T03:33:04+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3057, "days_push": 1144, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1805, forks 394 (observed 2026-08-28T04:05:38.961109+00:00)

## What it is
Discovery is Bilibili's production-ready service registry used for locating middle-tier servers to enable resilient load balancing and failover. It is written in Go, Eureka-inspired, and exposes an HTTP API with SDKs for Go, Java, C++, and Python.

## Use cases
- service discovery for microservices
- client-side load balancing across mid-tier servers
- automatic failover when instances go down
- self-hosted service registry alternative to Eureka
- health-checking and node state management for service instances

## When to choose
- you run a Go-based microservices stack and want a battle-tested registry used at scale at Bilibili
- you need Eureka-like service discovery with multi-language client SDKs
- you want resilient mid-tier load balancing and failover

## When to avoid
- you need Kubernetes-native discovery and already run K8s
- you want a widely maintained project - the latest release is 2023 and activity is limited
- you need a managed cloud service discovery offering

## Facets
- artifact type: service
- maturity: maintenance
- function: service-discovery, load-testing, microservices, http-server, api-framework
- domain: microservices, backend, infrastructure-as-code
- platform: go, self-hosted
- tags: eureka-like, service-registry, load-balancing, failover, bilibili, golang, linux, macos, docker

## Member repositories
- bilibili/discovery (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:38.961109+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:21:33.044463+00:00, confidence not recorded.
  - readme: https://github.com/bilibili/discovery (fetched 2026-08-28T04:05:38.961109+00:00, sha 9180ab61e71d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
