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

N+1を解消する #249

Open
2 of 11 tasks
arata-nvm opened this issue Apr 19, 2024 · 0 comments
Open
2 of 11 tasks

N+1を解消する #249

arata-nvm opened this issue Apr 19, 2024 · 0 comments
Assignees
Labels

Comments

@arata-nvm
Copy link
Member

arata-nvm commented Apr 19, 2024

今の実装にはN+1が数多く含まれており、一部のページで表示が遅くなる懸念がある。実際に各エンドポイントの速度を計測した結果は https://scrapbox.io/jsys/SOS24_%E3%83%99%E3%83%B3%E3%83%81%E3%83%9E%E3%83%BC%E3%82%AF にある。

N+1を含むと思われているエンドポイントは以下の通り。

  • GET /projects
  • GET /projects/export
  • PUT /news/{news_id}
  • POST /news
  • GET /invitations
  • GET /form_answers
  • GET /form_answers/export
  • POST /form_answers
  • GET /forms
  • cronjob
  • GET /files/export
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant