Real-Time Email Spam Detection System
Design a high-scale, real-time spam detection system for a global email provider. The system must process over 100,000 emails per second with a P99 latency under 50ms. Focus on a multi-stage architecture that balances heavy text-based deep learning with lightweight metadata-based filtering. Detail how you would handle adversarial attacks (e.g., character obfuscation), the cold-start problem for new senders, and the infrastructure required for high-precision model calibration and daily retraining. Address the critical trade-off between false positives and false negatives in a production environment.
LightGBMDistilBERTKafkaFlinkSparkRedisONNXBigQuery
00