Urgent.News

What's breaking now, across hundreds of outlets.

AI

Large AI-Generated Image PNG Upload Timeout: Node.js Multipart vs Single PUT

Use multipart upload for large AI-generated images or batches when a single PUT starts timing out; keep single PUT for files that finish reliably. The deciding constraint is not PNG versus WebP. It is whether a failed request forces the entire artifact across the network again. That choice solves only transport. A media training pipeline also needs a reproducible rule for retention and deletion.…

The report discusses the issue of large AI-generated image uploads timing out when using a single PUT request in Node.js. It recommends using multipart upload for such large files or batches, noting that the deciding factor is not the file format (PNG versus WebP), but whether a failed request forces the entire artifact to be retransmitted over the network.

The report emphasizes that a media training pipeline requires a reproducible rule for retention and deletion, which should be modeled in the application database with columns for retention deadline, deletion request, and upload status. The coordinator should store upload ID, object key, completed-part receipts, attempt count, and retention deadline in the same database used by the media job.

This approach ensures that the coordinator can handle retries and cleanup effectively, even if a worker disappears between successful parts and completion.

Brief written by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

Why We Built a Pure-Rust GPU Terminal for Claude Code, Codex & Agy CLI (8 Pain Points Solved)

Traditional terminals (Terminal.app, Windows Terminal, iTerm2, Electron) were designed for one command at a time. When you run Claude Code , OpenAI Codex CLI , and Antigravity ( agy ) all day, every…

  • Unterm is a pure-Rust GPU terminal solving eight terminal pain points for AI coding CLI tools.
  • Features include zero-drop input, 1ms Windows timer, tear-free TUIs, and global synchronized output.
  • Unterm offers Fleet Arena for side-by-side development and Agent Cockpit for live pane monitoring.

More from Saturday, 28 November 2026 →