flagr

Flagr is a feature flagging, A/B testing and dynamic configuration microservice

Github星跟蹤圖

Introduction

Flagr is an open source Go service that delivers the right experience to the right entity and monitors the impact. It provides feature flags, experimentation (A/B testing), and dynamic configuration. It has clear swagger REST APIs for flags management and flag evaluation.

Documentation

Quick demo

Try it with Docker.

# Start the docker container
docker pull checkr/flagr
docker run -it -p 18000:18000 checkr/flagr

# Open the Flagr UI
open localhost:18000

Or try it on https://try-flagr.herokuapp.com, it may take a while for a cold start.

curl --request POST \
       --url https://try-flagr.herokuapp.com/api/v1/evaluation \
       --header 'content-type: application/json' \
       --data '{
         "entityID": "127",
         "entityType": "user",
         "entityContext": {
           "state": "NY"
         },
         "flagID": 1,
         "enableDebug": true
       }'

Flagr Evaluation Performance

Tested with vegeta. For more details, see benchmarks.

Requests      [total, rate]            56521, 2000.04
Duration      [total, attack, wait]    28.2603654s, 28.259999871s, 365.529µs
Latencies     [mean, 50, 95, 99, max]  371.632µs, 327.991µs, 614.918µs, 1.385568ms, 12.50012ms
Bytes In      [total, mean]            23250552, 411.36
Bytes Out     [total, mean]            8308587, 147.00
Success       [ratio]                  100.00%
Status Codes  [code:count]             200:56521
Error Set:

Flagr UI

主要指標

概覽
名稱與所有者openflagr/flagr
主編程語言Go
編程語言Makefile (語言數: 7)
平台
許可證Apache License 2.0
所有者活动
創建於2017-10-03 19:07:32
推送於2025-04-29 13:00:45
最后一次提交
發布數37
最新版本名稱1.1.18 (發布於 )
第一版名稱1.0.0 (發布於 )
用户参与
星數2.5k
關注者數59
派生數193
提交數777
已啟用問題?
問題數171
打開的問題數2
拉請求數345
打開的拉請求數4
關閉的拉請求數100
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?