Week 8 · Fri Sep 18, 2026 · Sep 14-20, 2026

Day 5: Price Tracking Service TRANSFER

A blind-first transfer artifact with deltas, invalid assumptions, new bottleneck, follow-up, and direct links to every Price Tracking heading.

Which crawler/scheduler assumptions break when the product is price history and alerts?Frontier · leases · retries · dedupe · recovery3 Heap/Priority Queue slots

Exact Time Blocks

Follow the Week 4 delivery pattern: blank-page first, source reading second, DDIA decision third, spoken close, contiguous algorithm practice, evening recall.

TimeBlockRequired output
08:30Wake + setupOpen this page, start the board, write the day question: Which crawler/scheduler assumptions break when the product is price history and alerts?
08:50—09:00Board setList entities, queues, leases, retry states, dedupe keys, metrics before reading.
09:00—10:05Blank-page attempt + Hello readingStart with a 25-minute blind attempt. Do not read first. Reuse only Week 8 mechanisms that actually transfer: crawl frontier, scheduler leases, retry/backoff, dedupe, and event logs. Then read all Price Tracking headings and mark deltas.
10:05—10:45Deep dive + DDIA decisionThe new bottleneck is not crawling pages; it is trustworthy change detection and threshold fanout. Extension reports are untrusted hints. The canonical price sample needs source validation, product identity, timestamp, old/new comparison, and a deduped PriceChanged event.
10:45—10:55Spoken closeWrite one follow-up question that exposes shallow transfer: if Amazon blocks direct scraping and extensions are noisy, what source becomes authoritative and how do you protect alert correctness?
14:30—16:15NeetCode Heap/Priority QueueComplete contiguous slots W8-H13—W8-H15; capture invariant and bug risk for each.
20:30—21:15Recall / Q&A / mockUse Staff Q&A, lecture assets, or mock script for the day's system.

Canonical Heading Anchors

Read only the listed Hello Interview headings for today's assignment. Every link is a direct day-page anchor.

  • TRANSFER blind scope check
  • TRANSFER requirements
  • TRANSFER scale and latency constraints
  • TRANSFER setup
  • TRANSFER planning
  • Product, price sample, subscription, alert
The APIDay 5
  • TRANSFER API
  • TRANSFER scrape/sample/notify flow
  • TRANSFER architecture
  • TRANSFER deep-dive index
  • TRANSFER final synthesis
  • Transfer rubric calibration
  • Rubric contrast
SeniorDay 6
  • Senior+ bar
Staff+Day 6
  • Staff transfer bar

Decision Notes

  • CORE means you must answer requirement, HLD, deep dive, failure, recovery, metric, and Staff-level tradeoff.
  • TRANSFER means blind attempt first, then delta against source, invalid assumption, new bottleneck, and follow-up pressure question.
  • Do not add open-ended AI radar unless it changes a concrete Week 8 design decision; this week it does not.

DDIA Decision Map

Use exact sections only from Ch5, Ch9, and Ch12.

ChapterExact DDIA decision sectionConcrete Week 8 use
Ch12变更数据捕获Price changes should be detected once and emitted as events, not rediscovered by every notification worker.
Ch12日志压缩Latest price state and historical samples serve different query contracts.
Ch12幂等性Repeated price samples and notification retries require idempotent change IDs.
Ch12失败后重建状态Notification state and materialized price views must be rebuildable from the price event log.

Heap/Priority Queue Slots

Three contiguous slots today. Keep one invariant and one failure mode per problem.

SlotProblemPatternInvariant / bug riskTime · Space
W8-H13 Car Pooling time-ordered deltas Capacity is a prefix-sum invariant over stop events. O(n log n) · O(n)
W8-H14 Hand of Straights min-heap/count map Always close the smallest unfinished card first. O(n log n) · O(n)
W8-H15 Find K Closest Elements binary window / heap contrast Tie-breaking must prefer the smaller value. O(log(n-k)+k) · O(1)

Evidence To Save

One compact artifact is enough if it proves mechanism depth.

Invariant

State safety

Name the state that survives restart and the write that makes retry safe.

Failure

Concrete break

Use a worker crash, zombie lease, redelivery, poison message, stale robots decision, or duplicate price event.

Metric

Operational proof

Attach lag, retry rate, duplicate suppression, stale lease reject count, host politeness violation, or alert freshness.

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.