Urgent.News

What's breaking now, across thousands of outlets.

Tech

Failover beyond DNS

So you've built a service and it's running in the cloud. It sits in a Kubernetes cluster, it's designed for high availability, and every component has a replica. Then the data centre loses its connection to the internet, and none of that helps. It happens more often than we'd like to admit. Data centres with multiple independent points of presence still have outages. On 20 October 2025, a DNS…

Web-Engine Sentry, a site-protection plugin, experienced hours of disruption after a DNS fault in AWS's US-EAST-1 region on October 20, 2025. This incident highlighted the importance of having a robust failover plan, as hardware alone cannot guarantee continuous service. One approach is to host in multiple geographic regions and use DNS failover to switch between them, but this method is not instantaneous.

Another solution is to make the software smarter by giving the client an ordered list of endpoints and allowing the service to automatically switch to the next available one. Web-Engine Sentry opted for this latter approach, decentralizing their endpoints across different domains managed by various DNS providers. By employing shorter TTLs, they could quickly repoint routes when necessary.

On the frontend, the Sentry script loads from the available CDN endpoint, with the browser knowing alternatives to try if the initial one fails. This strategy ensures geographically separate fallbacks managed entirely on the visitor's side. On the backend, the Sentry SDK acts as a gateway to the available service endpoints. Each backend runs its own separate database, holding specific tables duplicated across several sites.

The APIs keep these databases in sync with the master, allowing the service to remain operational even when the primary site is unavailable. When the master site returns, each node synchronizes the recorded data back to the master. This decentralized approach provides multiple layers of fault tolerance, enabling the service to keep running despite potential issues at the primary site.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Your coding agent is bad at Docker, and it isn't the agent's fault

I let a coding agent run my local stack for a few months. It writes the compose file, brings the services up, reads the logs, fixes the bug, and checks the fix worked. It's good at most of that.

  • Coding agent struggled with Docker interface designed for humans
  • Workarounds improved agent performance by reducing wasted turns

A confidence number your model reports is not a measurement

A confidence number your model reports is not a measurement The prompt line is almost universal: Answer the question, and also report your confidence as a number between 0 and 1. The model obliges.

  • Confidence number is not a genuine measurement.
  • Measured numbers come from recorded outcomes in a database.
  • Decorative numbers remain constant regardless of question difficulty.

Treat Your Demo Environment Like a Test Fixture

When a feature demo takes far more takes than it should, the cause is often the app, not the person recording it. A toast from a background job slides in.

  • Treat demo environment like test fixture for consistent results
  • Develop seed script for stable demo data and conditions
  • Create reset command to return environment to original state

Web Development SEO: How to Measure Real Website Performance With Core Web Vitals

A website can score well in a local performance test and still feel slow to some visitors. Why does this happen? Testing conditions differ.

  • Core Web Vitals measure loading, responsiveness, and visual stability.
  • Lab tests and real-user data provide comprehensive performance insights.
  • Use web-vitals library to collect metrics, ensuring privacy compliance.

More from Thursday 15 October →