Skip to main content

Lessons Learned: Building a Scalable Game Analytics Platform at Netflix

Summary

  • Mobile and Cloud Games: Netflix built a catalog of 100+ games across mobile, TV, and web platforms, requiring a robust analytics solution for diverse stakeholders.
  • Data Strategy Decisions: This video covers Netflix's journey balancing in-house solutions versus external services, managing developer autonomy while maintaining data integrity and contracts.
  • Self-Service Analytics: The Games Data team shares lessons learned building a multi-tenant data ecosystem supporting diverse game telemetry and enabling self-service analytics.

Lessons Learned: Building a Scalable Game Analytics Platform at Netflix

Watch: Lessons Learned: Building a Scalable Game Analytics Platform at Netflix
Talk by Bhargavi Reddy Dokuru, Senior Data Engineer, NETFLIX INC ; Michael Cuthbert, Snr. Software Engineer, Netflix
Over the past three years, Netflix has built a catalog of 100+ mobile and cloud games across TV, mobile and web platforms. With both internal and external studios contributing to this diverse ecosystem, building a robust game analytics platform became crucial for gaining insights into player behavior, optimizing game performance and driving member engagement. In this talk, we’ll share our journey of building Netflix’s Game Analytics platform from the ground up. We’ll highlight key decisions around data strategy, such as whether to develop an in-house solution or adopt an external service. We’ll discuss the challenges of balancing developer autonomy with data integrity and the complexities of managing data contracts for custom game telemetry, with an emphasis on self-service analytics. Attendees will learn how the Games Data team navigated these challenges, the lessons learned and the trade-offs involved in building a multi-tenant data ecosystem that supports diverse stakeholders.
Here's more to explore:
Databricks named a leader in the 2024 Gartner® Magic Quadrant™for Cloud DBMS: https://www.databricks.com/resources/analyst-paper/databricks-named-leader-by-gartner
An open, unified approach to your data, BI and AI workloads: https://www.databricks.com/product/databricks-sql
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements

FAQs

How many games does Netflix have?

This video notes that Netflix has over 100 mobile games available as native apps, plus approximately 10 games playable directly on TV and PC using phones as controllers. Games on TV run on Netflix's open connect servers while clients render frames, enabling play across multiple devices without high-end hardware.

What challenges did Netflix face building a game analytics platform?

This video describes Netflix's challenge of building a robust analytics platform for 100+ internally-developed and externally-contributed games across multiple platforms. The Games Data team navigated balancing developer autonomy with data integrity, managing custom game telemetry, and supporting diverse internal and external stakeholders.

How did Netflix approach data strategy for games?

This video emphasizes Netflix's consideration of whether to build an in-house solution or adopt external services. The company chose to build internally, learning valuable lessons about data contracts, governance, and creating a multi-tenant ecosystem that maintains data quality while enabling developer self-service.

Why is analytics critical for Netflix games?

This video highlights that game analytics drive insights into player behavior, optimize performance, and increase member engagement. With mobile games potentially playable offline and a complex multi-platform landscape, robust analytics help Netflix understand usage patterns and improve the player experience.

Full transcript

