BackendData6 min read
An idempotent daily backfill that's safe to run twice
A backfill that isn't safe to re-run is a liability you put on a cron. Here's how we made every step a no-op the second time.

Sanskar Soni
Jun 17, 2026

Software Engineer
Backend-focused engineer working on the intelligence layer at Nestara — loan matching, eligibility models, and the APIs that tie them to the product. Thinks carefully about evaluation, correctness, and what it takes to ship ML in a regulated space.
A backfill that isn't safe to re-run is a liability you put on a cron. Here's how we made every step a no-op the second time.

Sanskar Soni
Jun 17, 2026
How a single unique constraint turns a noisy, duplicate-prone event stream into exactly-one webhook delivery per lead.

Sanskar Soni
Jun 17, 2026