[GCE] リージョン毎の遅延

Google Cloud Platformもアジアリージョンができたことだし、リージョン毎にどれくらい遅延があるのか測ってみた。

各リージョンとゾーンでインスタンスを作る。あと、ネットワークのデフォルトの設定だと外部からのicmpは閉じているので事前に開けておく。テスト終わったら閉じるのを忘れずに。

各インスタンスにpingを投げた結果こんな感じ。
  • asia: 100ms くらい
  • europe: 400ms くらい
  • us: 250ms くらい
まあ当然ですが asia > us > europe の順に早い。asiaだと100msくらいなんで日本から普通に使えるレベルなのかなきっと。私ネットワーク詳しくないんでよくわかりませんが。


各インスタンスのping結果はこちら。

asia-a
ping -c 5 107.167.181.64
PING 107.167.181.64 (107.167.181.64): 56 data bytes
64 bytes from 107.167.181.64: icmp_seq=0 ttl=44 time=103.378 ms
64 bytes from 107.167.181.64: icmp_seq=1 ttl=44 time=93.266 ms
64 bytes from 107.167.181.64: icmp_seq=2 ttl=44 time=100.718 ms
64 bytes from 107.167.181.64: icmp_seq=3 ttl=44 time=97.191 ms
64 bytes from 107.167.181.64: icmp_seq=4 ttl=44 time=98.686 ms

--- 107.167.181.64 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 93.266/98.648/103.378/3.398 ms

asia-b
ping -c 5 107.167.181.10
PING 107.167.181.10 (107.167.181.10): 56 data bytes
64 bytes from 107.167.181.10: icmp_seq=0 ttl=44 time=98.798 ms
64 bytes from 107.167.181.10: icmp_seq=1 ttl=44 time=114.912 ms
64 bytes from 107.167.181.10: icmp_seq=2 ttl=44 time=109.178 ms
64 bytes from 107.167.181.10: icmp_seq=3 ttl=44 time=93.068 ms
64 bytes from 107.167.181.10: icmp_seq=4 ttl=44 time=81.941 ms

--- 107.167.181.10 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 81.941/99.579/114.912/11.673 ms

europe-a
ping -c 5 146.148.14.127
PING 146.148.14.127 (146.148.14.127): 56 data bytes
64 bytes from 146.148.14.127: icmp_seq=0 ttl=41 time=474.430 ms
64 bytes from 146.148.14.127: icmp_seq=1 ttl=41 time=394.712 ms
64 bytes from 146.148.14.127: icmp_seq=2 ttl=41 time=316.191 ms
64 bytes from 146.148.14.127: icmp_seq=3 ttl=41 time=339.229 ms
64 bytes from 146.148.14.127: icmp_seq=4 ttl=41 time=464.763 ms

--- 146.148.14.127 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 316.191/397.865/474.430/63.963 ms

europe-b
ping -c 5 146.148.13.60
PING 146.148.13.60 (146.148.13.60): 56 data bytes
64 bytes from 146.148.13.60: icmp_seq=0 ttl=40 time=386.981 ms
64 bytes from 146.148.13.60: icmp_seq=1 ttl=40 time=513.019 ms
64 bytes from 146.148.13.60: icmp_seq=2 ttl=40 time=433.568 ms
64 bytes from 146.148.13.60: icmp_seq=3 ttl=40 time=308.037 ms
64 bytes from 146.148.13.60: icmp_seq=4 ttl=40 time=376.909 ms

--- 146.148.13.60 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 308.037/403.703/513.019/67.811 ms

us-a
ping -c 5 23.251.158.46
PING 23.251.158.46 (23.251.158.46): 56 data bytes
64 bytes from 23.251.158.46: icmp_seq=0 ttl=44 time=373.351 ms
64 bytes from 23.251.158.46: icmp_seq=1 ttl=44 time=205.813 ms
64 bytes from 23.251.158.46: icmp_seq=2 ttl=44 time=205.423 ms
64 bytes from 23.251.158.46: icmp_seq=3 ttl=44 time=238.319 ms
64 bytes from 23.251.158.46: icmp_seq=4 ttl=44 time=362.985 ms

--- 23.251.158.46 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 205.423/277.178/373.351/75.318 ms

us-b
ping -c 5 107.178.223.166
PING 107.178.223.166 (107.178.223.166): 56 data bytes
64 bytes from 107.178.223.166: icmp_seq=0 ttl=44 time=352.595 ms
64 bytes from 107.178.223.166: icmp_seq=1 ttl=44 time=203.875 ms
64 bytes from 107.178.223.166: icmp_seq=2 ttl=44 time=202.819 ms
64 bytes from 107.178.223.166: icmp_seq=3 ttl=44 time=201.182 ms
64 bytes from 107.178.223.166: icmp_seq=4 ttl=44 time=342.574 ms

--- 107.178.223.166 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 201.182/260.609/352.595/71.091 ms


【まとめ】
Google Cloud PlatformのCompute Engine使ってみた

このブログの人気の投稿

zsh 設定 - プロンプト -

運転免許失効〜再取得までの奮闘記 - 期限切れ -

運転免許失効〜再取得までの奮闘記 - 路上練習 -