Leveling Up Data Engineering at Riot: How We Rolled Out dbt and Transformed the Developer Experience
Summary
- Developer experience focus: Riot transformed its data engineering from custom notebooks and Spark pipelines to a scalable, testable dbt-based architecture.
- Cost and velocity: The shift reduced Databricks compute spend and accelerated development cycles across teams supporting millions of players.
- Scalable operations: dbt's testing framework and version control integration enable faster iteration and more reliable data pipelines.
Leveling Up Data Engineering at Riot: How We Rolled Out dbt and Transformed the Developer Experience

Talk by Marco Garcia, Staff Software Engineer, Riot Games (Sponsor Speaker)
Riot Games reduced its Databricks compute spend and accelerated development cycles by transforming its data engineering workflows—migrating from bespoke Databricks notebooks and Spark pipelines to a scalable, testable, and developer-friendly dbt-based architecture. In this talk, members of the Developer Experience & Automation (DEA) team will walk through how they designed and operationalized dbt to support Riot’s evolving data needs.
Here’s more to explore:
Production ready data pipelines for analytics and AI: https://www.databricks.com/solutions/data-engineering
The Big Book of Data Engineering: https://www.databricks.com/resources/ebook/big-book-data-engineering-2nd-edition
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
Why did Riot Games adopt dbt?
Riot needed to move from custom Databricks notebooks and bespoke Spark pipelines to a scalable, testable, developer-friendly architecture.
What benefits did dbt provide?
dbt enabled faster development cycles, reduced compute costs, and improved code quality through built-in testing and version control integration.
How does dbt improve developer experience?
dbt brings familiar software development patterns (version control, testing, CI/CD) to data engineering, making it easier to maintain pipelines.
What data use cases does Riot support?
Riot's data engineering supports player analytics, AB testing, AI/ML use cases, and game recommendations serving millions of players globally.
Full transcript
Hi everyone. Thank you so much for first of all coming to this talk. Uh. I'm a software engineer at Riot Games. Um and today I'm I'm just really excited to share with you guys like how my team uh rolled out DBT at Riot and how it's helped shaped our developer experience u for our teams that are working with data. Uh most people probably know Riot for League of Legends uh of course, but you know over the years uh you know we've grown far beyond that.
We've we've launched titles like Valerant, uh Team Fight Tactics, Wild Rift, uh Legends of Ruter. Um we also have a new fighting game coming out later this year. Uh 2XO. Uh encourage you guys to check it out when it launches. It's it's a lot of fun. But we're also not about games anymore, right? we've we've branched out into music, comic books, uh animation, you know, notably with Arcane on on Netflix. Um, and so, you know, as we build more for our players and our fans, uh, it becomes like that much more important to try to understand them, right?
You know, how how they play, what what they care about, um, what keeps them engaged. And so, so for for us, data plays, you know, a critical role in all that. Um, you know, at Riot's our mission to be the most player focused uh game company in the world. And so I think for us to achieve that mission, we we need to we need to empower developers um across the company to be able to confidently, you know, and effectively work with data.
And so that's kind of where my team comes in, right? We're we're uh we we build a developer platform uh a data platform and help, you know, shape that developer experience around it. Um, and for us, DBT has become like a big part of that experience. Uh, you know, it's helping us bring more more people into the development process. Uh, achieve insights faster and ultimately better serve, you know, the millions of players that we have across the world.
Uh, just really quickly, uh, I just want to rewind a bit and talk about, you know, what actually, uh, led us to DBT in the first place. And also by the way when I'm talking about in SDLC we're talking about the soft software development life cycle basically the you know the endto-end development process that our devs work in from you know writing code to getting that code into production to uh making sure it runs reliably.
And so you know since 2021 uh you know we've supported an SLC on air based on airflow data bricks and pi spark um but it's it's it's you know it's been a powerful system that's en enabled a wide range of use cases across the company uh with over 130 uh contributors. Um you can see addition some additional stats about our system here. Um but you know um it serves us well for for a few years but you know as Riot has grown and some of our uh as and as our data needs have expanded uh we started to feel some of some of those strains in our system you know uh we had a lot of pipelines that were that were bespoke uh which made it difficult to reuse and maintain uh and standardize uh we had a lot of pi spark notebooks uh that uh brought us a lot of flexibility but they're really hard to test and hard to maintain.
And so we also had a really high barrier of entry for our analysts and developers that are looking to work with data. And so we started to wonder like what what you know we started we believe that we could offer something more for our developers. And so we started to wonder what you know what we could what we could bring uh what could come next for us. And so of course you know DBT is what came next. Um, and for you guys that aren't familiar with DBT, uh, DBT is a data transformation tool that enables teams to work, uh, to build data workflows using mostly SQL.
It also brings a lot of the traditional software engineering principles like testing, modularity, and version control um, into the data space. And so over the years, and I'm sure a lot of you guys noticed, like DBT has kind of taken the data engineering role by storm in a lot of ways. and at Riot, we wanted to see, you know, what will the what the hype was about. And so last year, we started to prototype a few different workflows using DBT.
Um, and I think really quickly we started to realize that it it gave us something we didn't have before. Uh, a a very unified and scalable foundation for modeling data. And so in practice what we saw was like a very streamlined process through SQL which meant now our analysts could start contributing uh to our LCLC and be able to build production grade models without having to learn all these other technologies like PI Spark.
Uh we also got built-in testing which allowed us to validate assumptions uh catch issues early and just be able to ship more more reliable pipelines. But a real first test for DBT at Riot was 2FKO uh Riot's upcoming fighting game like I mentioned. And you know because it was a brand new title that the team was really eager to start you know of course generating insights as early as possible to help uh guide their development.
And so you know the team started with a blank slate. They had no legacy pipelines. They had no data warehouse. And so it really gave all gave us all a unique opportunity to h to ask ourselves a bold question is you know what would it look like if they you know from day one used dbt to build their data warehouse and you know I think the team really really stepped up to that challenge and uh the results have been really impressive.
Uh in just a few months they were able to stand up you know like a full production uh analytic stack. uh they deployed over 150 models uh that have supported their their early you know their early play tests. And so you know these insights are are helping the team make data data data driven decisions before before the you know during development and just helping shape that player experience you know before the game even launches.
Um they also didn't just validate our approach around DBT. They also you know started to set a new standard for us at Riot uh how teams could build with data and also it became one of the catalysts for the further adoption of DBT at Riot. Another area where uh DBT really shined early for us was in R&D right and right our our R&D teams operate a little bit differently from our other game teams. you know, their mission is to it, uh, rapidly prototype new game concepts and then, you know, pivot when when something isn't working, right?
Um, and also historically this has meant, you know, they operate really lean. They have really limited resources usually to like things like embedded engineers, data engineers, um, who prior to DBT, you know, they were essential just to build up like a very, you know, basic data pipeline. And so, you know, as a result for these R&D teams, uh, you know, analytics often became a bottleneck, right? Um, either insights came late or or sometimes, you know, not at all.
And so with DBT, we're we able we were able to start kind of flipping that dynamic in a lot of ways, right? Because you know because analysts could work mostly with SQL they could they could now directly build you know in the transformation layer without having to wait on these additional you know engineering resources to free up uh to help them build these pipelines right they were able to build models and test assumptions and just be able to iterate rapidly um yeah and that so that's kind of agility is really important in the early stage development process where telemetry and schema changes you know regularly and so you It's nice to have a tool that can move as fast as as these game ideas do, right?
Um, and so as a result, these these these R&D R&D teams were able to have some actionable insights just delivered earlier in the development life cycle and helping teams just make better decisions uh faster. So once 2x go and in these R&D teams really start started to show what was possible with DBT, you know, pretty quickly other teams um started to take notice of the accessibility, the speed, uh the flexibility that it brought to our data workflows.
And so today, you know, DBT started to be used, you know, across some of our biggest teams at Riot, right? very recently the data engineering team uh that supports legal legends and in team fight toxics they they ran an evaluation of dbt and u looking to understand like what would it look like for them to build their data pipelines in dbt instead of our our legacy SDLC's and um those the results from that evaluation were compelling enough compelling enough for them to you know now commit to use dbt for all their new pipeline work and have started you know plans around migrating some of their legacy pipelines as well but you It's also not just our game teams.
We also have teams building models around social data to help them understand uh better understand player interactions. We have teams working with publishing data to power campaign performance tracking. Uh my own team actually uses uh DBT to build models uh to better understand developer operations and just giving us visibility into CI/CD telemetry and platform health. Um and finally we also have teams uh working with finance data to help you know power costs saving efforts.
Um so at this point you know DBT has become you know a really foundational part of our data stack at Riot and you know one of those default tools that teams reach for when they're looking at building new data workflows. So now um I've talked a little bit about the journey of DBT at Riot um this far and um I want to shift gears a little bit and talk about like how we actually you know integrated DBT into our ecosystem and some of the some of some some of the lessons that we learned along the way right um it was one of my team's goals to make sure that DBT didn't just exist in a silo we we wanted it to you know we wanted it to fit seamlessly without you know throughout um into our broader data engineering ecosystem So you know we we build uh we aimed to build an SDLC around it that that focus on automation and quality and scalability and also just as importantly right we wanted it to be inclusive.
Uh we wanted it we designed everything with a you know with a goal of lowering that barrier of entry so that anyone including our analysts could confidently contribute to these production workflows. And so, you know, since last year, we've we've had over, you know, 40 writers contribute to these DBT projects and write over 450 production models. Um, and so in practice, what my team built is, you know, we integrated DBT with Airflow, right?
Something that was familiar to our engineers. It was also really flexible. Um, it also supported our initial DBT core setup. Um, and since then we, you know, we started started working with DB cloud, but we wanted we wanted Airflow to be accessible to anyone and we didn't want to have analysts have to worry about writing, you know, uh, DAG code in Python. So, we built a system around autogenerating these airflow DAS for them.
Um, so that anyone including non-engineers could could safely deploy and schedule their models in in production. Uh we also use Terraform to create and manage DB projects programmatically. So you know we have consistency across all of our projects in in DBT cloud. Uh also our metadata from our DBT models is is automatically synced to Atline which is you know our our catalog of choice at Riot. And so you know it ensures that our our our our models are are discoverable and documented and governed just like the rest of our data assets.
Uh for observability you know we've we've also set up Slack alerting. Uh we built monitoring dashboards so so teams have visibility when when things go wrong. And then finally, we're we're using DBT the DBT cloud ID which which gives both engineers and analysts like a very streamlined you know browser based uh experience and just and um you know just putting this all together for us it was it wasn't about just making EBT usable we wanted it to be you know sustainable at scale at Riot and just digging into the numbers a little bit you know we were able to kind of confirm some of the earliest assumptions that we were making about how DBT would empower our analysts.
So what we've seen is we've seen our analysts uh writing, you know, building production models, they're running tests, they're they're creating macros, uh they're basically fully participating in our SLC. And so in just over a year, we we've seen our analysts contributions grow from 2. 6 in our legacy SLC to over over 21% in DBT, right? which is which is almost a 10x increase. Um but again, this shift isn't just about making analysts more productive.
It's about making teams more self-sufficient and freeing up engineering time. Um shortening the feedback feedback loop between questions and insight and just just helping teams move faster. And of course since this is a data bricks conference uh I want to take a moment to highlight how DBT and SQL warehouses have opened up you know some new opportunities um around moving our legacy sparkbased pipelines or uh moving our uh sorry I just want to take a moment to highlight how DBT and SQL warehouses have opened up some opportunities around operational efficiency right um some of the areas we've been tracking is time and compute overhead that we could eliminate by you know moving off of our Sparkbased pipelines, right?
And of course, like the big enabler in all that is is is a DBT SQL based approach, right? Because it operates uh effect, you know, entirely in SQL, we're able to move our transformation workloads from Spark clusters to uh SQL warehouses in data bricks, you know, something that wasn't really practical in our legacy SLC. Um it's also and so this transition is helping us uh eliminate uh cluster spin-up time and also Python dependency install time uh which which steps each each of these steps are added several steps to you know several minutes to each each of these jobs and so just by removing that overhead I think we estimate about 17% reduction in in setup time per run and you know when you scale that across you know 3,000 plus jobs that we have running each Okay, the you know the time saving is pretty significant.
Um I think we're estimating about 17 17 hours daily uh across all of our workloads if we're you know move if we were to move all our transformation uh pipelines to DBT. And so, you know, as we continue to scale our our adoption of DBT across seams, you know, we're we're expecting these these improvements to drive, you know, reduce operational overhead um and drive, you know, lower costs. And we also didn't just want to assume that DBT was was working well for our for our team.
So, you know, we asked our developers directly. We we we surveyed our engineers and our analysts um who both used both of our you know legacy SLC and DBT and I think the feedback was was pretty clear to us. We we saw a better reported uh developer velocity. Um we heard that writing test was better or much easier for them. The the local development experience was better. The local the modular you know modularity and code reuse you know improved a lot.
Um, and so for us, like these aren't just vanity metrics. They're, you know, they translate directly to, you know, faster time to insights, uh, fewer bugs, and just just happier teams, which, you know, is is all really important to us. So, what's next for DBTR, Riot? You know, we're going to continue scaling adoption and just encouraging teams to migate their legacy smartbased pipelines into into DBT. And um, we're also going to explore more of DBT cloud's features. uh like dbt mesh to help us collaborate across projects without uh duplicating logic.
We're going to look into semantic layer to help us centralize our metrics and making them more more resilient to change uh stateawware orchestration. So potentially we could move all of our orchestration to dbt uh directly maybe making it even easier for our developers to manage their pipelines. uh Tableau exposures to track dashboard dependencies for better visibility and impact analysis. And so really we're just excited to see, you know, how DBT is going to continue to unlock even more player value uh for us at Riot in the years to come hopefully.
And I just want to take a quick moment to thank, you know, all the teams uh at Riot that have helped us throughout this journey and all the support and feedback. Also huge kudos to the rest of my team, especially uh, who, you know, plays a huge role in all this. And again, just thanks for coming to this talk and making the time. Um, I hope you guys took something out of this.
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.