CNSRE/ABTestingGateway
None observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4063
- days_rel: n/a
- days_push: 2880
- n_releases_24m: 0
Adoption not part of the score
2349 stars · 759 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ABTestingGateway is a layer-7 gray-release (canary) gateway built on nginx and ngx_lua that dynamically routes requests to different upstreams according to diversion policies stored in Redis. Originally part of Sina Weibo's internal dygateway, it supports ip-range, uid-range, uid-tail, and specific-uid splitting, multi-level diversion, and runtime policy changes without restarts.
Use cases
- dynamically split traffic between upstreams without restarting nginx
- run canary releases with policy-based gray deployment
- do A/B testing based on user id, ip range, or uid tail digits
- gradually route a subset of requests to a beta backend
- set up multi-level staged traffic diversion
- implement layer 7 load balancing with near-native nginx performance
When to choose
- You already run nginx/openresty and Redis and need runtime-configurable canary or A/B traffic splitting
- You want diversion rules by ip range, uid range, uid tail, or specific uids that take effect immediately without restarts
- Forwarding performance close to native nginx matters to you
- You want to extend the system with custom Lua-based diversion strategies
When to avoid
- You need an actively maintained gateway - the last release dates to 2018 and it targets older openresty versions with known lua-resty-core compatibility caveats
- Your stack is cloud-native or service-mesh oriented and you would prefer Envoy/Istio or a modern API gateway
- You cannot deploy Redis as the policy database
- You need gRPC or non-HTTP traffic splitting
Facets
service · maturity maintenance
api-gateway routing proxy backend web-development microservices apis self-hosted gray-release canary-deployment ab-testing traffic-splitting nginx openresty ngx-lua redis load-balancing dynamic-routing layer7-gateway sina-weibo devops linux web-server
1 source
- readme: https://github.com/CNSRE/ABTestingGateway · fetched 2026-08-28 · 54b9b2cc5967
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| CNSRE/ABTestingGateway | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="CNSRE/ABTestingGateway")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem