Repository navigation
14 Simulation vs Real Infrastructure
How faithful is the lab? An honest fidelity assessment: what carries over to production, and what does not.
Figure 14.1 · Fidelity of the simulation by area (project assessment).
| Area | Lab | Real deployments | Fidelity |
|---|---|---|---|
| Orchestration & fan-out | Actions matrix | Kubernetes/Airflow-style schedulers | High conceptually |
| Search client (pagination, status, dedup) | Real, tested | Same logic inside agent tool servers | High |
| Upstream reaction (CAPTCHA/202) | Observed live | Same phenomenon, plus managed vendor contracts | Medium |
| Observability & evidence | Logs, artifacts | Metrics, tracing, SLOs | Medium |
| Crawl & index | Not present | Distributed crawl, storage, ranking | None |
| Dense/ANN retrieval | Not present | Vector DBs (e.g. HNSW) | None |
| LLM orchestration | Not present | Hosted search tools (8) | None (planned) |
| Traffic identity | Shared runner IPs | Declared crawler IPs / signed agents (16) | Low |
| Legal/commercial terms | Informal | Licences, contracts, pay-per-crawl | Low |
- Agent tool servers (search/fetch MCP servers, vendor server-side tools) face the same status-truth problem.
- Upstream concentration — a lab dependency on DuckDuckGo mirrors industry dependency on a few indexes (9.2).
- Politeness vs throughput — same trade-off, orders of magnitude smaller.
- Provenance and citation — vendors return citations (Claude docs); the lab keeps source-engine provenance per URL.
| Claim | Verdict |
|---|---|
| Build a reproducible search-collection pipeline on free runners | ✅ Demonstrated (CI runs completed) |
| Classify provider failures instead of flattening them | ✅ Demonstrated (202, CAPTCHA page 16) |
| Preserve partial output | ✅ Demonstrated (216 URLs kept) |
| Operate multi-stage orchestration with write-back | ✅ Demonstrated (archive, push, artifacts) |
| Reliable deep pagination | |
| Repeatability | |
| Parallel multi-query at scale | |
| Whole agentic search stack | ❌ Out of scope so far |
Summary: the lab reproduces the client-side reliability layer of an agentic search stack with good fidelity and says very little about index quality, ranking or reasoning.
- Single upstream (DuckDuckGo) and a single query.
- Runner network identity may differ from user traffic.
- Time variation: upstream behaviour at one moment may not repeat.
- Selection: a PDF-heavy query may not represent general queries.
- Measurement: string-based PDF counts; no content verification.
Add a second independent upstream (after terms review), fault-injection with mocked engines, replay of recorded SERPs, and a tiny local crawl+BM25 index over a permitted corpus to study ranking — all within CI limits (21).
Q1. What is the lab's strongest transferable result?
That success must be defined at several layers — HTTP, engine, results, completeness — and partial data must survive failure.
Q2. Name one threat to external validity.
Single upstream/single query; runner IP identity; one time window.
Q3. Which real-world component is entirely absent?
Crawler + index + ranker (and the LLM layer).
← Prev 13. Reliability · Next → 15. Bot Traffic & AI Crawlers
Web Search Engine Pipeline Wiki · evidence snapshot 29 Nov 2026 · measured results are from the project's GitHub Actions runs; third-party figures are cited inline and listed in References.
Part I · Mission
Part II · Search Ecosystem
Part III · LLMs Meet the Web
- 6. Parametric vs Retrieved Knowledge
- 7. Agentic Search Architecture History
- 8. How Major Assistants Search
- 9. Search APIs for Agents
- 10. Agentic Browsing & Computer Use
Part IV · Simulation Lab
- 11. Simulation Strategy on GitHub Actions
- 12. Experiments & Measured Results
- 13. Reliability & Failure Taxonomy
- 14. Simulation vs Real Infrastructure
Part V · The Machine-Majority Web
- 15. Bot Traffic & AI Crawlers
- 16. Detection, Blocking & Monetisation
- 17. Detection Gaps
- 18. AI-Generated Content & the Info Ecosystem
- 19. Industry Adoption & Use Cases
Part VI · Future
Appendix