feat: add dual-host IM pressure test tool

This commit is contained in:
richjohnrambo
2026-09-26 21:50:43 +08:00
parent f898a7171c
commit 2b90a2e759
21 changed files with 3843 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
{
"tenant": "006",
"http_base": "https://im-api.example.com",
"api_key_env": "IM_API_KEY",
"password_env": "IM_LOAD_PASSWORD",
"users_per_machine": 1000,
"endpoints": {
"a": ["wss://im-ws-pod-a.example.com/v0/channels"],
"b": ["wss://im-ws-pod-b.example.com/v0/channels"]
},
"insecure_tls": false,
"prepare_workers": 20,
"connect_ramp": "20s",
"command_timeout": "20s",
"p2p_messages_per_user": 10,
"p2p_interval": "1s",
"drain_p2p": "30s",
"drain_group": "60s"
}