Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the architecture and design of a high-performance Scala game server that serves over a million monthly players in this conference talk from Lambda Days 2025. Learn how functional programming principles were applied to build the server for CookieRun: Kingdom, a popular mobile game, using a purely functional programming approach since 2020. Discover the architectural challenges and solutions involved in introducing real-time, multiplayer mini-games to an existing game infrastructure, requiring a complete redesign of core components. Examine practical applications of immutability, software transactional memory, refined types, and monadic constructs in building reliable, maintainable, and high-performance game servers. Gain insights into how functional programming techniques can be successfully implemented in real-world, large-scale gaming applications that demand both reliability and performance under heavy user loads.