docs: record p2p result and next load stage
This commit is contained in:
@@ -8,26 +8,26 @@
|
||||
|
||||
## 当前 allrich 测试批次
|
||||
|
||||
以下参数适用于 2026-09-27 正在执行的第一轮单聊压测:
|
||||
以下参数适用于 2026-09-27 的 2000 人群聊压测:
|
||||
|
||||
| 参数 | 值 |
|
||||
|---|---|
|
||||
| Git 分支 | `dev` |
|
||||
| 最低提交 | `6d17154` |
|
||||
| 最低提交 | `ea8732e` |
|
||||
| 企业码 | `allrich` |
|
||||
| HTTP | `https://api.118im.com` |
|
||||
| WebSocket | `wss://api.118im.com/v0/channels` |
|
||||
| 机器 A 内网地址 | `192.168.1.135` |
|
||||
| Coordinator | `http://192.168.1.135:8090` |
|
||||
| Run ID | `p2p-20260927-01` |
|
||||
| 场景 | `p2p` |
|
||||
| 机器 A 状态 | `1000/1000 READY`,等待机器 B |
|
||||
| Run ID | `group2k-r1-20260927-01` |
|
||||
| 场景 | `group` |
|
||||
| 机器 A 状态 | 等待启动 coordinator 和 agent A |
|
||||
|
||||
机器 A 已生成安全运行包:
|
||||
|
||||
```text
|
||||
/tmp/allrich-machine-b-runtime-p2p-20260927-01.zip
|
||||
SHA-256: 479f119e7d01e1829c7262cace282c72a5f53ad8e7f5128abc2ade75d046db64
|
||||
/tmp/allrich-machine-b-runtime-group2k-r1-20260927-01.zip
|
||||
SHA-256: 21e65b19476e64348b9214322021d880b231de1f9c9f685ea43d0082103e9cd1
|
||||
```
|
||||
|
||||
运行包内只有三个运行时文件:`.env.test`、`config.json`、`manifest.json`。其中包含 API Key、测试账号密码、固定测试验证码和账号 Token,不进入 Git,必须通过受控内网传输。测试环境验证码为 `123456`,正式环境禁止使用固定验证码。
|
||||
@@ -35,10 +35,10 @@ SHA-256: 479f119e7d01e1829c7262cace282c72a5f53ad8e7f5128abc2ade75d046db64
|
||||
因此,机器 B 只执行 `git pull` 后看不到这三个文件是正常现象。机器 B 需要从机器 A 单独复制运行包:
|
||||
|
||||
```bash
|
||||
scp youshunlai@192.168.1.135:/tmp/allrich-machine-b-runtime-p2p-20260927-01.zip /tmp/
|
||||
scp youshunlai@192.168.1.135:/tmp/allrich-machine-b-runtime-group2k-r1-20260927-01.zip /tmp/
|
||||
|
||||
shasum -a 256 /tmp/allrich-machine-b-runtime-p2p-20260927-01.zip
|
||||
# 必须输出:479f119e7d01e1829c7262cace282c72a5f53ad8e7f5128abc2ade75d046db64
|
||||
shasum -a 256 /tmp/allrich-machine-b-runtime-group2k-r1-20260927-01.zip
|
||||
# 必须输出:21e65b19476e64348b9214322021d880b231de1f9c9f685ea43d0082103e9cd1
|
||||
```
|
||||
|
||||
如果机器 B 无法主动连接 A,也可以由机器 A 执行 `scp` 推送;目标机器的用户名和地址由 B 机提供。禁止通过 Git、公开网盘或无访问控制的 HTTP 服务传输该运行包。
|
||||
@@ -76,7 +76,7 @@ ulimit -n 100000
|
||||
在机器 B 的仓库根目录执行:
|
||||
|
||||
```bash
|
||||
unzip -o /tmp/allrich-machine-b-runtime-p2p-20260927-01.zip \
|
||||
unzip -o /tmp/allrich-machine-b-runtime-group2k-r1-20260927-01.zip \
|
||||
-d loadtest/im-pressure
|
||||
chmod 600 \
|
||||
loadtest/im-pressure/.env.test \
|
||||
@@ -108,7 +108,7 @@ source loadtest/im-pressure/.env.test
|
||||
set +a
|
||||
|
||||
export MACHINE_A_IP='192.168.1.135'
|
||||
export RUN_ID='p2p-20260927-01'
|
||||
export RUN_ID='group2k-r1-20260927-01'
|
||||
|
||||
./loadtest/im-pressure/im-pressure verify \
|
||||
-config loadtest/im-pressure/config.json \
|
||||
|
||||
Reference in New Issue
Block a user