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

GraphQL Performance #32

Open
4 of 6 tasks
aseerkt opened this issue Nov 9, 2021 · 0 comments · Fixed by #33
Open
4 of 6 tasks

GraphQL Performance #32

aseerkt opened this issue Nov 9, 2021 · 0 comments · Fixed by #33
Labels
enhancement New feature or request

Comments

@aseerkt
Copy link
Owner

aseerkt commented Nov 9, 2021

Problem Statement

  • GraphQL requests take quite a good amount of time.

Possible fixes

  • Reduce profile field resolve on user field
  • (Not needed) Reduce CORS preflight request time
  • (Not needed) Cache preflight request with Access-Control-Max-Age header
  • Fix follow data loader
  • Load only two comments and comment count in the posts page
  • Better resolving approach for counts like followCount, likeCount, commentCount and, postCount

Updates

  • No need for CORS in production since deployment is moved to Heroku only.
@aseerkt aseerkt added bug Something isn't working help wanted Extra attention is needed labels Nov 9, 2021
@aseerkt aseerkt linked a pull request Nov 9, 2021 that will close this issue
@aseerkt aseerkt reopened this Nov 9, 2021
@aseerkt aseerkt added enhancement New feature or request and removed bug Something isn't working labels Nov 15, 2021
@aseerkt aseerkt removed the help wanted Extra attention is needed label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant