Customer Stories / Software & Internet

2023
Rapid7 logo

Rapid7 Reduced Operational Latency by 40% by adopting Amazon DynamoDB

Learn how Rapid7 reduced engineering overhead and enabled a fast, reliable infrastructure for real time data processing pipeline by migrating from self-managed Cassandra to Amazon DynamoDB.

40%

reduction in application latency

60

engineering hours per week saved from managing operational burden

up to 99.999%

availability attained for their customers

Near zero

downtime migrating to DynamoDB

Overview

Rapid7 is a leading provider of security data solutions that enables organizations to implement a dynamic, analytics-driven approach to cybersecurity. Their software-as-a-service tool, called InsightIDR, provides visibility into an organization’s vulnerabilities allowing them to rapidly detect compromises while avoiding false alerts, respond to breaches, and correct the underlying causes of attacks. InsightIDR collects data from customer’s existing network security tools, authentication logs, and endpoint devices, and combines the full power of endpoint forensics, log search, and sophisticated dashboards into a single solution. Increased customer demand for InsightIDR resulted in Rapid7 needing to scale up their self-managed Cassandra clusters. Rapid7’s technical team was seeking a managed solution to be instantly scalable and highly performant.

Rapid7 IDR

Opportunity | Finding a Highly Performant and Scalable Managed Solution for a Growing Application

Built on the self-managed Apache Cassandra in 2013, Rapid7’s InsightIDR infrastructure was comprised of 6 clusters. The biggest cluster “Process Registry” had grown to over 280 nodes over a period of 9 years. Their critical application was running on a Cassandra cluster with 80 nodes and was due for a database upgrade. The cluster was hosting multiple-tenants and also co-hosted multiple applications. Any need for patching, version upgrade, or maintenance amplified the impact when it came to managing the cluster. Guru Bandari, Rapid7’s Senior Software Engineer said, “Scaling the Cassandra clusters and performing maintenance tasks such as patching had become an operational nightmare especially with the growing customer base. Scheduling downtime while increasing tenants had become even more challenging than before.”

Rapid7’s use case also included the need to delete data after 60 days of its creation on the InsightDR application. Previously, they relied on Cassandra's TTL (Time to Live) feature to remove the data, but this approach consumed resources and adversely affected performance.

As the popularity of InsightIDR product increased, Rapid7 was looking for a maintenance free, fully managed, and highly available database solution.

kr_quotemark

Scaling our clusters might have taken 60 minutes in the past to get servers configured and deployed. Now, we can provision in a matter of minutes, enabling our cloud and data engineers to focus on product innovation."

Andrew Keely
Senior Manager, Software Engineering, Rapid7

Solution | Seamless Migration to DynamoDB with Near Zero Downtime

In June 2022, Rapid7 modernized their Cassandra workload by migrating to Amazon DynamoDB. Rapid7 technical team saw value in DynamoDB, primarily because it is a fully managed database service with up to 99.999% availability. They worked on redesigning their application to adopt DynamoDB which included endurance testing with peak workloads. They benefited from DynamoDB’s seamless scaling and low single-digit milliseconds latency for their read and write workloads.

For a critical and multi-tenant application such as InsightDR, Rapid7 adopted the safest migration approach of enabling dual writes at the unpredictable application layer, using custom scripts. To address this challenge, they utilized DynamoDB's On-Demand mode, enabling them to effectively manage unexpected surges in traffic and analyze traffic patterns. Rapid7 continued to run reports and test their read-workloads on dual environments until they confirmed data consistency.

They also used Amazon CloudWatch Contributor Insights, which was crucial for identifying hot partition issues, which was identified as bottle-neck during endurance testing. After running their application workload in parallel for two months across both environments, they gained the confidence to modernize their entire workload with DynamoDB which helped them achieve the near zero downtime migration.

Rapid7 was also drawn to Amazon DynamoDB due to its integrated security features and native support for backup and restore. Additionally, the point-in-time recovery (PITR) feature of Amazon DynamoDB proved highly beneficial as it allows Rapid7’s customers to effortlessly and continuously back up their table data with precise per-second granularity. This feature enabled Rapid7 with the ability to restore their data to any specific moment within the past 35 days.

