Urgent.News

What's breaking now, across thousands of outlets.

Tech

Horizontal Scaling Series — Part 1: MinIO and Shared Object Storage

When we horizontally scale an application, adding more instances is only part of the solution. We also need to consider where the application stores its data and how other instances access it. While exploring horizontal scaling, I came across MinIO, an S3-compatible object storage system, and wanted to understand how it helps address one of these challenges. The problem: Local storage in a…

We haven't written up this one. Dev.to has the full story — the link below goes straight to it.

Read the original at dev.to →

More in Tech

Debugging Service Workers in Firefox: DevTools, about:debugging, and Common Issues

Service workers are a critical web platform feature — they enable offline capabilities, push notifications, and background sync. Firefox has full service worker support.

  • Firefox provides comprehensive support for service workers with DevTools and about:debugging
  • Common Firefox service worker issues: incorrect scope, registration errors, and HTTPS requirements

Setting an env var above your imports does not run before them, and our integration test works anyway

The largest test file in PubTrivia is 543 lines, and it has no mocks in it. It calls the actual server actions a player's phone calls, and the actual engine the host's buttons and our WebSocket server both call, against the actual Postgres database the app uses. That is a trade with real costs, which I will get to.

  • Lines above imports do not run before imports in ES modules
  • Import declarations are hoisted, evaluated before module execution
  • Async function disabling WebSocket notifications returns early with warning

More from Friday 16 October →