Urgent.News

What's breaking now, across thousands of outlets.

Tech

Small Business Uptime Explained: 4 EU Signals Across SaaS and Self-Hosted Monitoring

A small property-management app should start with externally hosted uptime checks for its public health endpoint and heartbeat checks for delivery jobs. Self-host the monitor only when control over data location or the monitoring path matters enough to justify operating another failure domain. TL;DR: choose the setup that produces the clearest evidence with the least configuration, then send four…

Small businesses should begin with externally hosted uptime checks for public health endpoints and heartbeat checks for delivery jobs. Transition to self-hosted monitors only when data location or monitoring path control is crucial. Monitor with four signals: reachability, dependency readiness, job completion, and delivery outcome.

Repeated pinging on errors is unnecessary. External monitors should not be relied upon for internal-only paths. For a property-management app, a separate cron heartbeat is recommended. Delivery paths crossing trust boundaries require more correlation work. Uptime probes and notification-delivery checks address different aspects of the delivery process.

Use counters for attempts and failures, and calculate rates over a defined window. Keep the health endpoint simple, returning success only when the process is ready for its designated contract. Attribute values should be minimal to avoid cardinality problems and potential data leaks. Property notifications have varying urgency, so define alert policies based on user impact rather than the ease of exporting counters.

Multiple attempts should be counted for diagnosis, but alerts should only be generated on terminal results or error-rate windows that survive retry policies. Provide immediate feedback without creating unnecessary urgency. Benchmark monitoring designs by time-to-first-trustworthy-signal, not time-to-first-dashboard. Five-minute synthetic probes can detect dead endpoints later than one-minute probes but increase request rates and make transient network failures more visible.

Choose an interval based on response objectives and enforce consecutive failures to avoid treating a single missed attempt as an incident. Keep the application contract generic, using a probe to check reachability and response time without binding the service to a monitoring vendor. The heartbeat monitor should send a success signal after completing its task.

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

NestJS tip: how to try any official sample in seconds

Let's say you want to run one of the official NestJS samples, the ones under the sample folder of the nestjs/nest repository, to see how some feature looks like in a real app.

  • New tool lets you run NestJS samples in seconds
  • Requires Node.js 22 or higher to use npx try-nest@latest
  • Samples list updates automatically from nestjs/nest repo

Your Agent Wrapped the Whole Function in try/catch and Called It Error Handling

The pattern that shows up in every agent PR You paste a stack trace into your agent. Twenty seconds later it comes back with a diff like this: def get_user_profile ( user_id ): try : row = db .

  • Try/catch blocks in functions labeled as error handling.
  • Real error handling requires answering three questions for each caught exception.
  • Blanket except Exception statements fail to address these questions adequately.

How to reduce data consumption on iPhone with simple settings

This iPhone guide covers system and app-level ways to reduce cellular data use. It explains what Low Data Mode changes, how to review usage by app, and how to limit background refresh or disable…

  • Enable Low Data Mode in Settings Cellular Data Mode to reduce data usage.
  • Control background app refresh per app or set to Wi-Fi only via Settings Wi-Fi.
  • Pre-download media for offline use and disable automatic downloads to save data.

KisanConnect Innohacks 4.0

This is a submission for the MLH x DEV Writing Challenge What I Built India has over 100 million farming households, and most of them make their biggest decisions on guesswork: what to plant this…

  • KisanConnect platform aids 100 million Indian farmers
  • App provides personalized crop recommendations
  • Features include disease detection and weather forecasts

More from Saturday 10 October →