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

Serializer optimization #144

Open
johnpooch opened this issue Jul 29, 2020 · 0 comments
Open

Serializer optimization #144

johnpooch opened this issue Jul 29, 2020 · 0 comments

Comments

@johnpooch
Copy link
Owner

johnpooch commented Jul 29, 2020

The service is very slow because the serializers are badly optimized.

  • john-optimizations Add some prefetch and select relateds which greatly reduces the number of queries.
  • We should also remove any unnecessary data from the calls.
  • We should ensure that there are no unnecessary calls. For example, flag coordinates should only be pulled once. Same with territory paths.
  • There are a few methods on nation state which should be de-normalized because they are slow.
@johnpooch johnpooch added this to the Version 0.2 milestone Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant