How data rule the world<br />Kristoffer Benjaminsson CTO<br />
Easy?<br />Easy is a studio within EA Games that do free to play games<br />Originates from DICE<br />3 live titles<br />B...
Trailer<br />
Telemetry - Wikipedia<br />” Telemetry (synonymous with telematics) is a technology that allows remote measurement and rep...
Telemetry - Easy<br />Data that helps us make decisions to provide a better service for our players<br />Provides answers ...
Why bother?<br />We prefer to know what is going on instead of guessing<br />We can measure results from actions<br />Data...
Game telemetry examples<br />Latency data<br />Punkbuster kicks<br />Matchmaking<br />Time to level<br />Hardware profiles...
Architecture<br />Game Client<br />Magma<br />DB<br />Reporting<br />Game Server<br />
Implementation<br />TelemetryManager sends data to our backend for database storage<br />Hooks in the game code collects d...
Example record<br />class PingRecord : public ITelemetryRecord<br />{<br />public:<br />PingRecord(const std::string& clie...
Example usage<br />player->addTelemetry(new backend::telemetry::PingRecord(clientIp,<br />  serverAddressAndPort, <br />		...
Real life examples<br />
High latency - before<br />
Why were people in Europe being matchmade to Australia and North America?<br />
High latency - after<br />
How did we do it?<br />Generated an HTML page<br />GeoIP City<br />A bit of C#<br />Google Maps API<br />Telemetry data<br...
Example page<br /><html><br />    <head><br />        <meta name="viewport" content="initial-scale=1.0, user-scalable=no" ...
Google Maps<br />
Punkbuster - before<br />
Punkbuster - after<br />
How did we do it?<br />Microsoft SQL Server 2008: Reporting Services<br />Standard BI tool<br />Easy to create charts and ...
During development<br />
Asserts<br />We collect all asserts fromboth client and server<br />We differentiate between content asserts and code asse...
Fragalyzer<br />Level design helper tool<br />Collects information about how a map is played<br />Kill position<br />Kille...
Summary<br />Telemetry is awesome!<br />Collect data to answer specific queries<br />Build a flexible system to make it su...
Questions?<br />
Upcoming SlideShare
Loading in …5
×

How data rules the world: Telemetry in Battlefield Heroes

16,554 views

Published on

By Kristoffer Benjaminsson, CTO, Easy.

This talk presents the telemetry system used in Battlefield Heroes and how it helps the team make technical decisions in order to provide the best service possible. We will show real life examples of how telemetry helped improve matchmaking, reduce latency for players and help find false alarms from the cheat detection system. We will also discuss how telemetry can be used in development for catching bugs and support game designers in their work.

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
16,554
On SlideShare
0
From Embeds
0
Number of Embeds
11,922
Actions
Shares
0
Downloads
50
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

How data rules the world: Telemetry in Battlefield Heroes

  1. 1. How data rule the world<br />Kristoffer Benjaminsson CTO<br />
  2. 2. Easy?<br />Easy is a studio within EA Games that do free to play games<br />Originates from DICE<br />3 live titles<br />Battlefield Heroes<br />Battleforge<br />Lord of Ultima<br />
  3. 3. Trailer<br />
  4. 4. Telemetry - Wikipedia<br />” Telemetry (synonymous with telematics) is a technology that allows remote measurement and reporting of information. The word is derived from Greek roots tele = remote, and metron = measure.”<br />
  5. 5. Telemetry - Easy<br />Data that helps us make decisions to provide a better service for our players<br />Provides answers to specific questions<br />Multiple sources<br />Financial data<br />Game statistics<br />Web behaviour data<br />Game telemetry<br />Vertical slice of the player population<br />
  6. 6. Why bother?<br />We prefer to know what is going on instead of guessing<br />We can measure results from actions<br />Data do not (usually) lie<br />Forums not representative <br />Less than 20% read forum posts<br />Less than 5% post in forums<br />
  7. 7. Game telemetry examples<br />Latency data<br />Punkbuster kicks<br />Matchmaking<br />Time to level<br />Hardware profiles<br />Play time<br />
  8. 8. Architecture<br />Game Client<br />Magma<br />DB<br />Reporting<br />Game Server<br />
  9. 9. Implementation<br />TelemetryManager sends data to our backend for database storage<br />Hooks in the game code collects data<br />Hooks are records packed as name value pairs<br />Each record will create its own table in the database<br />All telemtry includes a common identifer so we can cross reference data between telemetry hooks<br />
  10. 10. Example record<br />class PingRecord : public ITelemetryRecord<br />{<br />public:<br />PingRecord(const std::string& clientIp, const std::string& serverIp, int ping, const std::string& dataCenter, const std::string& community);<br />public:<br /> virtual boolhasType( inttypeId ) const { return typeId == RTPing; }<br /> virtual bool assimilate( const ITelemetryRecord* other ) { return false; }<br /> virtual IDataCollector::DataRef buildData() const;<br />private:<br /> std::string m_clientIp;<br /> std::string m_serverIp;<br /> int m_ping;<br /> std::string m_dataCenter;<br /> std::string m_community;<br />};<br />
  11. 11. Example usage<br />player->addTelemetry(new backend::telemetry::PingRecord(clientIp,<br /> serverAddressAndPort, <br /> conn->getAveragePing(), <br /> serverSettings->getProdDataCenter(), <br /> serverSettings->getServerCommunity()));<br />
  12. 12. Real life examples<br />
  13. 13. High latency - before<br />
  14. 14. Why were people in Europe being matchmade to Australia and North America?<br />
  15. 15. High latency - after<br />
  16. 16. How did we do it?<br />Generated an HTML page<br />GeoIP City<br />A bit of C#<br />Google Maps API<br />Telemetry data<br />A bit of SQL<br />
  17. 17. Example page<br /><html><br /> <head><br /> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /><br /> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script><br /> <script type="text/javascript"><br /> function initialize()<br /> {<br /> var latlng = new google.maps.LatLng(45.5735931396484, 12.1060943603516);<br /> var myOptions =<br /> {<br /> zoom: 2,<br /> center: latlng,<br /> mapTypeId: google.maps.MapTypeId.ROADMAP<br /> };<br /> var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);<br /> var marker = null;<br /> var coords = null;<br /> var path = null;<br /> marker = new google.maps.Marker({ position: new google.maps.LatLng(59.433, 24.728), map: map, title:"gva, 62.65.243.167" , icon: "client.png" });<br /> marker = new google.maps.Marker({ position: new google.maps.LatLng(52.350, 4.916), map: map, title:"gva" , icon: "server.png" });<br /> coords = [new google.maps.LatLng(59.433, 24.7283), new google.maps.LatLng(52.350, 4.916)];<br /> path = new google.maps.Polyline({ path: coords, strokeColor: "#ff0000", strokeOpcaity: 0.5, strokeWeight: 1});<br /> path.setMap(map);<br /> }<br /> </script><br /> </head><br /> <body onload="initialize()"><br /> <div id="map_canvas" style="width: 100%; height: 100%"></div><br /> </body><br /></html><br />
  18. 18. Google Maps<br />
  19. 19. Punkbuster - before<br />
  20. 20. Punkbuster - after<br />
  21. 21. How did we do it?<br />Microsoft SQL Server 2008: Reporting Services<br />Standard BI tool<br />Easy to create charts and tables<br />Updates on a daily basis<br />
  22. 22. During development<br />
  23. 23. Asserts<br />We collect all asserts fromboth client and server<br />We differentiate between content asserts and code asserts<br />We have leaderboards and summaries<br />Top 10 asserts<br />Total content/code asserts per branch<br />Provides guidance to what we need to fix<br />
  24. 24. Fragalyzer<br />Level design helper tool<br />Collects information about how a map is played<br />Kill position<br />Killed from position<br />Player/Vehicle movement<br />Etc<br />Currently collected locally on a game server<br />
  25. 25. Summary<br />Telemetry is awesome!<br />Collect data to answer specific queries<br />Build a flexible system to make it super easy to add new telemetry hooks<br />Chose the right reporting tools to mine and report on the data<br />
  26. 26. Questions?<br />

×