#1247·goreplay

与生产环境相比,大约 25% 的请求无法被 goreplay 捕获

作者: Udaykumar519创建于 2024年4月8日更新于 2026年5月18日
标签bugquestion

大家好, 我们已经设置了 goreplay 来将请求从生产服务器重定向到测试服务器, 在生产环境中, 我们的请求速率约为 38 个/秒, 我们发现与生产环境相比, goreplay 无法捕获约 25% 的请求, 我们尝试将缓冲区大小分别设置为 10MB 和 20MB, 但问题依然存在, 我们使用的命令如下: sudo ./gor --input-raw :8983 --input-raw-bpf-filter "dst port 8983 and inbound" --input-raw-allow-incomplete --input-raw-buffer-size 20971520 --output-http="http://test-server-ip:8983" 请问有人能否帮我们找出这种行为的原因吗?

内容来源: probelabs/goreplay