Menu

Implementing Large CSV/PDF Export Downloads with Object Storage (Presigned URL Retry)
📰

Implementing Large CSV/PDF Export Downloads with Object Storage (Presigned URL Retry)

DEV Community: go·robertmiller4179·about 3 hours ago
#ADKTkrp3
#devtogo#devto#dev#object#storage
Long article (1935 words) — no AI summary yet.
Reading 0:00
15s threshold

For a healthtech service, a large CSV or PDF export download can time out even after object storage reports a completed upload: a slow browser may outlive its presigned URL, while the signed clinical document still has to remain tenant-isolated and disappear on its retention deadline.

Short answer: generate each large CSV or PDF asynchronously into a tenant-scoped private object, validate its headers, and only then issue a presigned URL with enough lifetime for the slowest expected download; on retry, mint a fresh URL and let the client resume where its storage provider supports range requests.

This is an operating-cost decision, not a unit-price contest. The bill includes export compute, object storage, support contacts, retry traffic, and the engineering time required to integrate and observe the path.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.