I architect the distributed engine behind Qualys FlexScan, which checks companies' cloud servers for security problems without installing anything on those servers. A scan starts in one place, then fans out into thousands of snapshot, discovery, and scan tasks across AWS, Azure, GCP, and OCI.
ContextAgentless is a hard requirement: enterprise and government customers will not let a third-party tool run inside their production systems. We take a temporary, read-only copy of a server's disk, inspect it on a short-lived scanner we control, and then destroy everything. The real server is never touched, but the orchestration has to stay reliable while one customer's broad fleet scan produces a burst of work that could starve another customer's smaller scan.
ArchitectureDurable workflow state lives in Oracle. Kafka carries lifecycle events between services. Redis owns transient scheduling, per-tenant queues, delayed polling, and fairness budgets. Provider-specific workers translate the same lifecycle into AWS, Azure, GCP, and OCI primitives. The whole flow touches roughly 15–16 downstream services, so interfaces and contracts matter more than any single service's code.
Azure snapshot optimizationAWS required copying a shared snapshot into our account before creating scanner storage. Azure lets a managed identity in our subscription create a snapshot that references the customer's managed disk ARM ID across subscriptions. We still create an attachable managed disk from that snapshot, but removing the separate cross-subscription copy step cut provisioning time by about 60% while preserving managed-identity RBAC, CMK-aware encryption, and deterministic cleanup.
Resilient scanner provisioningWhen one Azure region suddenly could not allocate our configured scanner SKU, retries were amplifying the backlog. I separated containment (stop admitting work and suppress retries for non-transient SKU errors), recovery (validate a compatible alternate size against CPU, memory, disk count, architecture, image, and policy), and prevention (a regional capability catalog with ordered candidates and launch-time preflight checks). Self-healing without an alert creates hidden debt, so every fallback emits an operational event.
Account-scoped AWS discoveryOur orchestration looped through enabled regions and invoked every discovery function from inside that loop. Some AWS operations, such as listing S3 buckets, are account-scoped, so a 20-region customer repeated the same inventory traversal 20 times. I added operation-scope metadata (account, region, or resource) so account-scoped work runs once, resolves each resource's region, and fans results into the regional pipeline. The request saving is proportional to pagination; the real win is making external-call scope explicit.
Kafka direct-memory incidentA newly onboarded enterprise customer launched a broad scan across about 20 regions and the broker threw OutOfMemoryError: Direct buffer memory. Heap looked healthy, but direct-buffer pool usage, request bytes, and connection churn rose together. Containment throttled tenant and regional fan-out and stopped aggressive retries. Durable fixes combined claim-check references in Kafka, LZ4 compression, long-lived producer connections, and an explicit JVM/container memory envelope. More memory would have only moved the failure threshold; the real fix was workload shaping and admission control.
100K+ events/day100+ environments60% faster provisioning15–16 integrations
Kafka · Redis · Oracle · Azure · AWS · GCP · OCI · Java · Node.js · Terraform