Webinar: Putting the ‘I’ in IoT – building digital twins with Akka microservices

2 minute read

About this 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, Hugh McKee, Developer Advocate for Akka, explores 'What on Earth,' a demo that shows how Akka Microservices serves as an ideal solution for high-scale digital twinning for IoT.

What we cover:

  • 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.

Try the demo project yourself

Check out the demo projects yourself on GitHub, where you can find the WoE Simulator and WoE Twin microservice examples used in this presentation. Note that these projects are still a work in progress, and the README areas will be updated.

Stay Responsive
to Change.