Cloud Analytics

Moonfrog Labs Optimizes Data Analytics Infrastructure Through Strategic Migration to Amazon Redshift RG Instances

Moonfrog Labs, a prominent developer in the mobile gaming sector, has successfully completed a significant infrastructure migration, transitioning its primary production analytics warehouse from Amazon Redshift RA3 instances to the newer Redshift RG instances. This move, executed through a systematic elastic resize process, marks a pivotal shift in how the company manages the massive telemetry data generated by its diverse portfolio of mobile titles. By adopting Graviton-based RG instances, Moonfrog has effectively addressed the mounting computational pressures of its 148 TB data warehouse, resulting in drastically reduced latency for data ingestion and a more cost-effective approach to querying its expansive 1,000-table external data lake.

The migration serves as a case study in modernizing data pipelines to accommodate hyper-growth. As Moonfrog’s player base expanded, the volume of session events, purchase logs, and player behavioral metrics surged. This growth necessitated a data architecture capable of supporting not only more frequent data ingestion but also more complex, resource-intensive analytical queries. The transition was driven by the need for compute headroom, as the previous RA3 configuration—while reliable—had reached a saturation point where peak CPU utilization frequently hit or exceeded 90% during high-demand periods.

How Moonfrog scales analytics and lowers query cost with Amazon Redshift RG instances | Amazon Web Services

Chronology of the Transition

The decision to migrate was solidified following an assessment of the company’s expiring one-year reserved node commitments in July 2026. Prior to the migration, Moonfrog’s analytics team established a comprehensive baseline of performance metrics. This included monitoring CPU utilization, Workload Management (WLM) queue wait times, and query execution durations.

On July 26, 2026, the company initiated the migration process using Amazon Redshift’s elastic resize functionality. The team moved from a five-node ra3.4xlarge configuration to an eight-node rg.4xlarge cluster. This temporary expansion served as a buffer to mitigate potential performance risks during the transition. Importantly, the process required no manual data export or reload, allowing the 148 TB warehouse to remain accessible throughout the cutover.

Following the initial move, the team entered an iterative right-sizing phase. Over the subsequent eight days, Moonfrog evaluated the cluster’s performance as it reduced the node count from eight to seven, and finally to a stable six-node configuration. By August 24, 2026, the team had fully stabilized the environment and increased the frequency of its COPY operations, effectively modernizing the data pipeline to handle 4.3 times the volume of the original RA3 baseline.

How Moonfrog scales analytics and lowers query cost with Amazon Redshift RG instances | Amazon Web Services

Performance Gains and Data Efficiency

The shift to RG instances, which leverage AWS Graviton processors, delivered immediate and measurable performance improvements. One of the most critical metrics for the data team was the duration of the COPY operation, which is essential for updating the warehouse with fresh telemetry. Under the RA3 architecture, these operations averaged 16.8 seconds. Post-migration, and with volume remaining consistent, this duration plummeted to 3.6 seconds—a reduction of approximately 79%.

Beyond ingestion speed, the integration of the data lake query engine within the RG instances provided a distinct financial advantage. Previously, Moonfrog relied on Redshift Spectrum to query roughly 1,000 external tables stored in Amazon S3, incurring separate per-terabyte scanning charges. The migration to RG enabled these scans to run directly on the cluster nodes, effectively eliminating the external scanning costs. As the data scanned through these external tables increased by 33% between March and June 2026, the elimination of these costs significantly improved the overall economics of the company’s data operations.

Analysis of Computational Headroom

While the raw performance gains were significant, the implications for future-proofing Moonfrog’s analytics capabilities are even more profound. By transitioning to a six-node RG configuration, the company increased its provisioned vCPU capacity by 60% compared to the previous five-node RA3 setup. This surplus capacity has allowed for a dramatic increase in daily query volume. In the months following the migration, daily query totals jumped from roughly 49,000 on the legacy system to over 125,000, representing a 2.5-fold increase in analytical throughput.

How Moonfrog scales analytics and lowers query cost with Amazon Redshift RG instances | Amazon Web Services

Despite this surge in activity, CPU utilization metrics have shown a positive trend. After the resize, average CPU utilization dropped to a range of 35% to 39%, providing the "headroom" required for more complex analytical tasks. This efficiency is particularly important as the company prepares to integrate advanced technologies like Large Language Models (LLMs) and conversational analytics. By offloading the baseline data processing to a more efficient compute tier, the team can now allocate resources toward experimental data science initiatives without compromising the stability of existing business-critical dashboards and reporting tools.

Financial Implications and Operational Cost

The financial strategy behind this migration was centered on optimizing the cost-per-unit of work rather than simply reducing total spend. While the total monthly expenditure—comprising reserved compute, concurrency scaling, and data lake scanning—saw a modest increase of 4% to 6% due to the intentional acquisition of additional capacity, the efficiency gains were substantial.

When normalized against the volume of data processed, the cost-per-1,000-queries dropped by approximately 59% in September 2026. This indicates that Moonfrog is receiving significantly more value for its infrastructure investment. By shifting away from the per-terabyte pricing model of external scanning and into a provisioned compute model, the company has stabilized its operational costs, making them more predictable even as the total number of analytical queries continues to scale.

How Moonfrog scales analytics and lowers query cost with Amazon Redshift RG instances | Amazon Web Services

Future Outlook and Strategic Objectives

The success of the migration has set a new trajectory for Moonfrog’s data engineering roadmap. The team is currently exploring the adoption of the Apache Iceberg table format for its data lake storage. Implementing Iceberg would offer advanced features such as schema evolution and time travel, further enhancing the utility of the data stored in S3.

Furthermore, the increased compute headroom has cleared the path for the integration of generative AI-driven tools. The company intends to test LLM agents capable of answering complex analytical questions through conversational interfaces. Because such agents often execute multiple queries to satisfy a single request, the reduced latency and increased capacity provided by the RG nodes are critical enablers for maintaining a responsive user experience.

The broader implications for the gaming industry are clear: as data-driven decision-making becomes the cornerstone of product development and marketing attribution, the infrastructure supporting these insights must be agile. Moonfrog’s transition highlights the importance of elastic, hardware-optimized cloud architectures. By moving to a platform that removes artificial bottlenecks in ingestion and query processing, the company has effectively transformed its data warehouse from a static repository into a high-velocity engine that can sustain future growth.

How Moonfrog scales analytics and lowers query cost with Amazon Redshift RG instances | Amazon Web Services

The lessons learned during this migration—most notably the necessity of establishing a rigorous performance baseline and the efficacy of iterative right-sizing—provide a blueprint for other organizations operating at a similar scale. As Moonfrog continues to iterate on its analytics stack, the focus remains on leveraging these performance gains to drive deeper insights into player behavior, ultimately allowing for more refined game design and more effective monetization strategies in an increasingly competitive global mobile gaming market. With the infrastructure now optimized for the next phase of its technical evolution, Moonfrog is well-positioned to scale its data operations alongside its growing, diverse, and data-intensive gaming ecosystem.

Related Articles

Back to top button
Whatvis
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.