实现长效套餐创建逻辑,并整合不同套餐类型的创建流程

This commit is contained in:
2025-05-17 18:59:43 +08:00
parent d9613a19fb
commit 3f8e48ec68
9 changed files with 391 additions and 297 deletions

View File

@@ -7,3 +7,14 @@
| proxy/shared-static | pss | 动态代理 |
| proxy/shared-rotate | psr | 隧道代理 |
| proxy/private-static | pps | 独享代理 |
## 业务流程
### 短效动态
1. 获取远端连接配置
2. 查询并计算实际连接状况
3. 每个网关:
1. 根据负载分配算法,计算是否需要为此网关分配新的连接
2. 如果需要新的连接且预计连接数大于已配置的连接数,则更新远端连接配置
3. 为新增连接分配可用端口,并更新网关端口配置