<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/three-of-six-polls-came-back-empty-each-cost-the-same-as-a-full-page--b9cx223ra" -->

---
title: Three of six polls came back empty. Each cost the same...
description: An experiment tests whether a news API's free tier (20 calls/minute, 100/day) can reliably follow a delta-polling firehose without missing data. Running two...
canonical: https://daily.dev/posts/three-of-six-polls-came-back-empty-each-cost-the-same-as-a-full-page--b9cx223ra
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Three of six polls came back empty. Each cost the same as a full page. | daily.dev
og:description: An experiment tests whether a news API's free tier (20 calls/minute, 100/day) can reliably follow a delta-polling firehose without missing data. Running two...
og:url: https://daily.dev/posts/three-of-six-polls-came-back-empty-each-cost-the-same-as-a-full-page--b9cx223ra
og:image: https://api.daily.dev/og/posts/b9Cx223ra.png
og:image:alt: Three of six polls came back empty. Each cost the same as a full page.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Three of six polls came back empty. Each cost the same as a full page.

**[AlphAI](https://daily.dev/sources/alphai)** · [@mikhailmakeev](https://daily.dev/mikhailmakeev) · 2 min read · 0 upvotes · 0 comments

## Summary

An experiment tests whether a news API's free tier (20 calls/minute, 100/day) can reliably follow a delta-polling firehose without missing data. Running two polling chains over 18 minutes revealed that arithmetic between poll budget, page size, and ingestion rate determines whether a filter is viable, and that enrichment arrives in batches, causing half the polls to return empty results at the same cost as full ones. The writeup argues clients should implement exponential backoff after empty responses and reset on a hit, and notes several contract edge cases (oversized pages, date windows in delta mode, borrowed cursors, archive horizon) that failed gracefully with documented reasons.

## Content

I built this against a hard constraint: 20 calls a minute, 100 a day, one key, no card. That's the free tier on our own news API (alphai.io/developers), and I wanted to know whether you can follow a firehose on that budget without missing anything.

Delta polling, not paging. Ask for rows in the order they became available and a cursor comes back every time, with an empty result meaning you're caught up. One line starts a chain:

`curl -H "Authorization: Bearer $KEY" "https://api.alphai.io/api/news/?sort=ingested&page_size=20&min_relevance=8"`

Then feed each response's next_cursor back as cursor. A cold start hands you the newest page and a cursor at now, so you can't walk into history by accident.

I ran two chains side by side for 18 minutes, polling every three minutes, 14 calls in all. Unfiltered: 16, 0, 10, 0, 0, 4. At min_relevance=8: 4, 0, 1, 0, 0, 1.

Two things fell out. The first is that the arithmetic picks your filter for you. Thirty rows in 18 minutes is roughly 100 an hour, a budget of 100 calls a day is one poll every 14.4 minutes, and the free page caps at 20 rows. So on the unfiltered feed you arrive to find 23 rows waiting for a page that holds 20, behind on the first poll with no way back. At the higher floor it's about 20 an hour, five per interval, four times more budget than you need.

The second is that half my calls bought nothing. Enrichment lands in batches, so three of six polls came back empty, and an empty poll costs exactly what a full one does. Nothing in the response hints when to come back, so a real client should double its interval after each empty answer and reset on a hit. That gap is ours, and it's going in the docs.

I checked four contract edges expecting one to lie: an oversized page, a date window inside delta mode, a borrowed cursor, a reach past the archive horizon. Each failed with the reason and the fix written into the body.

If you poll something else on a metered budget, what does your backoff look like?

## Similar posts on daily.dev

- [From Batch to Micro-Batch Streaming: Lessons Learned the Hard Way in a Delta Index Pipeline](https://daily.dev/posts/from-batch-to-micro-batch-streaming-lessons-learned-the-hard-way-in-a-delta-index-pipeline-wdc2knjc0) · InfoQ · 0 upvotes · 0 comments
- [WebSocket vs SSE vs Long Polling: The Real Cost of 1,000 Events](https://daily.dev/posts/websocket-vs-sse-vs-long-polling-the-real-cost-of-1-000-events-wip1lzawd) · The Infinity · 188 upvotes · 29 comments
- [Benchmarking Campfire with Many Users](https://daily.dev/posts/benchmarking-campfire-with-many-users-rr37zdios) · RUBYLAND · 1 upvotes · 0 comments
- [When Impressive Performance Gains Do Not Matter](https://daily.dev/posts/when-impressive-performance-gains-do-not-matter-cxqe3fpey) · Lobsters · 0 upvotes · 0 comments
- [A lesson about retries, hidden in the DeepSeek-V4 paper](https://daily.dev/posts/a-lesson-about-retries-hidden-in-the-deepseek-v4-paper-iggytzqox) · Quesma · 0 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture)

[View this post on daily.dev](https://daily.dev/posts/three-of-six-polls-came-back-empty-each-cost-the-same-as-a-full-page--b9cx223ra)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/three-of-six-polls-came-back-empty-each-cost-the-same-as-a-full-page--b9cx223ra","headline":"Three of six polls came back empty. Each cost the same as a full page.","text":"An experiment tests whether a news API's free tier (20 calls/minute, 100/day) can reliably follow a delta-polling firehose without missing data. Running two polling chains over 18 minutes revealed that arithmetic between poll budget, page size, and ingestion rate determines whether a filter is viable, and that enrichment arrives in batches, causing half the polls to return empty results at the same cost as full ones. The writeup argues clients should implement exponential backoff after empty responses and reset on a hit, and notes several contract edge cases (oversized pages, date windows in delta mode, borrowed cursors, archive horizon) that failed gracefully with documented reasons.","url":"https://daily.dev/posts/three-of-six-polls-came-back-empty-each-cost-the-same-as-a-full-page--b9cx223ra","datePublished":"2026-09-16T06:20:20.565Z","dateModified":"2026-09-16T06:20:39.031Z","author":{"@type":"Person","name":"Mikhail Makeev","url":"https://daily.dev/mikhailmakeev","image":"https://lh3.googleusercontent.com/a/ACg8ocIjcvDU1gmJ9-KJDeTYqY2rMdl5QxcWYtLTGSXrj8ubF4nwar_w=s96-c","description":"Owner of alphai.io","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":5150}},"image":"https://media.daily.dev/image/upload/s--zHJyOsPU--/f_auto/v1789539620/posts/b9Cx223ra?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/alphai","name":"AlphAI"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AlphAI","item":"https://daily.dev/squads/alphai"},{"@type":"ListItem","position":3,"name":"Three of six polls came back empty. Each cost the same as a full page."}]}
```