DynamoDB's TTL feature provided automated deletes to reduce stored data volumes without any additional cost or performance impact. Andrew Keely, Senior Manager Software Engineering shared, “Rapid7 experienced improvements in their annual infrastructure management costs and reduced an average of 60 weekly hours by modernizing with Amazon DynamoDB. Moreover, this migration enabled them to achieve consistent performance with single-digit milliseconds latency and ensured operational reliability with 99.999% availability for their customers.”

Outcome | Attaining Swift Scaling, Notable Savings, and Elevated Performance Simultaneously

In just 8 weeks, Rapid7 migrated to Amazon DynamoDB, a fully managed, serverless, key-value database designed to run high performance applications at any scale. With the adoption of DynamoDB as their new platform, Rapid7 reduced their time to scale up their instances from weeks to minutes, to meet their increased workload. Not only did they save engineering hours, they also increased data processing speeds by 50% for their write workloads and 33% for read workload, while observing consistent performance.

Keely mentioned, “Throughput in Cassandra was not well-defined, and an overloaded cluster slowed down requests rather than throttling, which was detrimental and not acceptable for us. DynamoDB however, has very consistent performance when operating within configured throughput.”

Amazon DynamoDB service was a perfect fit for their needs, given that it is a fully managed, serverless database offering by AWS. As Rapid7’s customer base continues to grow, they plan to use the DynamoDB caching service, DynamoDB Accelerator (DAX) to further improve the read workload latencies. Bandari explained “We are close to sunsetting our remaining Cassandra footprint as we finish our modernization project.”

About Rapid7

Rapid7 is a cybersecurity company based in Boston, USA, founded in 2000. It specializes in helping organizations manage cybersecurity risks, detect and respond to threats, and improve overall security. They offer tools for vulnerability management, incident detection and response, application security, security analytics, and cloud security.

AWS Services Used

Amazon DynamoDB

Amazon DynamoDB is a fully managed, serverless, key-value NoSQL database designed to run high-performance applications at any scale. DynamoDB offers built-in security, continuous backups, automated multi-Region replication, in-memory caching, and data import and export tools..

Learn more »

More Software & Internet Customer Stories

Showing results: 9-12
Total results: 822

no items found 

  • Mindtickle Cracks the Code to Smarter Selling Using Generative AI on AWS

    Mindtickle is a revenue enablement platform that helps ramp sales teams quickly, expand customer accounts, and win big. The Mindtickle platform keeps teams up to speed with market changes and buyers' needs, combining training, content management, coaching, call insights, and digital sales rooms in one. Mindtickle uses generative AI on Amazon Web Services (AWS) to power Mindtickle Copilot, to help sales teams prep for meetings faster, engage with the modern buyer, and close deals more efficiently.
    2024
  • Japan

    Fujitsu Builds a Company-Wide Data Utilization Platform for the 124,000 Employees on AWS to Transform Into a Future-Focused Management

    Fujitsu used AWS Lake Formation to build OneData, a centralized, company-wide data use solution with daily updates for data-driven decision-making across 140 departments.
    2024
  • United States

    From 18 Weeks to 3 Hours: How CyberArk Delivers Business Value Faster Using Serverless Technology on AWS

    Identity security company CyberArk built a serverless-first centralized development platform on AWS to standardize service development, reduce time to market, and grow as a software-as-a-service provider.
    2024
  • The Netherlands

    Improvement-IT Uses TechNative to Migrate to AWS, Speeds Customer Onboarding, and Reduces Support Calls by 15%

    Improvement-IT, based in the Netherlands, provides IoT solutions to a variety of organizations with an emphasis on tracking, tracing, and monitoring the status of assets. Together with its other companies Port Pay and Alltrack Medical, it offers these innovative solutions to help customers track assets in the field, manage warehouses, and optimize supply chains. However, it was being hampered by its own managed services provider, which was running both Amazon Web Services (AWS) and on-premises assets for it. It wanted a proactive partner with deep expertise to help optimize its systems, improve client onboarding times, and better detect problems before they affected customers. AWS Partner TechNative has helped it to achieve those goals, reducing customer support calls by 15 percent and cutting onboarding time by 50 percent.

    2025
1 206

Get Started

Organizations of all sizes across all industries are transforming their businesses and delivering on their missions every day using AWS. Contact our experts and start your own AWS journey today.