I gave a talk at LeadDev Berlin 2025 on how to scale ML inference in Cloudflare’s Web Application Firewall (WAF).
Cloudflare’s global network handles more than 84 million requests per second, and the WAF uses machine learning to help protect against malicious traffic. I talked about what it takes to make inference work within that environment: keeping latency low, using resources efficiently, and making the most of hardware and caching.
The central point was that running ML at this scale is as much a systems problem as a model problem. I also covered the inference optimizations, TensorFlow Lite upgrades, and data generation and sampling strategies that support our models.
The recording is above, and you can download the slides here.