微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

flagr 基于 Go 的标记、AB测试、动态配置微服务工具

程序名称:flagr

授权协议: Apache 2.0

操作系统: 跨平台

开发语言: Google Go

flagr 介绍

Introduction

Flagr 是一款基于 Go 的开源服务。它提供功能标记、AB测试、动态配置功能。它提供 flag 管理和 flag 评估的 REST API。

文档

快速开始

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

flagr 官网

https://github.com/checkr/flagr

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