Open6

Cloud Runの東京リージョンのドメインマッピングのレイテンシ悪化についての記録。asia-northeast1 から us-central1 へ

yamadashyyamadashy

リージョン: asia-northeast1

東京 => asia-northeast1 のレイテンシ

Cloud Run 直接

ab -n 100 -c 10

Percentage of the requests served within a certain time (ms)
  50%     96
  66%     99
  75%    102
  80%    104
  90%    109
  95%    117
  98%    121
  99%    123
 100%    123 (longest request)

curl 1回だけ

Executed in  116.96 millis    fish           external
   usr time   19.29 millis  317.00 micros   18.97 millis
   sys time   14.11 millis  893.00 micros   13.22 millis

ドメインマッピング先

ab -n 100 -c 10

Percentage of the requests served within a certain time (ms)
  50%    209
  66%    519
  75%    684
  80%    697
  90%    727
  95%    762
  98%    795
  99%   1742
 100%   1742 (longest request)

curl 1回だけ

Executed in    1.02 secs      fish           external
   usr time   22.47 millis  380.00 micros   22.09 millis
   sys time   11.39 millis  958.00 micros   10.43 millis

us-central1-a => asia-northeast1 のレイテンシ

Compute Engine の us-central1-a から確認

Cloud Run 直接

ab -n 100 -c 10

Percentage of the requests served within a certain time (ms)
  50%    165
  66%    168
  75%    172
  80%    889
  90%    894
  95%    896
  98%    898
  99%    904
 100%    904 (longest request)

curl 1回だけ

real    0m0.184s
user    0m0.016s
sys     0m0.008s

ドメインマッピング先は測り忘れ

yamadashyyamadashy

リージョン: us-central1

東京 => us-central1 のレイテンシ

Cloud Run 直接

ab -n 100 -c 10

Percentage of the requests served within a certain time (ms)
  50%    249
  66%    257
  75%    261
  80%    265
  90%    274
  95%    289
  98%    317
  99%    335
 100%    335 (longest request)

curl 1回だけ

Executed in  237.07 millis    fish           external
   usr time   14.63 millis    0.31 millis   14.32 millis
   sys time    9.99 millis    1.06 millis    8.93 millis

ドメインマッピング先

ab -n 100 -c 10

Percentage of the requests served within a certain time (ms)
  50%    284
  66%    330
  75%    584
  80%    594
  90%    653
  95%    674
  98%    689
  99%    699
 100%    699 (longest request)

curl 1回だけ

Executed in  280.23 millis    fish           external
   usr time   16.41 millis  338.00 micros   16.07 millis
   sys time   11.21 millis  935.00 micros   10.27 millis
yamadashyyamadashy

リージョン: us-central1

us-central1-a => us-central1 のレイテンシ

Cloud Run 直接

ab -n 100 -c 10

Percentage of the requests served within a certain time (ms)
  50%     36
  66%     40
  75%     42
  80%     44
  90%     48
  95%     53
  98%     60
  99%     61
 100%     61 (longest request)

curl 1回だけ

real    0m0.048s
user    0m0.009s
sys     0m0.015s

同じゾーンなのでそりゃ早い

ドメインマッピング先

ab -n 100 -c 10

Percentage of the requests served within a certain time (ms)
  50%    154
  66%    166
  75%    183
  80%    195
  90%    213
  95%    238
  98%    254
  99%    291
 100%    291 (longest request)

curl 1回だけ

real    0m0.146s
user    0m0.019s
sys     0m0.005s

移行前の太平洋横断よりは早くなっている