Red Canary replaced S3 and Postgres components in its Linux EDR health-data pipeline with ScyllaDB, reducing query latency and processing time while exploring broader use for detection data.
Last updated
Red Canary’s Linux EDR services now store endpoint check-ins and health metrics in ScyllaDB after the company replaced Postgres and then S3 components in the pipeline. Andres Medina, a staff software engineer on the LinuxEDR team, described the migration at the Monster Scale Summit.
The company was handling small telemetry payloads from hundreds of thousands of endpoints, including virtual machines, laptops and EC2 instances. Individual S3 PUT operations became costly, while buffering data into larger files reduced costs but delayed visibility and complicated troubleshooting. The team began with health-check data as a lower-risk test than the core telemetry pipeline.
Red Canary used ScyllaDB Cloud in its own AWS account. It addressed tombstone-related latency with short table TTLs and faster tombstone garbage collection, distributed uneven customer workloads through numbered buckets, and used sensor IDs as partition keys for debugging queries. Large process-memory arrays were also moved into an auxiliary table.
A change to the Rust driver allowed the team to group statements by partition and separate CPU work from I/O work with Rayon and Tokio. Medina reported that average file-processing time fell from about 150 milliseconds to 50 milliseconds, a drop of about 60%. Batching reached approximately 670K rows per second with 36K writes per second, while the largest portal queries fell from minutes to seconds. Red Canary is exploring ScyllaDB for more critical detection data and some OpenSearch use cases.