5,000 Pages/sec
Sustained peak request volume during high-traffic events.
Crawl 10 billion web pages with politeness policies, deduplication, and distributed URL frontiers.
Target production parameters expected in a senior or staff interview round.
Sustained peak request volume during high-traffic events.
Daily active users generating read and write operations.
Projected data ingestion and replication storage capacity.
Strict end-to-end percentile latency SLA constraint.
Establish clear problem boundaries before proposing architectural components.
Step-by-step arithmetic conversions for QPS, storage, and bandwidth.
| Dimension | Calculation Formula | Estimated Result |
|---|---|---|
| Crawl Velocity | 10 Billion pages ÷ 30 days = ~3,850 pages/sec | ~5,000 Peak Pages/sec |
| Storage Footprint | 10B pages × 50 KB compressed HTML | ~500 Terabytes raw storage |
How requests navigate ingress gateways, application logic, caching, and persistence.
Manages crawl scheduling, ensures domain rate-limiting, and balances URL freshness.
Downloads pages, obeys robots.txt directives, and parses out new URLs and text tokens.
Filters seen URLs using Bloom filters and prevents near-duplicate content indexing with SimHash.
Entity models, indexing, and primary key partitioning.
Stored in Bigtable / Cassandra keyed by reversed domain name.
How to defend engineering compromises when challenged by interviewers.
Rationale: Bloom filters check billions of URLs in RAM in sub-microseconds without overloading disks.
Key interview questions and conceptual defenses.
Implement maximum path depth limits, query parameter normalization, and domain-level URL crawl quotas.