Menu

Express Node.js Generate CSV Export Upload — Tenant-Isolated Signed Downloads
📰

Express Node.js Generate CSV Export Upload — Tenant-Isolated Signed Downloads

DEV Community: express·CarterHughes6849·12 days ago
#A2S6YlCw
#devtoexpress#devto#dev#object#tenant
Long article (1491 words) — no AI summary yet.
Reading 0:00
15s threshold

Short answer: put each game's export in a tenant-scoped object key, stream the CSV from an Express job, and issue a short-lived signed download only after the final object write is confirmed. Keep the deletion deadline in durable metadata, separate from the link's expiry.

The page that wakes me up is not “CSV generation failed.” It is a support ticket saying a signed contract downloaded yesterday, after the retention deadline, or that two teams can see the same filename. The useful signal should have fired earlier: an export stuck in uploading , a cleanup cursor that has not moved, or a key whose tenant prefix does not match its owner.

This is a delivery workflow, not a button handler. In a gaming service, legal documents can arrive while a match is active and a tenant can be a publisher, studio, or tournament organizer.…

Continue reading — create a free account

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