Urgent.News

What's breaking now, across thousands of outlets.

Tech

Refreshing Expired Signed Object Storage Access for Generated SaaS Training Images

Short answer: keep generated training images private, store object keys rather than signed links, and have the SaaS API issue a fresh presigned download URL when a preview or download encounters an expired one. Don't turn the bucket public. That doesn't fix the ownership problem, and it isn't an available escape hatch in the evaluated API: public and public-read ACLs are unavailable, so…

The report suggests that for a SaaS app storing generated training images, it's crucial to keep these images private and store object keys instead of signed links. The SaaS API should issue a fresh presigned download URL when an expired one is encountered. It's advised not to turn the bucket public as public and public-read ACLs are unavailable, resulting in a null public_url.

The report emphasizes that the link is not the artifact, and the distinction between the two drives storage costs, recovery plans, and large-file tests. It recommends starting with byte-days, requests, and transfer charges to understand the workload better. The report also proposes using a private object with a stable database record containing its bucket and key, and a short-lived URL treated as disposable delivery state.

It advises keeping one canonical artifact for the reproducibility window, deleting derived previews when their window ends, and retaining the metadata needed to explain that deletion.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I Built a Cheapest Fuel Station Map from Spanish Open Data

Spain publishes the price of every public fuel station as open data. The feed is refreshed every 30 minutes, contains roughly 11,500 stations and needs no API key.

  • FuelSpot project maps cheapest Spanish fuel stations using open data
  • API challenges resolved by forcing JSON response and normalizing data
  • "Near me" search filters stations by radius, calculates distances, and sorts by price

Understanding IaaS: A Practical Look at AWS EC2

Introduction A few years ago, if you wanted to put a website online, you had to buy a physical server, find a place to keep it, and look after it yourself.

  • IaaS provides virtual computing resources like VMs, storage, and networking over the internet.
  • Amazon EC2 is a popular IaaS compute service from Amazon Web Services (AWS).

Node.js Marketplace Webhooks: Rate-Limit Queues, Retries, and Delivery Guarantees

Short answer: use a queue-centered design for delayed marketplace webhooks when you need retries and basic rate-limited processing without complex orchestration.

  • Use a queue-centered design with Node.js webhooks for delayed processing and retries
  • Keep event ledger in Postgres, not the queue, for system of record
  • Implement idempotency keys and backoff strategies in workers for at-least-once delivery

More from Thursday 12 November →