Urgent.News

What's breaking now, across thousands of outlets.

Tech

Critical Alert SMS API Economics: Polling Evidence Before Retry and Resend

For a marketplace sending new-order SMS notifications to sellers, the dominant variable is often not the send itself. It is everything retained and repeatedly read afterward: status polls, event records, retry attempts, and audit data. TL;DR: choose an SMS API only after calculating that observation load. A polling API is a sound fit for critical outage alerts when your backend can schedule…

When sending SMS notifications to sellers for a marketplace, the most important factor is not the initial send, but the ongoing status checks, event records, retries, and audit data. To choose an SMS API for critical outage alerts, calculate the observation load before committing to a polling API. A polling API is suitable when your backend can manage delivery-status checks, retries, escalation, cancellation, and country controls.

Instead of polling at a fixed interval, poll based on the remaining value of the notification. Keep a concise decision ledger with provider identifiers and discard message bodies and raw event details after a documented period. The Infrai SMS API offers a simple REST interface with no SDK required, making it easy to integrate with both Node.js and Python applications.

To calculate the capacity needed, consider the number of seller notifications awaiting final observation. For a busy marketplace with 12,000 notifications, polling every 15 seconds results in 800 status reads per second, or 48,000 reads per minute.

Retaining raw event data adds another layer to the cost model, including records per attempt, retention days, index overhead, and replicas. The most critical period for status checks is the first few minutes after an order is accepted. Once an order is cancelled, further status checks and resends are unnecessary.

Node.js and Python applications can handle the control loop differently, but the capacity equation remains the same. Use an explicit GET method with Retry-After handling and schedule status checks in intervals such as 15, 30, 60, 120, and 240 seconds. Add jitter to prevent many orders from checking simultaneously and stop immediately when the order or notification reaches a terminal state.

For operational efficiency, maintain a compact ledger with business identifiers, provider message identifiers, attempt numbers, state observations, policy versions, destination countries, and correlation identifiers. Focus on the provider-native state needed to explain the normalization rather than storing message bodies, which can increase privacy concerns.

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

I Built SpeedPulse: An Open-Source Internet Speed Tester with ASP.NET Core 10 and TypeScript

I Built SpeedPulse: An Open-Source Internet Speed Tester with ASP.NET Core 10 and TypeScript After working on its testing interface, diagnostics, backend, and release pipeline, I'm excited to…

  • SpeedPulse v1.0.0, open-source internet speed tester launched
  • Features connection speed testing, interactive dashboard, developer labs
  • Available for download via GitHub Pages or self-hosted ASP.NET Core 10

When a cert-manager Keystore Runs Behind a Password Change

cert-manager v1.21.2's API reference: "The keystore file will be updated immediately." After a password change, the keystores opened only with the old password throughout our 30-minute window.

  • Cert-manager v1.21.2 has keystore password change issue
  • Keystore entries remain encrypted for 30 minutes post-change
  • Certificate stays Ready=True, but entries stay encrypted

Node.js Marketplace Verification: 6 Secure SMS OTP Login Flow Lockout and Replay Defenses

Short answer: design a secure SMS OTP login flow by putting rate limiting, retry control, lockout, and replay protection in your Node.js backend, before and after the provider call.

  • Implement six security gates before provider call in Node.js OTP flow
  • Seller requests vehicle service report, backend enforces defenses
  • Protect provider call with idempotency key and exponential backoff

More from Saturday 17 October →