Skip to main content

Batch and Migration Integrations

Batch work needs different controls than day-to-day operational syncs.

Principles

  • split work into bounded chunks
  • persist checkpoints aggressively
  • throttle intentionally
  • monitor error rates and queue depth
  • be able to resume without duplicate side effects
  1. select a deterministic slice of records
  2. write or fetch in pages
  3. persist success and failure separately
  4. retry transient failures only
  5. escalate permanent failures for manual review