-
Notifications
You must be signed in to change notification settings - Fork 2
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
Speed up NOFO importing #129
Comments
Okay, ran the import function (before and after) #134 and here is what I found. Tested on two different NOFOs on my desktop and then online. testing locallyTested using a regular NOFO:
Tested using the longest NOFO we have ever seen:
testing on nofo.rodeoTested using a regular NOFO:
Tested using the longest NOFO we have ever seen:
VerdictHuge speedup. No question we should ship this. |
Once we merge #134, the next least good method we have is the |
Okay, testing my import function again now that I am using batch creates for Tested on two different NOFOs on my desktop and then online. testing locallyTested using a regular NOFO:
Tested using the longest NOFO we have ever seen:
testing on nofo.rodeoTested using a regular NOFO:
Tested using the longest NOFO we have ever seen:
VerdictThere is a modest speed up locally and then a much larger drop online. This makes sense, since there is more latency when the app is deployed in accessing the database, so the multiple |
After #135 goes in, I think we are good to close this issue. The next longest-running function is |
Closing since #135 went in! |
Hello!
We got hit with a humdinger of a NOFO document which winds up being 200+ pages once printed out.
It's so big, actually, that we can't even import it in production without hitting our 90 second timeout limit, which means it errors out.
Importing a NOFO takes about 10x longer in production than it does when I run the NOFO Builder locally. Some of that is latency but some of that is also that it's running on a less powerful machine.
Next step for this is to run a benchmarking assessment on the import function and see if we can identify a bottleneck.
The text was updated successfully, but these errors were encountered: