Design an Incremental Crawler for SaaS and Cloud Data Repositories

Last updated: November 29, 2026

Quick Overview

Design the ingestion system that continuously discovers files and their permissions across customers' Google Drive, Microsoft 365, Box, Slack and S3 accounts, so a classification engine always sees new and changed content without rescanning everything.

Concentric Ai
System Design
Software Engineer
Concentric Ai
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the ingestion system that continuously discovers files and their permissions across customers' Google Drive, Microsoft 365, Box, Slack and S3 accounts, so a classification engine always sees new and changed content without rescanning everything.

Concentric AI's job postings describe building ingestion of data into its proprietary platform, and every DSPM finding depends on that pipeline being complete and fresh. The interviewer wants to see API rate limits, change feeds, multi-tenancy and idempotent processing handled concretely rather than a generic queue diagram.

What the Interviewer Expects
  • Separate initial full scan from incremental change tracking
  • Respect per-tenant and per-API rate limits with backoff
  • Make processing idempotent with versioned checkpoints
  • Store metadata and permissions separately from content bytes
  • Isolate tenants so one large customer cannot starve others
  • Define freshness and completeness metrics
Key Topics to Cover
Connectors
Change data capture
Rate limiting
Multi-tenancy
Idempotency
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • A customer has 2 billion objects in S3; how long does the first scan take and how do you speed it up?
  • How do you detect that a change cursor was lost or expired?
  • How would you avoid storing customer file content at all?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: connect via OAuth or IAM role, enumerate every object with metadata and ACLs, fetch content for classification, then keep up with creates, edits, permission changes and deletes. Non-functi...

High-Level Design

Control plane holds tenant configs, credentials (in a KMS-backed vault) and per-connector checkpoints. A scheduler emits work units: list(folder or prefix) during the initial crawl and `poll(cursor)...


Submit Your Answer
Markdown supported

Related Questions