Simple play icon Course
Skills Expanded

Stateful Reactive Concurrent SPAs with SignalR and Akka.NET 1

by Jason Roberts

Create reactive, near real-time, Single Page Applications (SPAs) that easily handle concurrency using the Actor Model and are not reliant on the database for the storage/retrieval of state. Multi-player online games are a great example, so that's what we'll build in this course.

What you'll learn

The traditional stateless design for web apps can become increasingly troublesome with new classes of web apps and increasing end-user expectations. This traditional approach, where the web application is essentially a stateless front-end and all state is written/read to a database, falls short when we have ever-increasing workloads and requirements for highly responsive, near real-time systems. Add in the requirements for concurrency management, scalability and fault-tolerance, and the traditional approach becomes even less attractive. By combining the features of the Actor Model (Akka.NET) with the capabilities of SignalR and a front-end SPA library, we can more easily create next-generation reactive, stateful, and concurrent SPA web apps. In this course, we'll be using the example of multi-player online games, as these are a great example of reactive concurrency in action.

Table of contents

About the author

With over 15 years of experience in both frontend and backend software development, Jason Roberts is a freelance developer, trainer, and author. He holds a Bachelor of Science degree in computing, is the author of several books, and writes at his blog DontCodeTired.com. Jason is an open source contributor and in addition to enterprise software development, he has designed and developed Windows Store and Windows Phone apps.

Ready to upskill? Get started