Monitoring Pokémon Go: When Your App Breaks All Records
August 03, 2016

Payal Chakravarty
IBM

Share this

In July 2016, the world of gaming was taken over by a new phenomenon – Pokémon Go. Within a matter of days "augmented reality" became mainstream and the app, which was launched mainly in the US and Australia, overtook Tinder and Twitter in the total number of downloads. Pokémon Go surpassed the wildest expectations of its creators, Niantic Labs, and then some.

With popularity comes scale, and with scale comes an overload of requests to the gaming servers. If you are not prepared enough, requests fail and users are frustrated. Frustrated with Pokémon Go crashes, laymen were talking about server status and memes were being created and circulated on social networks. Overnight, websites spun up just to report if the game was up or down in different countries. Being closely related to the APM space, my head was drawing up various ways in which Pokémon Go was perhaps addressing the issue and what monitoring they had to put in place to retain their popularity. Here is my list of probable solutions Pokémon Go could employ to improve the experience for their users and avid fans:

1. Synthetic monitoring

The first and most important question: Is the application up or down, and can users login from around the world?

A game this popular would need to ensure a five nine availability and high Apdex score. With synthetic end-user monitoring, simulated tests can be run from around the world to check for availability and response time as often every few seconds. The simulations can allow you to login to the app and interact with the app as a gamer would.

For example if a user is catching a Pokémon, he makes a HTTP request to an API “catchPokemon” with a set of parameters. Continuously checking if these HTTP requests return a valid response code within a reasonable amount of time ensures the “catching a pokemon” capability is functioning right. This ensures problems are detected and fixed proactively. Synthetic monitoring also helps determine if an issue was due to network latency.

2. Mobile Real User Monitoring

Pokémon Go is a mobile game that is accessed only from mobile devices. Hence Mobile End User Monitoring with crash analytics is imperative to rapidly scope the problem.

Data points – such as how often did crashes occur; what devices, OS and applications versions were being used when the crash occurred; and which geographies did the user come from – are extremely essential to isolate the problem. For example, insights such as “crashes between 6 and 6:30 PM PST were happening from iOS v9 users on West Coast specifically when users attempted to transfer a Pokemon” gives an instant problem scope to delve deeper into.

Further, by tracing individual requests, one can delve into exactly what line of code or what services/microservices could have impacted a particular crash. This data becomes even more insightful if it can be correlated with Twitter sentiment analysis.

A comparison between response time trends and throughput is also another good data point to evaluate if slow responses were due to extra load or an application bug.

3. Server, Database, Application Server Monitoring

In order to deal with scale, the infrastructure to support the game needs to be monitored to spot bottlenecks easily. This requires automatic discovery and health check of all the components that the game runs on.

Considering auto-scaling and high resiliency failover will probably be turned on to cater to the load, the discovery needs to be truly dynamic to track any new nodes that come up. A dynamically discovered topology could have multiple components such as application servers, web servers, databases, load balancers, content distribution networks etc. Memory leaks, CPU consumption, database I/O and space utilization, queues and deadlocks are metrics whose trends need to be monitored continuously with automatic baselines to help identify deviation from normal. Additionally, tracking and correlating log errors via log analysis from these various resources can help diagnose issues rapidly.

4. Predictive anomaly detection for the future

With sudden popularity, one thing that is bound to go out of control is a flood of alerts. To reduce alert noise and ensure that right issues are being worked on, there is the need to have intelligent monitoring alerts. Alerts should be generated based on analyzing, correlating and de-duplicating a set of events and should present sufficient information to enable faster debugging.

As an advanced setup, Pokémon Go monitoring should enable predictive anomaly detection to predict trends on capacity and consumption of backend resources much before they become issues.

Payal Chakravarty is a Program Director of Product Management for IBM Application Performance Management.

Share this

The Latest

November 09, 2018

In a recent webinar AIOps and IT Analytics at the Crossroads, I was asked several times about the borderline between AIOps and monitoring tools — most particularly application performance monitoring (APM) capabilities. The general direction of the questions was — how are they different? Do you need AIOps if you have APM already? Why should I invest in both? ...

November 08, 2018

There's no place like the web and smartphones for the holidays. With the biggest shopping season of the year quickly approaching, retailers are gearing up to experience the most traffic their online platforms (web, mobile, IoT) have ever seen. To avoid missing out on millions this holiday season, below are the top five ways developers can keep their apps and websites up and running without a hitch ...

November 07, 2018

Usage data is multifaceted, with many diverse benefits. Harvesting usage-driven insights effectively requires both good foundational technology and a nimbleness of mind to unify insights across IT's many silos of domains and disciplines. Because of this, leveraging usage-driven insights can in itself become a catalyst for helping IT as a whole transform toward improved efficiencies and enhanced levels of business alignment ...

November 06, 2018

The requirements to maintain the complete availability and superior performance of your mission-critical workloads is a dynamic process that has never been more challenging. Here are five ways IT teams can measure and guarantee performance-based SLAs in order to increase the value of the infrastructure to the business, and ensure optimal digital performance levels ...

November 05, 2018

APMdigest asked experts from across the IT industry for their opinions on what IT departments should be monitoring to ensure digital performance. Part 5, the final installment, offers some recommendations you may not have thought about ...

November 02, 2018

APMdigest asked experts from across the IT industry for their opinions on what IT departments should be monitoring to ensure digital performance. Part 4 covers the infrastructure, including the cloud and the network ...

November 01, 2018

APMdigest asked experts from across the IT industry for their opinions on what IT departments should be monitoring to ensure digital performance. Part 3 covers the development side ...

October 31, 2018

Halloween is a time for all things spooky, but not when it comes to your mobile app experience. A poor experience can not only scare off your customers but keep them away for good ...

October 30, 2018

APMdigest asked experts from across the IT industry for their opinions on what IT departments should be monitoring to ensure digital performance. Part 2 covers key performance metrics like availability and response time ...

October 29, 2018

In today's digital economy, monitoring is a must. Your customers must be able to access your website and your apps, interact, purchase — and monitoring is one way to make sure this keeps happening. But the first question has to be: What should be monitored? With this in mind, APMdigest asked experts from across the IT industry for their opinions on what IT departments should be monitoring to ensure digital performance. Part 1 starts with a high level view of the end-user and customer ...