Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_ctr-prediction

Ad Click-Through-Rate (CTR) Prediction & Online Calibration

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Ad Click-Through-Rate (CTR) Prediction & Online Calibration — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_ctr-prediction/opengraph-image)](https://archos.sageideas.dev/d/dgm_ctr-prediction)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_ctr-prediction)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_ctr-prediction" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Ad Click-Through-Rate (CTR) Prediction & Online Calibration — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Ad Auction Engine"]
  n1_1[("Feature Assembly")]
  n2a_2["CTR Neural Scorer"]
  n2b_3["Online Calibrator"]
  n3_4[("Streaming Trainer")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Get feats · Redis"| n1_1
  n1_1 -->|"2a. Infer pCTR · gRPC"| n2a_2
  n1_1 -.->|"2b. Calibrate · In-Proc"| n2b_3
  n2a_2 -->|"3a. Update emb · Kafka"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Ad Auction EngineSTATELESS
    100k+ QPS candidate scoring
  • Feature AssemblySTATEFUL
    Real-time user + ad context
  • CTR Neural ScorerSTATELESS
    Wide&Deep / DCNv2 batched
  • Online CalibratorSTATELESS
    Platt/isotonic probability fix
  • Streaming TrainerSTATEFUL
    Continuous online update log
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Ad Auction Engine → Feature Assembly (Get feats)[Redis]
  2. Feature Assembly → CTR Neural Scorer (Infer pCTR)[gRPC]
  3. Feature Assembly → Online Calibrator (Calibrate)[In-Proc]
  4. CTR Neural Scorer → Streaming Trainer (Update emb)[Kafka]
  5. Online Calibrator → Streaming Trainer (Apply)[Async]
  6. Streaming Trainer → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →