Skip to content
0:00 / 0:00

#scala#gameserver#softwaretransactionalmemory

Anatomy of a Scala Game Server - Pierre Ricadat | Lambda Days 2025

Code Sync

15K subscribers • 68 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Pierre Ricadat

Intermediate. Assumes working knowledge.

1.1K views10 months ago1 recommendation

Game developmentSoftware designGame programmingSoftware architectureScala

Pierre Ricadat details the architecture and functional programming techniques used to build a real-time multiplayer game server in Scala.

✨ This talk was recorded at Lambda Days in June 2025. If you're curious about our upcoming event, check lambdadays.org ✨ Anatomy of a Scala Game Server Since 2020, I have been working on a game server for the popular mobile game CookieRun: Kingdom, which serves over a million monthly players. This server is fully developed in Scala using a purely functional programming approach. In early 2024, my team faced the challenge of introducing real-time, multiplayer “mini-games” into our existing game. This required a significant architectural shift. We designed and implemented a new component from scratch, leveraging the lessons we’ve learned over the years and the latest features of Scala. In this talk, I will explore the architecture, application design, and techniques we used to build this new game server. From immutability and software transactional memory to refined types and monadic constructs, I will demonstrate how functional programming principles can be applied to build reliable, maintainable, and high-performance applications in the real world. Let's keep in touch! Follow us on: 💥BlueSky: bsky.app/profile/lambdadays.bsky.social 💥LinkedIn: linkedin.com/company/lambda-days 💥Facebook: facebook.com/lambdadays 💥Mastodon: genserver.social/codesync 💥Twitter: twitter.com/LambdaDays

Why it's here

1 person recommends this

What people say. Recommended as a great real-world case study of building high-scale game servers using functional Scala.

u/ghostdogprin r/scala • Recommends

Anatomy of a Scala Game Server - Lambda Days 2025

u/ghostdogprin r/scala • Recommends

Video: Anatomy of a Scala Game Server - Lambda Days 2025