From tracking a shipment to collaborating on designs, real-time data is the magic sauce that makes modern web experiences come alive. But for developers, managing real-time data brings its own host of problems for which traditional web technologies (REST, Ajax, MVC, etc.) don’t offer much help. To make matters worse, dealing with a flurry of real-time messages can give rise to a codebase that is hard to reason about. Thankfully, there is an alternative.
Matthew Larson and Ian James share an approach to real-time data that is easier to understand and scales well using Redux and WebSockets and demonstrate these principles in action with a real-time multiplayer game. Along the way, they explain how this method applies to other products besides games and illustrate how to deploy real-time features in production (including how to scale for millions of users).
Matthew Larson is a software developer and UX designer at FamilySearch, where he works on a team tasked with exploring new and interesting ways to help people discover their family history. Previously, he worked in freelance web development and graphic design and founded and ran a small studio. Matthew started his college career in computer science. Well into his program, he felt something was missing. Four years later, he graduated with a BFA in industrial design. Ironically, most of his time since then has been spent developing software.
©2018, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com