So, a couple of years ago, Netflix decided to venture into games because apparently a 14-hour true crime documentary was not interactive enough for our audiences. Anyway, so we decided, we're like, let's use our existing analytics platform that we had built for streaming. We were adorable. It wasn't as straightforward. So, in this talk, we're going to be talking about some of the challenges in terms of working with game data and how we build a scalable game analytics platform at Netflix.
Hello everyone. I'm a data engineer with Netflix games. Um, fun fact, I don't play a lot of games, so I have no idea how I got this job. Um, I'm here with, uh, who does play a lot of games. So, thankfully, one of us is into games. He's a software engineer on the same team. Um, and none of this would have been possible actually without the contributions of all of our team members who are not here today, but they are represented by this cute watermelon from one of our popular games called Underwatermelon.
Uh, so totally using this opportunity to sell this game. Go check it out. Um, so before we dive into the architecture, I know that's everyone's favorite slide. that's when all the phones come out. But sorry you all that has to wait a little bit. But before that, I'm going to give a brief overview of games at Netflix um and some of the challenges. So Netflix games today is available on two different platforms, mobile and games on TV.
So we launched mobile games in 2021 as a new offering on a service. So mobile games run natively on our mobile devices and many of them can be played offline. So you don't need a constant internet connection. Um we have more than 100 games on mobile today and each game is its own application that you can download from the app store or play store. The other category of game is games on TV. So about 2 years after we launched our games on TV in beta in select regions.
So we have about 10 games today and these are games that you can directly play on your TV or PCs using your phone as a controller. So the game itself runs on remote open connect servers but your display clients just render the frames. And the whole goal for this category of games is to enable players to play games on multiple device surfaces without the need for high-end hardware like an Xbox or a PlayStation. Um, so now that you have a very good understanding of Netflix games, um, you might see that the data landscape can get incredibly complex.
We have more than 100 games on the platform and each game is its own piece of software that can behave very differently. We have games across multiple platforms like I said TV, mobile um and web each game running you know on different game engines. So that can create complexity in the device landscape. We also have multiple game studios that we work with who are, you know, building and publishing games across different device categories and device genres and their data needs are very different from one another.
We also have data coming from multiple sources. So we have data coming from your client devices, your phone as a controller, from remote um open connect servers, from Netflix services, from game backends. So that's a lot of sources that we need to consider and I think most importantly that's going to be the crux of this talk today is that game mechanics is very different game to game. So if I compare it to streaming and when I say streaming it means like movie movies and the TV shows that you watch on Netflix.
The number of user interactions that you can possibly do are quite limited. So you can skip intro, you know, pause, resume, maybe fast forward or exit to go back to Netflix homepage. But games are so different. There's so many possible interactions that you need to capture inside the game. And this is and this is crucial to understand player engagement. Um, sometimes this is the kind of nuance telemetry that's going to make or break a game.
Um and this kind of nuance telemetry is what we need to solution for. This was the problem you know that didn't exist on streaming that we had to solve for. So with all that complexity, we needed a robust solution for our game analytics platform that leaned into flexibility and self-service because at the end of the day, the game developers will know the best about the game mechanics and the gameplay loop for the individual games.
And data teams will never be scaled enough to know about all of the data requests and what's important within the game that drives play engagement. So we essentially have to put the right tools in the hands of the game developers to enable them to start tracking telemetry for their individual games. But obviously our early days looked a lot different. So the solution obviously didn't happen overnight. It took a couple of years for us to build it out.
Um but we had to start somewhere. So in the early days we focused a lot more on portfolio telemetry. And when I say portfolio telemetry, uh these are categories of telemetry that universally apply to all games. Like the concept of a game start, a game stop or play duration. Um this is also super important and gave us like a lot of good insight into what games are working for Netflix, what games are not working for Netflix, how long people are playing.
Um but at the end of the day, we need to level it up. we need to understand the nuanced interactions and you know play engagement inside the games. So with that I'm going to pass it over to talk a little bit about in-game telemetry and or like game specific telemetry which is going to be the core of the talk today. Thank you. So firstly I love gaming. Um, it's been a passion of mine for decades. And so much so that last week, my 12-year-old son convinced me to stand in line for 6 hours to get the Switch, too.
And it was worth it. Uh, Mario Kart World is an amazing game. Nintendo is an amazing game company. But what I'm going to talk about is a game many, many years ago. Um, and this may date me a little bit. Um, probably a lot of you won't know what the heck that is, but that is a game called Space Quest. And when I was a young kid, this was my favorite game. And probably still is more one of my favorite games of all time.
I played it multiple times since then. But I want to tell you a little story about uh me as an 8-year-old kid playing this game and getting stuck trying to figure out how to push that stupid rock onto that spider droid. It took me three months to figure it out. And during that time, I did not enjoy the experience I was having. I was frustrated. I was ready to give up. Um, this was my favorite game and I was ready to put it throw it away.
Now, in-game data. Why do we track in-game data? It's for this type of scenario. Um, when are our users frustrated about what they're doing? When are they bored about what they're doing? When is it too hard? When is it too easy? All these questions are really important for a game developer, game studio to understand about their game, how to make it better, how to make our members enjoy the experience that they're doing.
So, it may be a simple scenario, but it kind of speaks to a larger thing. Now, back then, we didn't have kind of the systems in place to do do what we do now, but uh this kind of helped me and informed me in where where I was going to go. uh and we built the game analytics platform which was a tool that was aimed to create the modeling, logging and analyzing of telemetry a very seamless uh experience. So in the example that I gave before where I was an 8-year-old kid who got stuck in this situation, uh the ideal situation would be to have some sort of telemetry that would tell the developers, hey, there's a lot of people getting stuck here.
Maybe we should figure out what that is. Um, obviously back in the day they didn't really have a way to patch it as well. Um, live service games weren't really a thing, but you kind of get the idea. Um, the other thing that we have to deal with is slightly different to what a lot in this maybe this conference is dealing with, and that is compute scaling. We don't really have an issue with compute scaling. Netflix has been doing this for decades.
They're very, very good at handling a lot of data. Um, sometimes it doesn't go perfect, but they handle a lot of data every day. So, we don't really have to worry about we can rely on all the things that Netflix does well and focus on the things that maybe they haven't really thought about. And this is more human scaling. Um, and what do I mean by that? So, as as mentioned, we have hundreds of games on our platform. Um, and hundreds of studios that build these games all have different kind of workflows that they deal with, all have different uh engines that they use for the game, different environments.
Uh, it's a very different kind of uh system each and every time. Uh, the games that I have up here, these all Netflix games that have been released recently, uh, Black Mirror Thongs, which is a really fun game and also a very great tie-in with the TV show. Um, but that's a very different game to Cozy Grove, which is aptly a cozy uh genre game. Uh, which is also different from Squid Game Unleashed, which is more like a miniame, competitive game.
Uh, Oxenfree, a narrative game. All these are very different games, and how you uh how you log the data is going to be different. So, we're dealing with human scaling. Our small team that we have cannot handle that. We can focus in on our big bets. Um the important game the games are important to us but at the end of the day we can't handle it for everyone and we wanted to make a s system or a platform that would be for everyone.
Uh so before we get into the details of that I want to talk about how we how we decided to go along that path. Um and we started focus on three different things specifically developers data and discovery. Uh now there's three different things. They all focus on diff different kinds of things but they all point to the same solution which is a seamless experience for our end users of which as mentioned earlier there's a diverse set of stakeholders with different requirements of what they want uh different kind of use cases that they're looking at and different things they want out of the platform itself.
Um and without this it's somewhat impossible to scale. uh we have to have this kind of self-s serve approach and these uh north stars if you will uh point to that um to that approach. So the first thing is developers. Uh so game developers uh if you've ever interacted with game developers uh they tend to like making games. Makes sense. Um and logging telemetry isn't high on their list of things they want to do. It's not high on list of priorities for people.
Uh the studios generally, if you've ever experience kind of been part of the game industry, uh there's a thing called churn. Uh and uh sorry, not churn. Uh it's crunch time. Sorry, that's what I was trying to say. There's a thing called crunch time. And that's when everyone is working 80 to 90 hour weeks and they are just trying to get this game done. And if our analytics team then comes to them and be like, "Hey, let's put in telemetry."
They're like, "Nope, we can't do that." So the easiest approach is to make sure that it's as easy to integrate into the games as possible. And so we did this a couple ways. There's two snippets of code up there. The first snippet is autogenerated code. Uh and so what we do is when uh when our end users model their events, uh they will create an event that'll be in this case I actually can't see what that one is, but uh this is a player planet entered event.
So, in the game rocket, you have a little rocket and you go to a different planet and this event is fired when you enter that planet. Um, it's got a couple of properties with it. Uh, but the use the end user, they're going to do this in a nice UI. It's going to be drop downs, buttons, really cool, uh, easy to approach. The code that is generated is then used and dropped directly into, um, into their game. So if they're using Unreal or Unity or some custom engine, they can just drop it based on whatever language they have.
And we support multiple languages like C++, so C, Java, a whole bunch of different languages. Once the code is dropped in, then it's a oneline logging of telemetry. And usually that's done through our SDK or the web API, but it's a really simple one oneliner. Um, and that's kind of the goal is to make sure that there's just one simple line, one easy thing to do so that they can just get on with their job and just log their data.
So, we made sure um that was a very big focus and each and every time there's constantly new features, constantly new things that we have to deal with and we're constantly speaking with game developers, okay, how do we make this easier? How do we make it even simpler to drop in? Um, so that's a constant uh focus for us. The next thing is data. Um, and obviously us being an an analytics team, data is very important to us.
Uh, so there's a couple things that we focus on with data. One is for those events that you saw that code that was generated. These are strongly typed events. There's no raw JSON that is thrown across the wire and then we have to try to schematize it or deal with unstructured data or something like that. We make sure our events are strongly typed and sent so that we know exactly what it is. and it's schematized throughout.
So, uh you'll see on our architecture diagram our pipeline from end to end it's schematized. Um and that's partly for the analysts and partly for the game developers as well. Um throwing raw JSON may seem easy but that's rife with errors. Uh you can constantly like throw raw JSON be like well that's not what we want. We need to change it to this and you kind of got this back and forth. If you have a strongly type event, it's much simpler to kind of make sure that you're getting it right and it forces that modeling up front.
Uh but then allows for analysts to be able to know exactly what data is going to be there. It's not this big mess of unstructured data that you got to deal with. Um and this helps us focus on answering the questions that game developers are looking to get answered. Uh the last north star is uh discovery. Uh this is a little bit harder and something we haven't quite kind of cracked quite as easily. And what I mean by this is that Netflix has tons of data um about uh viewing habits of people, about uh the media that is consumed, about the games, about multiple games.
Uh and so figuring out how those events map to each other, how people can discover what is actually being tracked. This is kind of a hard problem, but it's something that we're constantly trying to figure out. Okay, how do we how do we make it so that when the end user comes to our system, they know what's out there? They don't have to go through a bunch of SQL tables and figure out what the name of some table is, join it to some other table, map it to some something else.
Um, it's all there simply. Now, like I said, this is a hard problem. We haven't quite cracked it, but it does help us focus when we're creating features, when we're doing things. How does this help um our discovery uh northstar? Um, so I've been talking a lot about what our northstar is, but one of the things that we've built is the game event service and the game event service is part of the analytics platform. It's the UI that everyone kind of sees when they come in.
It's where they model the data. It's where they download the code packages. Um it's it's a way to help people build these uh this telemetry and not get bogged down into the details of things. So, I'm going to focus on a couple of features. uh the games event service has a lot of features but these are the four primary things that you can think of in that in that there's event modeling code generation integration and automation.
So event modeling is kind of an kind of an easy you have an event and how do you model that event? Um and in the past sometimes people have created YAML style events or codebased events or uh they build pipelines to do that kind of stuff. What we've done is created an event that is stored in a a relational database and then that can be easily used to generate code from. So we have the the modeled events and then code is generated from that model event in whatever language we have.
Once we have that code generated, it can be easily downloaded for a game developer. They can just drop it into their their engine or their environment and then they can start using it like they would a library or an API or something like that. So the integration part as I've mentioned early supposed to be really nice and simple, nice and easy. Then the last piece uh which I won't speak too much about here is the automation piece and that is the idea that everything that we do is automated in the background.
We don't want to have to as a team uh figure out how to create pipelines or build it for certain events. So pipelines are automated and automatically built dashboards automatically built. everything at a very base layer is automatically done for us so that we don't have to go in and do it for our end users. Um, and this is a really key and important part of that piece. Um, the games event service you can think of as something that pulls in a lot of other pieces together and kind of abstracts away the complexity of it.
Um because again I know all of you are probably really smart data analysts and data engineers but and your job is to do a lot of this stuff that our end users job is not to do a lot of stuff and exposing them to those things is not going to be beneficial to anybody. So the workflow that we deal with is is pretty simple and that's again the idea you model the event um and that can be as simple as that planet inserted event with just a couple of fields.
Um, I can't remember specifically what those fields were in that case, but I think there was a string there and maybe an integer and uh just a couple properties with a couple things that are passed along. Uh, like I said, once you've modeled those events, the uh developers will download the code package, drop it into their their game, and then log uh end to end from modeling to logging. Uh, this should take about 5 minutes.
Um, the longest part of doing this is actually the generation of the pipelines. Um, and that's only because it just takes a bit of time to spin up some of the pipelines in the background. Uh, but in terms of modeling, in terms of actually logging, um, I've done it a couple times where I've taken one of our, uh, studios games and I've been like, okay, well, I want to see how quickly I can go from a A to Z. Um, and it roughly speaking, if I'm not thinking about it too much, five minutes is kind of how it does.
And that's kind of the goal. make it really super super easy. And then the dashboards um there's kind of two variations of dashboards. There's automatic dashboards that are simplistic in nature and they're supposed to be simplistic in nature. They're not supposed to be overly complex and then there's the more complex um dashboards and these are the complex dashboards are not automatically gener generated. We give the end users the ability um to do what they want.
So whether that is using uh superset or tableau or various other tools, whether it's using raw SQL, uh whether it's kind of plugging into Kuffka topics or uh our pipelines in general, uh we allow for a more complex kind of hook into our system, but we also want to kind of cover that 80% um the most use cases when people can self-s serve what they're doing. Um and the and that's the goal. And I kind of repeat this over and over again.
The idea is that this is simple and it's supposed to be as easy as as possible. So this is the slide that most people have been waiting for. I've noticed in multiple uh sessions that everyone gets out their phones and I see a couple phones going up and they're like this is the Netflix architecture. Um it is a very high level view of our architecture. It is not uh diving too deep into things. So um so just understand that I'm kind of taking a very high p high level picture of this uh but what I'm going to uh cover and I'm going to let Bargovy uh do kind of the end piece.
I'm going to cover up to the edge logging and then I'm going to let Bargovy take over and do um from the Flink routing job there and she'll explain all those pieces. Uh but again I'm kind of going to reiterate some of the things we're saying. So, uh, you see the games analytics platform, which is a bit of a misnomer because that would actually be the game's event service. Um, the events are modeled stored in relational data base on demand.
A user will then request code for that or for multiple events. So, it'll get in a nice package that you can just drop into your game. Uh, then there's two variations of how to log. Uh, games generally have a game client and a game server. Not always uh but most of the time they have uh both of those. Some games will only have a game client but in general you can say that most of them have um client and server. Now a lot of games will log the telemetry directly from the client.
Uh some games will just do it from the server. Uh it just depends. Each game on Netflix uh is integrated with the Netflix SDK. It does a bunch of things, but the thing that I want to kind of point out is the telemetry piece of it. So there's an API within the Netflix SDK that is a telemetry API which is which has a a function called log event and any any events that you model in uh the games event service and that code package you download uh you can just pass that object into the log event API and it will hit through our servers.
Um and that's literally all you have to do. Granted, you have to integrate the Netflix SDK into your game, but once that's done, um, and that has to be done anyway, logging the events are simple. For the game server, it's a little bit different. Uh, that has to go over the over uh HTTP um to a web API. Uh, there's obviously security involved in that, which it's not necessary for this talk to get into. Uh, but essentially, it's a similar process.
Some of our generated code will do it for you. Uh but there are some instances where we can just can't feasibly do it. Um and that's usually the case where there's no standard HTTP libraries that can be used. Uh so for Unreal, there is a standard library that's in Unreal and we can plug into that standard library. For C++, if any of you are C++ programmers, there is not. And HTTP libraries can be frustrating in C++ in general.
And so we kind of just leave it up to the user on how they want to do it. Um once it gets there it logs to the Netflix edge servers um which at that point is handed off to the flink routing job and I will give it off to explain the rest. Thank you. So once the events get through to the Netflix ecosystem via the edge logging layer, they get processed by our central realtime Flink application which does a majority of the data transformations like extracting the relevant keys, enrichment with useful dimensions and other metadata.
Um but one of the primary responsibilities of this Flink application is to dynamically route all these events into dedicated Kafka topics. So now we're heavily using Kafka and Flink as our real-time data processing um tools. Um so we maintain a dedicated Kafka topic per event on the games event service which means if you have 20 different titles each instrumenting 20 different events we're talking about 400 different Kafka topics.
So once the data lands in Kafka it gets synced to Iceberg and Druid which is our persistent data storage layers. Uh iceberg is a central data warehouse uh backed by S3. Um and in this case the schema of each iceberg table is matches the schema of the Kafka topics. So they're always in par. And I'm I'm going to go through some of the individual components uh a little bit later. But once the data lands in these primary iceberg tables um we obviously have a lot of reporting tools u which are internal but also superset tablo which lets you access the data directly under the hood.
Um druid is a complimentary technology uh which provides low latency real-time analytics and it's complimentary to iceberg depending on the use cases that you have. So the goal of it is this entire process is automated end to end. So there is zero incremental data engineering when there's like a new event created or there's a new title that's onboarded. And let's go through the data components that we had to build to enable uh the solution to work.
So the first one was adopting an infrastructure as code solution. Like I mentioned in the earlier slides, we're looking at hundreds and thousands of artifacts, hundreds and thousands of Kafka topics, iceberg tables, Druid tables, and it's just not scalable for any data engineer and go and create these artifacts manually. And just to take a step back, Netflix has a homegrown real-time data platform called data mesh. Um, which is a fully managed streaming data movement and processing product.
Um it prior to games it was pretty much like a drag and drop interface where data engineers or data practitioners can go and create their artifacts like your sources, your syncs, create the pipeline so that data engineers can really focus on the things that can drive business value like the actual data transformation layer without having to manage the streaming infrastructure. But even with this drag and drop interface, it's not scalable for any one person to keep going and create these pipelines for every single event.
So we had to advocate for infrastructure as code capabilities within our data platform uh to enable us to spin up infrastructure on the fly every time there's like a new event that's created. So the way it works is every time a game onboards onto the games event service and creates an event, it kicks off a YAML based automation flow that goes and calls a bunch of APIs and spins up all of these uh sources and uh and syncs.
And one caveat is once the event is in production, we don't allow for breaking changes. Uh so if the game devel developer wants to go and create you know make any breaking changes it's essentially a new event so you have to deprecate the old one but if they do end up creating non-breaking changes the schema propagates um to all of the artifacts that are created. Um okay so let's move on to the next component. So the second major component that I want to talk about is a primary Flink application that processes all of the guest events and routes it to these automatically created Kafka topics.
So um we have um uh a central Netflix schema management system uh that's m it's called the multi-ubject schema store is part of Netflix's schema management system which is used to handle data schemas uh for various subjects or data topics. Um so in order for the Flink app to dynamically route it to the individual Kafka topic you need two things. So one is the name of the output sync and the most recent avo schema of that sync.
So we maintain unique naming conventions for all of our artifacts. So for GAP every artifact is prefixed with GAP then you have the title name and then you have the name of the event. So because of these strict naming conventions it's easy for us to generate a unique identifier for every Kafka topic. So the schema ID here is the unique identifier for every individual Kafka topic that we compute on the fly based on the message attributes.
So based on the payload that's being processed, we know exactly what title is generating that event and what the name of the event is. And once we have that information, we're able to serialize the information, create a gen generic record and pass it downstream to individual Kafka topics. So the third component that I'd like to talk about is the actual like analytics layer for enabling consumers to access and run queries uh from the data uh that they've generated.
So we actually evaluated a lot of tools external and internal. We wanted a pretty UI that's drag and drop very intuitive for game developers to work with. Um because Tableau is not intuitive, right? Like I think what we really want to know really want to do is scale data teams and we found Superset had the right feature sets for us and for the game developers to um you know run self-service analytics on on the data that they're generating.
Um as part of the games event service we also automate a lot of the dashboards by the way. So by virtue of being on the games event service, you can access a lot of the automated dashboards that um the game analytics platform creates, but you can always go into supersedet. The game developers know exactly where the data is. Uh they know where the tables are and they can just connect and you know get going. You can create very simple charts like the one that I have on the slide and or based on how data savvy you want to be about your analytics, you can also create a bunch of um you know nuanced analytics and the whole goal is to make it extremely simple for game developers to come and run analytics on the data in a self-service format.
Okay, so moving on to design trade-offs. Obviously, there were a lot of architectural decisions that we had to take along the way. I think one of the mostly debated ones were, hey, should we maintain one single iceberg table versus multiple tables per title? Um, so this category of telemetry, you know, game developers just care about data about their game. So we need to maintain some separation of concerns. There's no point of combining all the data into a single table.
So obviously like we we want to break it down by title for sure. But then even once we break it down by title, the decision we took is to have one table per event that we create. Um, and the reason is because with the single table approach, we're still talking about complex types because every event has a different data model and then it's the same pro problem all over again like game developers have to extract the relevant keys.
They need to um, you know, it's it's it's cumbersome to run analytics on complex types. And the other reason is that um or or or the other approach is to have super wide iceberg tables. I don't think there's there's any like imposed limits on the number of columns that you can have but I mean let's say title instruments a lot lots and lots of telemetry we're looking at super wide iceberg tables and it can have performance implications in terms of data scanning and IO and it's just like u it's not simple to understand there just so many nulls in in the table u it's not intuitive um and the data automation really works well so um We went with a multi-table approach.
The second thing is and a lot of data engineers will find this funny is we went with a partitioning um uh processing time partitioning scheme. Uh you must be wondering hey we always partition by the event um occurrence time in our final tables. But this was a conscious decision that we took because here we're talking about like so many moving parts, so many different iceberg tables. if there are data issues, it's just so much easier to reprocess data that's been partitioned by um your processing time.
Um and we just at the end of the day keep it simple. I think this is where we need to understand a lot of the user query patterns and when we talk to the game developers a lot of the analytics around hey have you performed an action or not versus hey when exactly did you perform that action? Um, and the and the table itself is a very small subset of the data that the game is producing. So you don't run into risk of like super large scan times.
Um, and the last like limitation I'd like to call out is the superset limitation. Of course, it's not the perfect tool. Uh, in fact like creating second order measures like aggregate of aggregates of or average of averages. Um, it's still cumbersome. It's not intuitive. Uh but like mentioned the goal is not to solve for 100% of the use cases. We want to get to a place where game developers have the right tools in their hands that they can run with and you know for some of the more advanced analytics our team will still be involved.
So we're still very like early in the process of obviously trying to iterate and improve um our systems. Uh but yeah this is where we are at. Okay. So with that, I'll pass back to talk about some of the lessons learned. Uh so I'm going to quickly over this uh because we're kind of short on time. Um and this is the last slide so it's not going to be much longer. Uh but we did we learned many lessons over this period and uh I'm just kind of pointing out three.
Um and so the first one keeping it simple. This is something that I've learned over my career in general, but especially here, the idea is you don't want complexity in your system, especially for these kind of users. Uh they want to be able to use it very easily. Um they don't want to have complex SQL queries that they got to write. They don't want to have to do complex joins on tables. They don't want to try to figure out where their data is or they don't want to try and figure out how to integrate into their game.
They want a simple process from end to end. Um and that was the goal. And so every single time we look at new features, every single time we look at new things to do, it's like, can we make it simpler? Um, can we make this process simple? Are we thinking about this in a too complex way? Um, is a solution that we're doing too complex? Um, and so we kind of keep this in mind as we're going. Um, and I think this is good for just about anything in engineering.
Um, the next thing is something I didn't quite think about at first, but uh, it kind of cropped up in one of the games that we worked with. Um, and that was the idea of making it easy to see the data. And I've kind of hinted on this throughout um, the talk. Uh, but the idea is we built this system and then we dropped it into iceberg table and then someone could access it through SQL or whatever and it was like, well, we're done.
You know, that's now they can do what they want to do. Um, but as it turned out that we weren't done because a lot of people like where's my data now? Like I'm I don't want to do what you guys do. I just want to see it. And uh it's a simple request at the end of the day. Uh but it's something that sometimes we miss in terms of like, oh yeah, they just want to see a dashboard. They just want to see a report. They just want to see a chart.
They want to see the data. There's a sense of satis satisfaction that when you log the data and then there's a chart that shows the data showing up. Um there's this immediate gratifi gratification that happens uh when you see that if you delay it and put in this request this whole thing of like well you got to write this whole SQL query or you got to do this or you got to do this and this and this it kind of deflates a lot of it.
So make it really easy to see at least uh address those early uh 50 60 70% use cases. The last one I'll point out is know your users. So uh we mentioned this a couple times as well. We have a very diverse uh stakeholder group. Um there are game developers, g uh uh data analysts, data engineers, game producers, game studios, uh execs, uh just so many different kinds of people that want to see the data, that want to use the system in different ways.
And understanding your audience is very important. If we had built a system that was focused on data analysts, the game developers might have been like, well, I'm not really using this. I'm going to do what I'm going to do. And then no one would have really used the system. So you have to understand both sides and they may be conflicting uh but it's important to understand those conflicts uh figure out the best kind of pathway forward.
Um so understanding users I think is a really super important thing. Uh with that uh those are the primary lessons that we have learned. I want to thank you everyone for spending I don't know 40 minutes or so. So thank you very much.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.