Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:getUserStatisticsHandlerのN+1削除 #5

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

cureseven
Copy link
Member

@cureseven cureseven commented Nov 25, 2023

#1

14,927
2023-11-25T03:35:31.084Z	info	isupipe-benchmarker	SSL接続が有効になっています
2023-11-25T03:35:31.084Z	info	isupipe-benchmarker	静的ファイルチェックを行います
2023-11-25T03:35:31.084Z	info	isupipe-benchmarker	静的ファイルチェックが完了しました
2023-11-25T03:35:31.084Z	info	isupipe-benchmarker	webappの初期化を行います
2023-11-25T03:35:33.044Z	info	isupipe-benchmarker	ベンチマーク走行前のデータ整合性チェックを行います
2023-11-25T03:35:50.286Z	info	isupipe-benchmarker	整合性チェックが成功しました
2023-11-25T03:35:50.286Z	info	isupipe-benchmarker	ベンチマーク走行を開始します
2023-11-25T03:35:52.290Z	info	isupipe-benchmarker	DNS水責め負荷が上昇します	{"parallelis": 3}
2023-11-25T03:35:54.291Z	info	isupipe-benchmarker	DNS水責め負荷が上昇します	{"parallelis": 4}
2023-11-25T03:35:56.291Z	info	isupipe-benchmarker	DNS水責め負荷が上昇します	{"parallelis": 6}
2023-11-25T03:35:58.290Z	info	isupipe-benchmarker	DNS水責め負荷が上昇します	{"parallelis": 9}
2023-11-25T03:36:50.287Z	info	isupipe-benchmarker	ベンチマーク走行を停止します
2023-11-25T03:36:50.289Z	warn	isupipe-benchmarker	ライブコメントを配信に投稿できないため、視聴者が離脱します	{"viewer": "xsaito0", "livestream_id": 7532, "error": "ベンチマーク走行が継続できないエラーが発生しました"}
2023-11-25T03:36:50.987Z	info	isupipe-benchmarker	ベンチマーク走行終了
2023-11-25T03:36:50.987Z	info	isupipe-benchmarker	最終チェックを実施します
2023-11-25T03:36:50.987Z	info	isupipe-benchmarker	最終チェックが成功しました
2023-11-25T03:36:50.987Z	info	isupipe-benchmarker	重複排除したログを以下に出力します
2023-11-25T03:36:50.988Z	info	isupipe-benchmarker	配信を最後まで視聴できた視聴者数	{"viewers": 73}

