DZone
Mobile Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Mobile Zone > Pokemon: Gotta Scale Them All

Pokemon: Gotta Scale Them All

Pokemon Go has been a runaway hit and is already bigger than Tinder. But that comes at great effort, and has resulted in the servers being down most days during it's opening week. How do you a scale an app this popular?

Chris Beauchamp user avatar by
Chris Beauchamp
·
Jeremiah Edwards user avatar by
Jeremiah Edwards
·
Jul. 17, 16 · Mobile Zone · Opinion
Like (8)
Save
Tweet
4.05K Views

Join the DZone community and get the full member experience.

Join For Free

PokémonGo

Pokémon Go is awesome.
Pokémon Go is webscale.
Pokémon Go is life.

Mobile is hard, but scalable architectures are awesome. One of the best things about working with mobile dev teams is having a first-hand view of massive changes in the App Store landscape. As has become apparent over the last week, in the future, all such changes will be compared to the release of Pokémon Go.

We work with Niantic Labs to monitor the performance of both the iOS and Android versions of their apps. At critical times (like when launching an awesome new game!), they use our product to find and fix the issues that affect their users the most. This means that we had a front-row seat to last week's release of Pokémon Go. With adoption and usage of their new app through the roof, we had to quickly work to scale our backend infrastructure to keep up with Niantic's success.

In what our Ops team will forever refer to as "the Pokémon Scenario," our service started processing events from tens of millions of new users in a matter of days.

In the first 24 hours after launch, we saw the traffic on our ingest tier shoot up:

peak

Increase of peak incoming traffic by ~500 requests/second after 24h. This increased to ~1500 RPS by Thursday night.

We're no strangers to big data processing: On a typical, pre-Pokémon day, we handle more than 2.6 billion events (~30k every second). However, over the last week we've tracked a major increase in traffic:

Peak2

One week after launch: Total increase by ~5500 RPS, or ~475M additional events per day.

Thanks must be given to the team at Niantic for giving us a heads up about the release. Even with advanced notice, though, our Operations team had to work diligently to handle the new load on the system.

Fortunately, we are able to scale our platform horizontally at each tier, and the only impact that Pokémon had on our services was some delayed processing while we scaled out our Kafka and Spark clusters. In a later post, we'll go into the details of how we architected our platform to support such easy scaling (hint: asynchronous processing + λ-architecture for the win).

Hats off to Niantic Labs on their great launch.

Big data mobile app teams Processing Front Row (software) App Store (iOS/iPadOS) Release (agency) Event Awesome (window manager)

Published at DZone with permission of Chris Beauchamp, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Pre-Commit Hooks DevOps Engineer Should Know To Control Kubernetes
  • How Data and Analysis Can Power Agile Teams
  • How to Upload/Download a File to and From the Server?
  • AWS Serverless Lambda Resiliency: Part 2

Comments

Mobile Partner Resources

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo