Scaling Security Insights: how we achieved a 10x increase in global scanning capacity 2026-06-12 Dave Baxter 8 min read This post is also available in 日本語 and 한국어 . Security Insights provides actionable security recommendations for every Cloudflare account. To find these insights, we perform regular scans for all accounts, zones, and DNS records, looking for potential security risks and misconfigurations. However, two key issues emerged. First, our scans were too infrequent. Scans were only being performed every week or two, and therefore newly introduced security risks could remain undetected for up to two weeks. Second, automatic scanning was opt-in for many free plan accounts – meaning lots of accounts weren’t being scanned at all. The risks of infrequent or nonexistent scans are rising: as automated attacks accelerate, the window for detecting security misconfigurations is shrinking. Making sure that we’re finding these issues for all of our customers is crucial to our aim of building a better Internet for everyone. We calculated that to increase our scanning frequencies and enable automatic scanning for all accounts, we would need to increase our scanning throughput by around 10x on average – from 10 scans per second to 100 per second. But our system was already struggling with its load: millions of events were filling up our backlog waiting to be processed; our API was frequently timing out; our processes were crashing. We needed to fix our system, and we needed to make it scale . This is the story of how we increased scanning throughput for Security Insights by more than 10x, enabled security insights for millions of customers, and doubled our scanning frequency for all customers. Read on to find out how we achieved these improvements. How we scan for security insights At a high level, our automatic security scans are triggered by a scheduler. When an account or zone is due for a scan, the scheduler publishes a message (or messages) to Apache Kafka , an open-
Back to Home

Scaling Security Insights: how we achieved a 10x increase in global scanning capacity
B
Blizine Admin
·2 min read·0 views
B
Blizine Admin
View Profile Staff Writer
Related Articles
Building and Deploying Spring Petclinic Microservices on AWS: My Experience as Co-Project Lead and App & Docker Lead
Jun 17, 2026·1 min read
Amazon S3 annotations: attach rich, queryable context directly to your objects
Jun 16, 2026·1 min read
Best VPN deals: Protect your privacy for the lowest prices
Jun 16, 2026·2 min read