(gam302) ea's real-world hurdles with millions of players in the simpsons: tapped out | aws...
DESCRIPTION
How do you really architect a game that can handle 5, 6, or 7 million daily active users? Learn about the scalability challenges that EA had to overcome for The Simpsons: Tapped Out. Hear how EA had to redesign their MySQL-based database layer on the fly, migrating over to Amazon DynamoDB, while keeping the game running. See how EA added AWS Elastic Beanstalk and Auto Scaling to simplify their deployments, while also lowering costs by enabling them to respond to changing player counts. EA shows how they switched from sticky sessions to Amazon ElastiCache, solving player disconnects and allowing further scaling out. Finally, EA shares some interesting statistics about The Simpsons: Tapped Out, as well as their overall learnings about how best to develop, deploy, and monitor a game on AWS.TRANSCRIPT
![Page 1: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/1.jpg)
November 13, 2014 | Las Vegas, NV
Chris Gallinaro and Colin Shirley, Electronic Arts
![Page 2: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/2.jpg)
![Page 3: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/3.jpg)
![Page 4: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/4.jpg)
![Page 5: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/5.jpg)
marketing activity content release
forced updateurl swap
![Page 6: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/6.jpg)
![Page 7: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/7.jpg)
![Page 8: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/8.jpg)
“I'd be mortified if someone ever made a lousy product with the
Simpson name on it.”
- Lisa Simpson
![Page 9: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/9.jpg)
“I can't promise I'll try, but I'll try to try.”
- Bart Simpson
![Page 10: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/10.jpg)
elastic load balancer
haproxy
Problem #1: Complex deployments
Problem #2: No auto-scaling
Problem #3: Expensive database
cluster
![Page 11: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/11.jpg)
![Page 12: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/12.jpg)
![Page 13: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/13.jpg)
elastic load balancer
haproxy
![Page 14: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/14.jpg)
![Page 15: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/15.jpg)
![Page 16: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/16.jpg)
![Page 17: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/17.jpg)
![Page 18: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/18.jpg)
![Page 19: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/19.jpg)
![Page 20: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/20.jpg)
Key concept: temporarily store
access code on both sides
Amazon
![Page 21: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/21.jpg)
Recall: previous access code
is stored on both sides
?
Amazon
![Page 22: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/22.jpg)
![Page 23: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/23.jpg)
![Page 24: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/24.jpg)
$$$$
![Page 25: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/25.jpg)
elastic load balancer
![Page 26: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/26.jpg)
![Page 27: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/27.jpg)
MySQL DynamoDB
Game server
![Page 28: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/28.jpg)
MySQL DynamoDB
conditional put
![Page 29: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/29.jpg)
MySQL DynamoDB
Game server
![Page 30: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/30.jpg)
![Page 31: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/31.jpg)
![Page 32: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/32.jpg)
![Page 33: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/33.jpg)
elastic load balancer
![Page 34: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/34.jpg)
![Page 35: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/35.jpg)
![Page 36: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/36.jpg)
manual increase
manual increase
Manual provisioning level
marketing activity
x3 availability zones
![Page 37: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/37.jpg)
![Page 38: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/38.jpg)
![Page 39: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/39.jpg)
Upload Artifact
Scale Up
URL Swap
![Page 40: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/40.jpg)
![Page 41: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/41.jpg)
![Page 42: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/42.jpg)
![Page 43: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/43.jpg)
![Page 44: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/44.jpg)
![Page 45: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/45.jpg)
elastic load balancer
haproxy
Problem #1: Complex deployments
Easy deployments with Beanstalk
Problem #2: No auto-scaling
Auto-scaling on every component
Problem #3: Expensive database
cluster
Cost-effective DynamoDB
![Page 46: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/46.jpg)
• Game team has full control– One-man deployments
– One-man incident investigations
• AWS always improving
![Page 47: (GAM302) EA's Real-World Hurdles with Millions of Players in the Simpsons: Tapped Out | AWS re:Invent 2014](https://reader033.vdocuments.us/reader033/viewer/2022060119/55908c291a28aba2548b45ee/html5/thumbnails/47.jpg)
http://bit.ly/awsevals
"Now for my favorite part of the show....What does that say? Talk to
the audience! Ugghhh, this is always death...”