Image Thumbnail Timeouts Before Storage Upload in Node.js: Splitting the Pipeline
A Node.js marketplace issue shows thumbnail requests timing out before reaching object storage, which the author attributes to multiple timing stages sharing one deadline. The piece argues resizing should be a bounded worker step separate from upload, with private derivatives written under tenant-scoped keys. It compares Amazon S3, Cloudflare R2, Google Cloud Storage, and Infrai on fit and trade-offs, emphasizing that the application, not the storage provider, should control tenant read access. The author recommends measuring queue wait, decode, encode, and upload durations separately, logging per derivative rather than per request, and enforcing a finite derivative plan with input caps.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in