[Webinar] 4 Tips for Cutting Your Kafka Costs Up to 60%| Register Now


Going Multiplayer With Kafka

¬ę Current 2022

Today we‚Äôll walk through building multi-user and multiplayer spaces for games, collaboration, and for creation, leveraging Apache Kafka¬ģ for state management, and stream processing to handle conflicts and atomic edits.

We‚Äôre not building the metaverse! But as technology matures, ideas jump between disciplines, from ReactJS using ideas from game rendering, to the recent innovations in ECS patterns that borrow heavily from column stores in databases - there‚Äôs never been a better time to bring ideas from one sector of software engineering to another. Apache Kafka¬ģ makes event management simple so what can we borrow to make it collaborative?

Starting with a simple chat application and working into cursor sharing, collaborative editing and even a multiplayer game, we’ll walk through how to collect and manage user inputs,, and how backing onto an event log allows for version control, undos and time travel. We’ll also explore the various ways you can build up a canonical source of truth in a distributed system, from snapshots, to lockstep sync, to eventual consistency. Along the way we’ll learn a bit about CRDTs (conflict-free replicated data types), mergeable data structures and some of the ways to manage this complexity effectively.

Related Links

How Confluent Completes Apache Kafka eBook

Leverage a cloud-native service 10x better than Apache Kafka

Confluent Developer Center

Spend less on Kafka with Confluent, come see how