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

Performance of additional_data module on datastore live #130

Open
michaelwood opened this issue Nov 30, 2022 · 0 comments
Open

Performance of additional_data module on datastore live #130

michaelwood opened this issue Nov 30, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@michaelwood
Copy link
Member

Writing the additional_data for the grants takes about ~hour. This makes testing and development quite slow.

time ./datastore/manage.py rewrite_additional_data latest

real    56m5.338s
user    29m44.645s
sys     2m19.053s

Possible solutions to investigate

  • Parallel processing
  • Bulk updates to avoid hitting the db
  • An in-memory store such as redis
  • Increase the ram to match the number of CPUs
@michaelwood michaelwood added the enhancement New feature or request label Nov 30, 2022
michaelwood added a commit that referenced this issue Nov 30, 2022
Attempt to speed up writing additional_data block.

Related: #130
michaelwood added a commit that referenced this issue Nov 30, 2022
Attempt to speed up writing additional_data block.

Related: #130
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

No branches or pull requests

1 participant