Webinar On-Demand

Putting the 'I' in IoT - Building Digital Twins with Akka Microservices

Hugh McKee, Solutions Architect and Developer Advocate, Lightbend


Watch Recording

About the webinar

For most IoT users, the physical device is only part of the story — a digital twin (a.k.a. virtual companion) for each device is usually needed. Imagine a smart home smoke detector that beeps loudly but fails to notify residents or authorities on a mobile device because of a system error. That’s just IoT without the “I”.

In this webinar with Hugh McKee, Developer Advocate for Akka Platform, we’ll look at “What on Earth”, a demo exploring how Akka Microservices serves as an ideal solution for high-scale digital twinning for IoT. What we’ll cover in this presentation:

  • Demo IoT App: “Where on Earth”, a deceptively simple demo that can launch thousands to millions of simulated IoT devices using Akka Actors, which are used to represent the current state of each device and process telemetry messages. Then we’ll scale it up!
  • Design Concepts: How CQRS and Event Sourcing is employed, using Akka Projections to take data from an event log and project it onto a map as simulated IoT digital twins–a multi-step operation conducted between two microservices–at a rate of thousands devices per second on minimal infrastructure.
  • Code Review: A deeper look at some code and how these two Akka microservices utilize different parts of the Akka toolkit, including Akka Cluster (and cluster singletons), Akka Persistence, Akka gRPC, Akka HTTP, and Akka Projections.