What I learned building 12 public-feed monitors: cost caps matter more than scraping speed
I've been building small monitors for public feeds (Hacker News, SEC filings, Federal Register, ClinicalTrials, YouTube RSS) and the biggest lesson wasn't about scraping technique.
It was about cost and honesty.
Three design choices made the difference:
- A hard cap on rows written per run, plus a dry-run mode that fetches and dedups without committing anything.
- Deterministic dedup: ordered seen-queues, oldest trimmed first, and records with no usable timestamp are skipped rather than re-emitted with a fabricated "now" (a now() fallback turns every run into a "new" run and quietly doubles cost).
- Honest truncation semantics: when a batch is capped, only items actually pushed advance the watermark. The rest stay eligible for the next run instead of being silently dropped.
The uncomfortable truth: cross-run checkpointing isn't reliable on the default setup because each run gets a fresh key-value store. I now say that explicitly rather than implying a "only-new-since-last-run" feed I can't guarantee.
Curious whether others building scheduled scrapers have run into the same trap — especially the timestamp fallback one.
p/producthunt
p/google-cloud-platform
p/meridian-16
p/runevr
p/beamfy
p/reso
p/lancetta
p/make0-brain
p/stackscope-dev
p/comcent
p/netfox
p/vitals-3
p/many-displays
p/expert-chase-deleted-1107920
p/magic-lasso-adblock
p/kodlo
p/monocloud-for-startups-free-for-1-year
p/dino-kids
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.