L3S1 · ROI & FeasibilityS2 · Data & RetrievalS5 · Eval & LLMOpsS6 · Security & FinOpsVerified: 2026-11-30
Sub-10ms Real-Time Feature Store & Fraud Scoring System (Reference Project)
Staff-level MLE portfolio reference implementing sliding-window stream aggregates into dual Redis online / Iceberg point-in-time offline stores, sub-10ms ONNX LightGBM scoring, PSI drift alerts, and shadow traffic gates.
Best For
ML Engineers, Data Scientists, and AI Engineers proving sub-10ms online serving mastery, zero train-serve skew, and delayed-label evaluation rigor.
Human-AI Boundary
Hard-blocks high-certainty fraud, routes borderline scores to 3DS step-up or analyst review queues, and fails over to deterministic rules on store degradation.
Anti-Patterns to Avoid
- Computing batch SQL rolling windows offline with subtly different null-handling than the online Python/Redis feature path
- Silently imputing zeros on Redis feature timeouts (turns sudden velocity spikes into benign-looking vectors during attacks)
Latency/Cost Profile & Eval Metrics
P50 3.8ms / P99 8.9ms end-to-end (Redis pipeline <= 3.5ms + ONNX C++ inference <= 2.5ms) · Streaming stateful window RAM + Redis Cluster memory vs false-decline GMV & chargeback loss
- Online-vs-Offline Feature Skew (PSI) & P99 Tail Latency: PSI < 0.05 across top-20 velocity features; E2E P99 <= 10ms at 5,000 RPS load (Measured via production shadow log replay against Iceberg point-in-time ASOF joins)
- PR-AUC & Recall @ 1% False-Positive Ceiling: Baseline static rules 0.54 -> Calibrated GBDT + velocity features >= 0.89 PR-AUC (Evaluated on maturity-weighted 45-day chargeback cohorts to avoid right-censored label bias)
📦 Project Deliverables & Portfolio Artifacts
- Dual-sink streaming feature pipeline computing 1m/5m/1h/24h velocity aggregates into Redis Online + Point-in-Time Parquet/Iceberg
- FastAPI/ONNX Runtime scoring service with timeout circuit breaker, shadow-model tee, and deterministic rule fallback
- PSI feature drift detector + delayed-feedback importance-weighting training script
- Load-test & skew-audit benchmark report verifying <10ms P99 and <0.05 PSI across 5,000 RPS
🎤 Interview Defense & System Design Deep-Dive Q&A
- How do you guarantee zero Point-in-Time data leakage when generating historical training datasets for 24-hour sliding velocity features?
- What happens to fraud recall if Redis times out and your service silently falls back to default feature values of zero?
- How do you evaluate a newly retrained fraud model before 45-day chargeback labels have fully matured?
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
Bidirectional Taxonomy Links
[HubB] Role Lens · Machine Learning & Inference Systems Engineer[HubB] Role Lens · AI Decision Science, Experimentation & Eval Data Scientist[HubB] Role Lens · Applied AI & Agent Systems Engineer[HubB] Role Lens · AI Inference & Kernel Optimization Engineer[HubB] Role Lens · AI Data & Knowledge Pipeline Engineer[HubB] Role Lens · MLOps & LLMOps Reliability Engineer[L0 Card] Feature Store Consistency & No-Leak[L0 Card] Production PSI Drift Monitoring[L0] LLM-as-a-Judge Bias Mitigation & Cohen's Kappa Calibration Primitive[L0] Confidence-Based Cascading Model Router & Pareto FinOps Primitive[L1] Stage 2 · Incremental CDC Document Sync, Content-Hash Dedup & Tombstone GC Pattern[L1] Stage 1 · Shadow-Mode AI Baseline Validation Pattern Before Live Automation[L1] Stage 5 · Canary Prompt & Model-Upgrade Shadow Traffic A/B Gate Pattern[L1] Stage 6 · Per-Tenant Token Quota Rate-Limiter & Graceful Circuit-Breaker Pattern[L2] L2 System Design · Sub-15ms Global Payment Fraud Real-Time ML Architecture
Internal Tools & Primary Sources
- Feast Feature Store Point-in-Time & Online Serving Architecture (official_docs, 2026-11-30)
- ONNX Runtime High-Performance Tree & Tabular Inference (official_docs, 2026-11-30)