mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 08:25:54 +03:00
[GH-ISSUE #399] 负载均衡的上游服务-P最多支持多少个输入呀 #308
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#308
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crisismaple on GitHub (Sep 12, 2020).
Original GitHub issue: https://github.com/snail007/goproxy/issues/399
RT,如果用commandline 以LB HA模式运行proxy的话,用-P指定上游代理最多指定多少个呢,可以有文件配置的方式指定多个么
@crisismaple commented on GitHub (Sep 14, 2020):
还有一个问题,如果使用fast模式上报流量的话,单个连接每次上报的流量是增量的还是全量的?就是每一次上报之后本地计数器清零还是上报的是到当前为止这个连接的流量呀?还有,上报的API能不能支持自定义header或者query param?
@snail007 commented on GitHub (Sep 15, 2020):
https://snail.gitee.io/proxy/manual/zh/#/
@crisismaple commented on GitHub (Sep 15, 2020):
我看了mannal,但是我的问题是:
1、负载均衡情况下多个-P参数是不是支持以文件形式载入多条上级,如果不支持的话在命令参数里有无个数上限(我们的场景会有数百上千个上游);
2、fast模式上报流量的时候针对单个连接,如果T1时刻上报是1KB,T2时刻上报是3KB,是意味着[0,T1]时间内这个连接产生了1KB流量、[0,T2]内产生了3KB流量(累计),还是[0,T1]时间内产生了1KB流量、[T1,T2]时间内产生了2KB流量(增量);
这些好像在文档里没有描述的特别清楚
@snail007 commented on GitHub (Sep 15, 2020):
https://snail.gitee.io/proxy/manual/zh/#/ >>>配置文件
流量没有累加