API Design · Middle · Question 49 of 75
Why might a large export be better as an asynchronous job than a single GET?
- 1GET can't return files
- 2Asynchronous jobs are always faster
- ✓Correct answer: It can exceed timeouts and memory; a job (202 + status resource) can produce a file in storage and give the client a download link
Explanation
Presigned URLs let clients download large files directly from object storage.