You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by me...@apache.org on 2020/06/11 05:02:05 UTC

[incubator-apisix] branch master updated: doc(FAQ): added example for gray release. (#1687)

This is an automated email from the ASF dual-hosted git repository.

membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 8dba2c0  doc(FAQ): added example for gray release. (#1687)
8dba2c0 is described below

commit 8dba2c0e778b7dc3a26e2721bb6e7da8ef4b2116
Author: Wen Ming <mo...@gmail.com>
AuthorDate: Thu Jun 11 13:00:41 2020 +0800

    doc(FAQ): added example for gray release. (#1687)
---
 FAQ.md    | 8 ++++----
 FAQ_CN.md | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/FAQ.md b/FAQ.md
index 2335456..dbf365e 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -71,12 +71,12 @@ Run the `luarocks config rocks_servers` command(this command is supported after
 
 If using a proxy doesn't solve this problem, you can add `--verbose` option during installation to see exactly how slow it is. Excluding the first case, only the second that the `git` protocol is blocked. Then we can run `git config --global url."https://".insteadOf git://` to using the 'HTTPS' protocol instead of `git`.
 
-## How to support A/B testing via APISIX?
+## How to support gray release via APISIX?
 
-An example, if you want to group by the request param `arg_id`:
+An example, `foo.com/product/index.html?id=204&page=2`, gray release based on `id` in the query string in uri as a condition:
 
-1. Group A:arg_id <= 1000
-2. Group B:arg_id > 1000
+1. Group A:id <= 1000
+2. Group B:id > 1000
 
 here is the way:
 ```shell
diff --git a/FAQ_CN.md b/FAQ_CN.md
index b954db9..720b798 100644
--- a/FAQ_CN.md
+++ b/FAQ_CN.md
@@ -73,12 +73,12 @@ luarocks 服务。 运行 `luarocks config rocks_servers` 命令(这个命令
 如果使用代理仍然解决不了这个问题,那可以在安装的过程中添加 `--verbose` 选项来查看具体是慢在什么地方。排除前面的
 第一种情况,只可能是第二种,`git` 协议被封。这个时候可以执行 `git config --global url."https://".insteadOf git://` 命令使用 `https` 协议替代。
 
-## 如何通过 APISIX 支持 A/B 测试?
+## 如何通过 APISIX 支持灰度发布?
 
-比如,根据入参`arg_id`分组:
+比如,`foo.com/product/index.html?id=204&page=2`, 根据 uri 中 query string 中的 `id` 作为条件来灰度发布:
 
-1. A组:arg_id <= 1000
-2. B组:arg_id > 1000
+1. A组:id <= 1000
+2. B组:id > 1000
 
 可以这么做: