外部URLのレイテンシを計測するhttping

d.hatena.ne.jp

macでもbrewで入れられる。

brew install httping

今回はcircleci.comのレイテンシが知りたかった。日本のGCPにあるサーバーに対してGatlingを実行したらレイテンシがすごく高くなってしまったので。

ᐅ httping circleci.com 
PING circleci.com:80 (/):
connected to 35.170.12.60:80 (385 bytes), seq=0 time=496.61 ms
connected to 52.0.187.225:80 (385 bytes), seq=1 time=376.41 ms
connected to 52.45.126.22:80 (385 bytes), seq=2 time=456.91 ms
connected to 34.196.235.151:80 (385 bytes), seq=3 time=355.94 ms
connected to 35.170.12.60:80 (385 bytes), seq=4 time=406.11 ms
^CGot signal 2
--- http://circleci.com/ ping statistics ---
5 connects, 5 ok, 0.00% failed, time 6674ms
round-trip min/avg/max = 355.9/418.4/496.6 ms

けっこうレイテンシ高い。