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
[](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_5COMPONENT STACK (6)
- Ad Auction EngineSTATELESS100k+ QPS candidate scoring
- Feature AssemblySTATEFULReal-time user + ad context
- CTR Neural ScorerSTATELESSWide&Deep / DCNv2 batched
- Online CalibratorSTATELESSPlatt/isotonic probability fix
- Streaming TrainerSTATEFULContinuous online update log
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Ad Auction Engine → Feature Assembly (Get feats)[Redis]
- Feature Assembly → CTR Neural Scorer (Infer pCTR)[gRPC]
- Feature Assembly → Online Calibrator (Calibrate)[In-Proc]
- CTR Neural Scorer → Streaming Trainer (Update emb)[Kafka]
- Online Calibrator → Streaming Trainer (Apply)[Async]
- Streaming Trainer → Downstream & OTel (Emit /)[OTLP/API]