Insight Ingestion Orchestration, Built From Scratch
Every insight family on the legacy stack had its own bespoke pipeline. I designed and built the orchestration service the Insights Store now runs on: signal-driven, config-first, and loud when something fails.
The problem
Audience insights (purchase frequency, share of voice, brand switching, demographics, and more) were each computed by their own hand-wired pipeline. Onboarding a new metric meant new code, failures were discovered by customers, and nobody could answer a simple question: what ran, when, and did it publish?
What I built
- A Coral API gateway with Lambda handlers in front of DynamoDB signal tables that track metrics, subtypes, families, and publishes.
- A configuration bucket holding auto-deployed JSON configs, so a family is described in config, not code.
- A work queue with a dead-letter queue and a driver Lambda, plus a Step Function that generates the artifacts each run produces.
- A Scala Glue payload generator and a signal processor with SNS fan-out, so downstream consumers react to publishes instead of polling.
- A job metadata table and long-runtime alarms, so a stuck job pages a human instead of stalling quietly.
Decisions
- Signals over schedules
- Downstream work triggers off publish signals recorded in DynamoDB, not chains of cron timers. If an upstream run is late, downstream waits for the signal instead of computing on stale data.
- Config over code
- New families and metrics onboard through JSON configuration that deploys itself. I wrote the config-authoring standard operating procedure so the next engineer does not need me in the room.
- Fail loud
- Dead-letter queues and long-runtime alarms are part of the design, not an afterthought. A failed insight run is a ticket and an alarm, never a silent gap in a dashboard.
Stack: Java (Coral), Lambda, DynamoDB, Step Functions, Glue (Scala), SQS and SNS, TypeScript CDK, Andes 3.0 and Feature Store






