Customer Stories / Gaming / United States

2024
DraftKings logo

DraftKings Scales Its Financial Ledger with Amazon Aurora for Seamless Sports Betting

Learn how daily fantasy and gaming company DraftKings manages surging transaction activity during major sporting events using Amazon Aurora.

10–30 millisecond vs 30 second

replication lag

200

individual databases used

1 million operations per minute

handled by Aurora cluster

<1 millisecond latency

for common read operations

6 milliseconds latency

for common write operations

Overview

During major sporting events like the Super Bowl, DraftKings sees a surge in transactions, because hundreds of thousands of players simultaneously update bets and check their winnings as a game unfolds. To instantly handle these surges, the company needs a robust foundation so that every user’s experience is smooth and responsive. In particular, it requires a database solution that not only effortlessly scales up to meet intense demand but also maintains low latency and high reliability during peak traffic times.

DraftKings found an ideal solution with the release of Amazon Aurora, a database service that offers unparalleled high performance and availability at a global scale with full MySQL and PostgreSQL compatibility. By running its financial ledger on Amazon Web Services (AWS), DraftKings enhanced the scalability and efficiency of its operations, especially for the peak traffic periods seen during the National Football League’s premier games.

Photo of draftkings sports betting venue

Opportunity | Using Amazon Aurora to Manage the Financial Ledger for DraftKings

Founded in 2012, DraftKings offers online sports betting services, daily fantasy sports contests, and iGaming solutions for an average of 3.1 million unique customers per month as of Q2 2024. It provides retail and mobile sports betting in 27 states, Washington, DC, and Ontario, Canada. DraftKings’ daily fantasy sports product is available in 44 states, certain Canadian provinces, and the United Kingdom. Central to these operations is the DraftKings financial ledger, which tracks each user’s balance and moves money between various accounts depending on bets placed and event outcomes.

“The bigger the event, the more customers have either wagered on or entered contests related to it,” says Joel Miller, principal software engineer at DraftKings. “The write workloads spike up significantly around payout events, but opening the app during the game also activates a lot of balance queries, which means more read traffic.”

As the company’s operations expanded, it needed a more robust, scalable database solution that could handle these demands. When Aurora was released, DraftKings found that it was an optimal choice for its growing environment.

“At the time that Aurora came out, it touted input/output performance that was 18 times better compared with other database solutions, as well as the ability to very quickly provision read replicas with more capacity,” says Dan White, lead software architect at DraftKings. “As soon as it was available, we adopted Aurora for our ledger, and we’ve been running on it ever since.”

kr_quotemark

During the 2024 Super Bowl, the load increases did not impact our database’s throughput or latency metrics. Aurora handled the traffic scale, no sweat.”

Dan White
Lead Software Architect, DraftKings

Solution | Scaling to Support Peak Traffic during the Super Bowl

DraftKings adopted Amazon Aurora MySQL-Compatible Edition as the core database system for its financial ledger. Over time, DraftKings has grown to over 200 individual databases based on its workload requirements.

With Aurora, DraftKings can effectively manage the intense read and write operations that are typical during peak traffic times, with minimal delay. “Instead of 30 seconds of replication lag during high volume periods, we might see 10–30 milliseconds using Aurora,” says White. “The ability to dynamically and very quickly provision new read replicas empowered us to break through many of the scaling and traffic handling challenges that we initially faced.”

As its operations grew, DraftKings adopted new Aurora features as they were released. For example, database cloning is used to quickly create copies of the company’s databases, facilitating rapid testing and development without disrupting the live environment. This lets DraftKings experiment with changes in a safe, reliable manner before applying the changes to the production database.

Using Aurora Replicas, DraftKings efficiently manages the large volume of read operations generated when users query their account balances and transaction histories. By distributing read traffic across multiple replicas, the company maintains high availability during peak events. The Aurora I/O-Optimized feature, released in May 2023, has helped enhance read/write throughput per instance. With this solution, the primary database can handle input/output demands more efficiently and facilitate low latency for fast, seamless user interactions.

DraftKings benefits from Aurora’s enhanced security features, including automatic encryption of data in transit and at rest, and fine-grain access control policies. Aurora also offers storage resiliency by making data durable across three Availability Zones; the company only needs to pay for one copy.

During the Super Bowl, the final game of the National Football League season, DraftKings sees a significant surge in user activity. Financial ledger traffic at its peak is approximately 50 percent higher than in the first week of the season, which is also a popular betting period. With Aurora, the company gains the scalability and performance necessary to manage this increased load. The system can efficiently process users’ requests so that their interactions remain fast and reliable—even during the game’s most critical moments.

“During the 2024 Super Bowl, the load increases did not impact our database’s throughput or latency metrics,” says White. “Aurora handled the traffic scale, no sweat. We were very happy with the number of financial operations per minute that we achieved.”

Outcome | Continuing to Support High-Traffic Sporting Events on AWS

The Aurora cluster powering DraftKings’ financial ledger successfully handles 1 million operations per minute, combining both read and write requests. This high throughput is matched by remarkably low latency; common read operations are completed in under 1 millisecond and write operations take only 6 milliseconds on average.

Now, DraftKings can effectively manage its financial ledger during high-traffic events like the Super Bowl to better serve its users. The company can reliably handle increased transaction volumes, improving both user satisfaction and operational efficiency.

As DraftKings expands its operations, it plans to explore new markets and onboard new states and territories. “We are confident that our Aurora database will provide the performance that we need as we continue to grow,” says White.

About DraftKings

DraftKings is a sports betting company and daily fantasy sports contest based in Boston, Massachusetts. The company hosts daily and weekly contests for several sports, including professional baseball, hockey, football, golf, and basketball.

AWS Services Used

Amazon Aurora

Amazon Aurora provides unparalleled high-performance and availability at global scale with full MySQL and PostgreSQL compatibility, at 1/10th the cost of commercial databases.

Learn more »

More Gaming Customer Stories

Showing results: 17-20
Total results: 155

no items found 

  • Malta

    Accelerating New Market Launches from 9 Months to 3 Weeks on AWS with Blexr

    Lead generation company Blexr uses AWS services to become more agile and scalable and deliver better customer experiences faster at half the compute cost. The company connects customers with offers from online gaming brands. Its previous architecture was complex and monolithic, slowing innovation. Blexr containerized its infrastructure on AWS and took advantage of scalable AWS services to improve agility, increase conversion rates by 30 percent, and accelerate new market launches from 9 months to 3 weeks. Now, it’s positioned to continue delivering a great customer experience as it expands globally.
    2024
  • United States

    Scenario Produces 100,000 Images Daily Using Generative AI on AWS

    Scenario built out its generative AI offering in 2 months to help customers in 40 countries worldwide accelerate game development. The company scaled rapidly to generate millions of images each month.
    2023
  • Singapore

    Razer Deepened Gamer Engagement Using Amazon Personalize

    Razer turned to Amazon Web Services (AWS) for a solution and used Amazon Personalize intelligent user segmentation and advanced filtering features. Click-through rates for Razer Synapse, its unified cloud-based hardware configuration tool, were 10x better than industry standards using Amazon Personalize, generating additional revenue for the business.

    2023
  • United States

    Notorious Studios Builds a Scalable Game Analytics Pipeline for Player Research on AWS

    Video game startup Notorious Studios deployed a serverless game analytics pipeline on AWS to help accelerate the design process and improve the player experience of its first title game, Legacy: Steel & Sorcery.

    2024
1 39

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.