Skip to content

Close keep-alived connections#4

Open
methane wants to merge 1 commit intoisucon:masterfrom
methane:close-keepalive
Open

Close keep-alived connections#4
methane wants to merge 1 commit intoisucon:masterfrom
methane:close-keepalive

Conversation

@methane
Copy link

@methane methane commented Oct 19, 2016

fixes #3

Client ごとに Transport を作り直す方式による修正です。
(go fmt の結果無関係な所まで変更が入ってますがご容赦ください)

@methane
Copy link
Author

methane commented Oct 19, 2016

なお、この方式の場合はシナリオごとにコネクションを張り直すので、
ポート枯渇回避のためには tcp_tw_reuse=1 が必要になります。

cocodrips pushed a commit to cocodrips/isucon6-qualify that referenced this pull request Aug 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ベンチマーカーのコネクションリーク

1 participant