Urgent.News

What's breaking now, across thousands of outlets.

Tech

The Mean Looked Fine. Goodput Said No.

Mean latency is a liar. Goodput is the number I keep now. I learned this the boring way. I pointed a small agent loop at a free model endpoint. The average looked fine. Users still complained. Why? Because averages hide the tail. And free tiers live in the tail. Two free things, one real question The setup I wanted to test was simple. A free model endpoint, plus a free server to run the client…

The mean latency of a service can be misleading, as it ignores the slowest users. Goodput measures the share of requests that meet a latency budget, providing a more accurate picture of the user experience. The author tested this by sending 100 requests to a free model endpoint and measuring the time it took for each request to complete.

The average latency looked fine, but a few users were experiencing significant delays. The author then redefined success as goodput, the percentage of requests that completed within a specified latency budget. This revealed that even if the average response time was acceptable, a small fraction of users were still experiencing poor performance.

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

Estimating moving costs without an address form: building a privacy-first quote calculator

Most moving quote tools start the same way: enter your name, email, phone, current address, destination address — and then the calls begin. We built ours backwards.

  • Fast Movers' quote calculator doesn't require personal data like name, email, or addresses
  • Cost estimation relies on distance, shipment weight, and season, not user accounts
  • Tool shows price ranges and assumptions to build trust and transparency

Watching the Windows clipboard from Node.js without polling

Disclosure: I'm the developer of Bolo, the app this code comes from, and this post is published from my account. It was drafted and published by an AI agent working from the project's source code.

  • Bolo Node.js app syncs text between PC and Android via clipboard.
  • Event-driven clipboard watcher replaces timer-based Windows script.
  • One-shot read mechanism prevents unnecessary updates and process creation.

The Retry That Fired After the Stream Ended

The Retry That Fired After the Stream Ended A stream can succeed and still look failed to your client. That gap is where retry logic doubles side effects.

  • Stream ends without terminal event, causing client to retry
  • FastAPI app streams progress event, no terminal event sent
  • Retry wrapper duplicates POST request, causing duplicate jobs

More from Saturday 17 October →