[一般エラー] POST /api/icon へのリクエストに対して、期待されたHTTPステータスコードが確認できませんでした (expected:201, actual:500)
[一般エラー] POST /api/livestream/7528/livecomment/1043/report へのリクエストに対して、期待されたHTTPステータスコードが確認できませんでした (expected:201, actual:404)
[一般エラー] POST /api/livestream/7531/livecomment/1052/report へのリクエストに対して、期待されたHTTPステータスコードが確認できませんでした (expected:201, actual:404)
[一般エラー] POST /api/livestream/7531/livecomment/1102/report へのリクエストに対して、期待されたHTTPステータスコードが確認できませんでした (expected:201, actual:404)
[一般エラー] POST /api/livestream/7555/livecomment/1340/report へのリクエストに対して、期待されたHTTPステータスコードが確認できませんでした (expected:201, actual:404)
[リクエストタイムアウト] GET /api/livestream/7579/statistics: Get "https://gototsubasa0.u.isucon.dev:443/api/livestream/7579/statistics": context deadline exceeded (Client.Timeout exceeded while awaiting headers): タイムアウトによりリクエスト失敗
[リクエストタイムアウト] GET /api/livestream/7581/statistics: Get "https://vkobayashi0.u.isucon.dev:443/api/livestream/7581/statistics": context deadline exceeded (Client.Timeout exceeded while awaiting headers): タイムアウトによりリクエスト失敗
[リクエストタイムアウト] GET /api/tag: Get "https://pipe.u.isucon.dev:443/api/tag": read udp 10.0.5.226:34276->35.78.167.13:53: i/o timeout: タイムアウトによりリクエスト失敗
[リクエストタイムアウト] POST /api/icon: Post "https://pipe.u.isucon.dev:443/api/icon": read udp 10.0.5.226:44134->35.78.167.13:53: i/o timeout: タイムアウトによりリクエスト失敗
[リクエストタイムアウト] GET /api/user/minoruyamamoto1/icon: Get "https://pipe.u.isucon.dev:443/api/user/minoruyamamoto1/icon": read udp 10.0.5.226:33970->35.78.167.13:53: i/o timeout: タイムアウトによりリクエスト失敗
名前解決成功数 19887
売上: 14927
Top 20 Sort By Total
Count    Total    Mean  Stddev     Min   P50.0   P90.0   P95.0   P99.0     Max   2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
  855  163.850  0.1916  0.1568   0.001   0.163   0.418   0.491   0.634   0.775   852    0    3    0    12045443          0      14088      63662  GET /api/livestream/<num>/livecomment
  889  160.444  0.1805  0.1550   0.000   0.147   0.410   0.467   0.612   0.770   886    0    3    0    11363390          0      12782      61321  GET /api/livestream/<num>/reaction
   38  120.007  3.1581  1.4511   0.174   3.067   3.571   6.421   9.679   9.679    37    0    1    0         851          0         22         23  POST /api/livestream/<num>/moderate
  410   84.996  0.2073  0.0613   0.000   0.209   0.278   0.305   0.348   0.401   407    0    2    1      191361          0        466        516  POST /api/register HTTP/1.1
 7233   83.169  0.0115  0.0077   0.000   0.010   0.022   0.027   0.038   0.074  7231    0    2    0   408891056          0      56531     171847  GET /api/user/*/icon
   35   69.836  1.9953  5.5834   0.000   0.001   5.248  20.000  20.000  20.000     2    0   33    0        2482          0         70        102  GET /api/livestream/<num>/statistics
   77   59.497  0.7727  0.2512   0.021   0.823   1.010   1.038   1.115   1.115    74    0    3    0     4428601          0      57514      63662  GET /api/livestream/search?limit=<num> HTTP/1.1
  807   49.848  0.0618  0.0162   0.005   0.062   0.082   0.088   0.101   0.121   805    0    2    0     1557104         57       1929       2668  POST /api/livestream/<num>/livecomment
  259   45.062  0.1740  0.0873   0.001   0.177   0.281   0.314   0.387   0.465   256    0    3    0      297353         62       1148       1475  POST /api/livestream/reservation HTTP/1.1
  788   27.349  0.0347  0.0143   0.002   0.033   0.053   0.060   0.071   0.106   788    0    0    0     1461768       1552       1855       2221  POST /api/livestream/<num>/reaction
   22   20.780  0.9445  0.7038   0.106   1.179   1.686   1.712   1.729   1.729    22    0    0    0     2670893     108441     121404     142098  GET /api/livestream/search?tag=<tag>
  424    9.531  0.0225  0.0099   0.007   0.021   0.036   0.042   0.054   0.064   417    0    0    7        7648         14         18        154  POST /api/icon HTTP/1.1
  415    4.145  0.0100  0.0061   0.001   0.009   0.018   0.022   0.029   0.036   413    0    2    0         128          0          0         64  POST /api/login HTTP/1.1
  247    3.018  0.0122  0.0082   0.001   0.010   0.023   0.026   0.043   0.056   247    0    0    0     1505459       6089       6094       6095  GET /api/tag HTTP/1.1
   76    2.926  0.0385  0.0373   0.005   0.026   0.084   0.122   0.186   0.186    76    0    0    0      161918          3       2130      22624  GET /api/livestream HTTP/1.1
   49    2.246  0.0458  0.0237   0.003   0.046   0.081   0.088   0.099   0.099    42    0    7    0      108498         57       2214       2659  POST /api/livestream/<num>/livecomment/<num>/report
    1    1.942  1.9420  0.0000   1.942   1.942   1.942   1.942   1.942   1.942     1    0    0    0          27         27         27         27  POST /api/initialize HTTP/1.1
   87    1.839  0.0211  0.0307   0.001   0.012   0.038   0.087   0.192   0.192    87    0    0    0       55049          3        632       8209  GET /api/livestream/<num>/report
   14    1.637  0.1169  0.0447   0.026   0.124   0.175   0.180   0.180   0.180    14    0    0    0        1957        133        139        147  GET /api/user/*/statistics
   59    1.501  0.0254  0.0108   0.005   0.024   0.042   0.054   0.056   0.056    59    0    0    0         295          5          5          5  GET /api/livestream/<num>/ngwords

@cureseven cureseven merged commit a532ad2 into main Nov 25, 2023
@cureseven cureseven mentioned this pull request Nov 25, 2023
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