Repository navigation
fix: apply admission backpressure while reset notifications drain - #126
Merged
Merged
Conversation
Owner
Author
|
Deployment validation passed using commit 46e45fd: local Docker Compose, two Frontiers, real macOS TUN → Entry → Frontier → Edge → app. Concurrent 120s HTTP/TCP short-connection tests completed 19,199 requests with zero failures; 5 rounds of domain/CIDR TCP/UDP/ICMP probes passed and no container restarts were detected. CI: 11 checks passed. Code Coverage failed because the runner Go toolchain reports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
reset 积压恢复验证
本次修改针对 Frontier #117 的短流压测触发整连接关闭。
专项测试刻意暂停 reset 写入,建立 301 条流后 abort 其中 300 条:新建流等待、原有流双向传输、取消可退出、恢复后双向新建流成功、通知全部到达。重复 10 次并启用 race。
这些变更不是无限接纳新流的方案;远端可以在等待 ACK 时继续发起协商,协商中的对象仍受现有协议与调用方并发约束。独立的全连接接入配额不在此次范围内。
实测结果
基线 Geminio main
5b8b07f,本机 Apple M4,GOMAXPROCS=4,Go 1.25.0。通过独立 modfile 将 Frontier benchmark 的 Geminio 替换为本地修复分支,正式部署与依赖文件未改变。路径为 Service SDK → Frontier → Edge SDK echo,loopback TCP,不包含 TUN/MASQUE/Docker。每次包含新建 Geminio 流、256 字节 echo 校验与本地 Abort。两轮合计 1,231,249 次,均使用独立
-count=1进程,退出码成功且逐轮失败数为零。当前结果证明此次实验未复现此前断连,不等同于长期稳定性保证。旧基准使用 Go 1.24.13,因此不主张速度提升或零性能损耗。make test-reset-pressure:race 下重复 10 次通过。make test-short-race:通过。make vet:通过。make test-edge-route-recovery:race 重复 5 次及 vet 均通过。日志:
/private/tmp/geminio-reset-pressure-test.log、/private/tmp/geminio-reset-short-race.log、/private/tmp/frontier-reset-fixed-60s.log、/private/tmp/frontier-reset-fixed-c256.log。