usdigitalresponse / arpa-reporter

Web app to aid government agencies in reporting on ARPA grants.
Apache License 2.0
3 stars 0 forks source link

Generate Audit Report is too slow #487

Closed ajhyndman closed 2 years ago

ajhyndman commented 2 years ago

Can we optimize the processing of this report?

mattbroussard commented 2 years ago

497 is an optimization that helps this.

If we get to a point where audit report generation is complicated enough that optimizations like that don't get us below the request timeout (do we know what that limit is?) we could consider decoupling report generation from request lifetime -- e.g. the client sends one request to start generation, which kicks off the process and returns immediately; then the client polls in separate requests to find out when the job is done.

mhuang-usdr commented 2 years ago

Closing for now, will ask partners to resubmit issue if it's still too slow.