Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

28
Maximizing Revenue Through Logging Albert Ho

description

How do you balance the dynamic needs of millions of concurrent users, support hundreds of developers, optimize a distributed cloud environment, push code releases daily, and stay sane? It starts with visibility into all your data and real-time insight from your log files. In this session at the 2014 Game Developers Conference, Albert Ho provided a step-by-step outline of how Rumble Entertainment maximizes revenue in online games by: Instrumenting its games and platform to facilitate global troubleshooting Gathering insight from log files to identify, quantify and solve operational issues Conducting transactional tracing starting from player feedback on open social networks to isolate the source, server and all users affected by the issue for remediation Baking Loggly into the DNA of its games to serve as a single source of truth and extended it to how we work with partners Correlating real-time visibility directly to revenue to speed decision making and planning

Transcript of Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Page 1: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Maximizing Revenue Through Logging Albert Ho

Page 2: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

About Rumble Funded by: Mission: ●  Bring AAA quality to F2P ●  Play together cross-device/platform

Page 3: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Rumble’s Platform ●  Played in >200 countries ●  Six data centers worldwide ●  Hybrid infrastructure ●  Play together on:

Page 4: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

What this talk is about…

User Acquisition

Funnel Loss Retention Loss

Your Game Paid Users

Free Users

Page 5: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

“Logging” Distinctions ●  User behavior

●  Game design, retention, virality, monetization

●  System behavior ●  Maximize potential ●  Lower CPA

Page 6: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Thesis “You really aren’t maximizing revenue

unless you can measure system behavior”

Page 7: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging
Page 8: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Challenges ●  24/7 operations ●  Game teams ship code daily ●  Being “up” is not good enough

Page 9: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

The Long Tail of Revenue Lost: Daily Site Problems Affect Weeks of Revenue

Outage

Problem

Recovery

New Installs/Sales

Revenue

Days

Page 10: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

How to Detect Problems

●  Solving is Harder than it sounds Signal to noise ratio + Indexing and search + Multiple game teams shipping code daily = BIG Headache and world’s biggest chore

The answers are in the logs!

Page 11: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Rumble Logging 1.0 ●  Graylog, Elasticsearch ftw?

●  1 day to setup ●  Collecting for 2 game servers ●  Few hundred MB a day / 7-day retention time ●  Scaling is easy… right?

- Bigger hard disks, more ES nodes

Page 12: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Rumble Logging 1.5 ●  7 days to setup ES cluster ●  > 20 servers ●  Logs @ TB a day / 3-day retention time ●  Log noise incomprehensible ●  Very expensive!!! ●  Logging cluster broke every day

Page 13: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Key Learnings Log Management is really… “Undifferentiated Heavy Lifting”

We were spending more on LOGGING than HOSTING

There must be an expert that does it better, faster, and cheaper

Page 14: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Rumble Logging 2.0 Requirements ●  Must support JSON ●  Easy to integrate ●  Can scale up and meet retention time goals ●  Cost-effective

Page 15: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Enter…….

●  No more agents! ●  REST API – 21st century please/no syslogs ●  Scalable and Responsive ●  Superb partner relationship

Page 16: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Sample Log

Page 17: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Loggly Use Cases ●  Log clean-up ●  Release monitoring and debugging ●  Customer service requests ●  Trend analysis ●  3rd-party developers

Page 18: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Log Clean-up ●  1000’s errors per minute noise ●  DEBUG, INFO, WARN, ERROR? ●  Reduce TB’s of logs to GB’s

Page 19: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Release Monitoring ●  Log snapshots before and after

Page 20: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Release Monitoring ●  Game teams own

process ●  All logs in one place ●  Easy for PM’s

Page 21: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Customer Service Reactive problem solving ●  “Why is customer x slow?” ●  “Why did I not get my gems?” !

Proactive debugging ●  “These 20 customers were affected by

today’s issue.”

Page 22: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Trend Analysis Game performance analysis over time

Client Lag

Days

Page 23: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

3rd Party Development ●  Bake logging into games at the beginning

●  Including 3rd party ones…

Page 24: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging
Page 25: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Loggly Live Demo

Page 26: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Loggly Before And After Before After

Log Retention 3 days 15 days

Log Availability 50% uptime >99.9%

Debugging Speed Days Minutes

Happiness Factor

Page 27: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging

Questions? [email protected] KingsRoad http://kingsroad.com http://apps.facebook.com/kingsroadgame

Ballistic https://apps.facebook.com/ballistic

Page 28: Rumble Entertainment GDC 2014: Maximizing Revenue Through Logging