WEEK 09 · 2026.09.21-09.27 · WRITER GATE

第 9 周行动指南 - 索引、排序与地理搜索

FB Post Search full coverage, then transfer the same retrieval/ranking muscles to News Aggregator and Yelp.

能力主线

本周只训练索引构建、候选召回、排序、新鲜度、地理搜索和质量信号,并且强制区分 recall latency、rank latency 和 presentation latency。

RECALL

Candidate retrieval

倒排索引、时间索引、geo cell 和粗过滤负责找到候选,不负责最终业务顺序。

RANK

Feature scoring

recency、like_count、source trust、distance、rating、review quality 和 abuse signals 进入排序。

PRESENTATION

Result assembly

snippet、highlight、media card、map pin、pagination cursor 和缓存命中属于展示延迟。

项目角色

日页面使用每个 live heading 的原始标题和 direct anchor;production record 写完整 disposition。

FULL · 41 live headings

FB Post Search

Full coverage with reading anchors and recall artifacts.

打开项目首页

TRANSFER · 20 live headings

News Aggregator / Google News

Transfer coverage: blind attempt, delta, invalid assumptions, new bottleneck and follow-up.

打开项目首页

TRANSFER · 21 live headings

Yelp

Transfer coverage: blind attempt, delta, invalid assumptions, new bottleneck and follow-up.

打开项目首页

DDIA 决策地图

只使用 Ch4 和 Ch13 的精确 decision anchors。

项目改变的决定链接
Day 1FB Post Searchkeyword search is an inverted index, not SQL LIKEhttps://ddia.vonng.com/ch4/#sec_storage_full_text
Day 1FB Post Searchrecency and like sort need index/ranker fields, not presentation sortinghttps://ddia.vonng.com/ch4/#sec_storage_index_multicolumn
Day 2FB Post Searchlarge write volume chooses update pipeline and refresh interval consciouslyhttps://ddia.vonng.com/ch4/#sec_storage_btree_lsm_comparison
Day 2FB Post Searchrebuild/search index as derived state, then swap safelyhttps://ddia.vonng.com/ch13/#id340
Day 3News Aggregatorfeed rows and index documents are derived from crawled source articleshttps://ddia.vonng.com/ch13/#id446
Day 3News Aggregatorhomepage/category feed caches are materialized views with staleness budgetshttps://ddia.vonng.com/ch13/#id451
Day 4News Aggregatorfreshness SLO requires observing index lag and stale derived statehttps://ddia.vonng.com/ch13/#sec_future_observing
Day 4News Aggregatorschema/ranking evolution needs reprocessing rather than hand editshttps://ddia.vonng.com/ch13/#sec_future_reprocessing
Day 5Yelpgeo search uses multidimensional indexes or grid cells, not naked lat/lng scanshttps://ddia.vonng.com/ch4/#sec_storage_multidimensional
Day 5Yelpcategory + price + open_now + distance are composite filter/rank constraintshttps://ddia.vonng.com/ch4/#sec_storage_index_multicolumn
Day 6Yelptext plus geo search combines full text retrieval with precise second-pass filtershttps://ddia.vonng.com/ch4/#sec_storage_full_text
Day 6Yelpreview/rating aggregate and search index are derived state that needs verificationhttps://ddia.vonng.com/ch13/#sec_future_verification

固定时间合同

时间Week 9 不变量证据
08:50-10:55系统设计主块,先闭卷/盲做,再用 canonical anchors 修正。每天 4 个 bounded segment。
14:30-16:15NeetCode Graphs,连续单一 tag,每天 exactly 3 slots。21 个 data-neetcode-slot。
20:30-21:15recall / Q&A / transfer follow-up / mock。day 页面和 scorecard 记录。

7 天执行

MON · 09-21

FB Post Search FULL: 35-minute attempt, requirements, HLD and index write/read path

Schedule is exactly 08:50-10:55, 14:30-16:15 and 20:30-21:15; Graphs has three contiguous slots.

进入
TUE · 09-22

FB Post Search FULL: deep dives, multi-keyword, writes, storage and privacy follow-up

Schedule is exactly 08:50-10:55, 14:30-16:15 and 20:30-21:15; Graphs has three contiguous slots.

进入
WED · 09-23

News Aggregator TRANSFER: blind attempt and HLD delta

Schedule is exactly 08:50-10:55, 14:30-16:15 and 20:30-21:15; Graphs has three contiguous slots.

进入
THU · 09-24

News Aggregator TRANSFER: pagination, freshness, latency and spikes

Schedule is exactly 08:50-10:55, 14:30-16:15 and 20:30-21:15; Graphs has three contiguous slots.

进入
FRI · 09-25

Yelp TRANSFER: blind attempt, geo candidate retrieval and search HLD

Schedule is exactly 08:50-10:55, 14:30-16:15 and 20:30-21:15; Graphs has three contiguous slots.

进入
SAT · 09-26

Yelp TRANSFER: rating aggregate, abuse, geo pagination and live mock

Schedule is exactly 08:50-10:55, 14:30-16:15 and 20:30-21:15; Graphs has three contiguous slots.

进入
SUN · 09-27

Repair, synthesis, scorecard and READY_FOR_REVIEW

Schedule is exactly 08:50-10:55, 14:30-16:15 and 20:30-21:15; Graphs has three contiguous slots.

进入

Applied-AI Radar

Rejected. No first-party/original AI source changed a concrete Week 9 decision about index construction, candidate retrieval, ranking, freshness, geo search, latency budgets, pagination, abuse signals, reindexing, metrics or recovery. No radar slot scheduled.

Local study materials
Detailed lecture notes, audio, recall scripts, PDFs, Staff Q&A, and mock packs are archived locally and are intentionally not published on this site.