How Heroku reduced their operational overhead by migrating their 30 TB self-managed database from Amazon EC2 to Amazon DynamoDB
Database Blog
The article discusses how Heroku, a platform as a service (PaaS) solution, migrated the storage backend for their application metrics and alerting features from self-managed Apache Cassandra clusters to Amazon DynamoDB.
Specifically, the article covers:
- Heroku's 'Metrics as a Service' (MetaaS) architecture, which collected and processed application metrics using Apache Kafka and Apache Cassandra on Amazon EC2
- The reasons for migrating to DynamoDB, including reducing operational overhead and leveraging a managed service
- The migration process, which involved writing data to both Cassandra and DynamoDB in parallel, validating data consistency, and incrementally switching reads to DynamoDB
- The benefits realized after the migration, including reduced costs by up to 50%, improved query performance with consistent low latency, and a 90% reduction in operational overhead
- Lessons learned, such as using VPC endpoints, tuning the DynamoDB SDK client, and compressing large records to save on write capacity units
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Apr 10
2025
2025
How Heroku migrated hundreds of thousands of self-managed PostgreSQL databases to Amazon Aurora
Nov 14
2024
2024
Amazon DynamoDB reduces prices for on-demand throughput and global tables
Dec 11
2024
2024
Scaling to 70M users: How Flo Health optimized Amazon DynamoDB for cost and performance
Jul 3
2025
2025
SQL to NoSQL: Planning your application migration to Amazon DynamoDB
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.